# Auto-generated ARN patterns for matching
# Patterns are ordered: most specific first
# Type names: first is canonical (AWS docs), rest are aliases (Resource Explorer, etc.)
import re

ARN_PATTERNS: dict[str, list[tuple[re.Pattern, list[str]]]] = {
    'a4b': [
        (re.compile(r'^arn:(?P<Partition>.+?):a4b:(?P<Region>.+?):(?P<Account>.+?):address-book/(?P<ResourceId>.+?)$'), ['addressbook']),
        (re.compile(r'^arn:(?P<Partition>.+?):a4b:(?P<Region>.+?):(?P<Account>.+?):conference-provider/(?P<ResourceId>.+?)$'), ['conferenceprovider']),
        (re.compile(r'^arn:(?P<Partition>.+?):a4b:(?P<Region>.+?):(?P<Account>.+?):contact/(?P<ResourceId>.+?)$'), ['contact']),
        (re.compile(r'^arn:(?P<Partition>.+?):a4b:(?P<Region>.+?):(?P<Account>.+?):device/(?P<ResourceId>.+?)$'), ['device']),
        (re.compile(r'^arn:(?P<Partition>.+?):a4b:(?P<Region>.+?):(?P<Account>.+?):gateway/(?P<ResourceId>.+?)$'), ['gateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):a4b:(?P<Region>.+?):(?P<Account>.+?):gateway-group/(?P<ResourceId>.+?)$'), ['gatewaygroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):a4b:(?P<Region>.+?):(?P<Account>.+?):network-profile/(?P<ResourceId>.+?)$'), ['networkprofile']),
        (re.compile(r'^arn:(?P<Partition>.+?):a4b:(?P<Region>.+?):(?P<Account>.+?):profile/(?P<ResourceId>.+?)$'), ['profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):a4b:(?P<Region>.+?):(?P<Account>.+?):room/(?P<ResourceId>.+?)$'), ['room']),
        (re.compile(r'^arn:(?P<Partition>.+?):a4b:(?P<Region>.+?):(?P<Account>.+?):schedule/(?P<ResourceId>.+?)$'), ['schedule']),
        (re.compile(r'^arn:(?P<Partition>.+?):a4b:(?P<Region>.+?):(?P<Account>.+?):skill-group/(?P<ResourceId>.+?)$'), ['skillgroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):a4b:(?P<Region>.+?):(?P<Account>.+?):user/(?P<ResourceId>.+?)$'), ['user']),
    ],
    'access-analyzer': [
        (re.compile(r'^arn:(?P<Partition>.+?):access-analyzer:(?P<Region>.+?):(?P<Account>.+?):analyzer/(?P<AnalyzerName>.+?)/archive-rule/(?P<RuleName>.+?)$'), ['ArchiveRule']),
        (re.compile(r'^arn:(?P<Partition>.+?):access-analyzer:(?P<Region>.+?):(?P<Account>.+?):analyzer/(?P<AnalyzerName>.+?)$'), ['Analyzer']),
    ],
    'account': [
        (re.compile(r'^arn:(?P<Partition>.+?):account::(?P<ManagementAccountId>.+?):account/o-(?P<OrganizationId>.+?)/(?P<MemberAccountId>.+?)$'), ['accountInOrganization']),
        (re.compile(r'^arn:(?P<Partition>.+?):account::(?P<Account>.+?):account$'), ['account']),
    ],
    'acm': [
        (re.compile(r'^arn:(?P<Partition>.+?):acm:(?P<Region>.+?):(?P<Account>.+?):certificate/(?P<CertificateId>.+?)$'), ['certificate']),
    ],
    'acm-pca': [
        (re.compile(r'^arn:(?P<Partition>.+?):acm-pca:(?P<Region>.+?):(?P<Account>.+?):certificate-authority/(?P<CertificateAuthorityId>.+?)$'), ['certificate-authority']),
    ],
    'aidevops': [
        (re.compile(r'^arn:(?P<Partition>.+?):aidevops:(?P<Region>.+?):(?P<Account>.+?):agentspace/(?P<AgentSpaceId>.+?)/associations/(?P<AssociationId>.+?)$'), ['AssociationResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):aidevops:(?P<Region>.+?):(?P<Account>.+?):agentspace/(?P<AgentSpaceId>.+?)$'), ['AgentSpaceResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):aidevops:(?P<Region>.+?):(?P<Account>.+?):service/(?P<ServiceId>.+?)$'), ['ServiceResource']),
    ],
    'aiops': [
        (re.compile(r'^arn:(?P<Partition>.+?):aiops:(?P<Region>.+?):(?P<Account>.+?):investigation-group/(?P<InvestigationGroupId>.+?)$'), ['investigation-group']),
    ],
    'airflow': [
        (re.compile(r'^arn:(?P<Partition>.+?):airflow:(?P<Region>.+?):(?P<Account>.+?):role/(?P<EnvironmentName>.+?)/(?P<RoleName>.+?)$'), ['rbac-role']),
        (re.compile(r'^arn:(?P<Partition>.+?):airflow:(?P<Region>.+?):(?P<Account>.+?):environment/(?P<EnvironmentName>.+?)$'), ['environment']),
    ],
    'airflow-serverless': [
        (re.compile(r'^arn:(?P<Partition>.+?):airflow-serverless:(?P<Region>.+?):(?P<Account>.+?):workflow/(?P<WorkflowId>.+?)$'), ['Workflow']),
    ],
    'amplify': [
        (re.compile(r'^arn:(?P<Partition>.+?):amplify:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/branches/(?P<BranchName>.+?)/jobs/(?P<JobId>.+?)$'), ['jobs']),
        (re.compile(r'^arn:(?P<Partition>.+?):amplify:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/branches/(?P<BranchName>.+?)$'), ['branches']),
        (re.compile(r'^arn:(?P<Partition>.+?):amplify:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/domains/(?P<DomainName>.+?)$'), ['domains']),
        (re.compile(r'^arn:(?P<Partition>.+?):amplify:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)$'), ['apps']),
        (re.compile(r'^arn:(?P<Partition>.+?):amplify:(?P<Region>.+?):(?P<Account>.+?):webhooks/(?P<WebhookId>.+?)$'), ['webhooks']),
    ],
    'amplifyuibuilder': [
        (re.compile(r'^arn:(?P<Partition>.+?):amplifyuibuilder:(?P<Region>.+?):(?P<Account>.+?):app/(?P<AppId>.+?)/environment/(?P<EnvironmentName>.+?)/codegen-jobs/(?P<Id>.+?)$'), ['CodegenJobResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):amplifyuibuilder:(?P<Region>.+?):(?P<Account>.+?):app/(?P<AppId>.+?)/environment/(?P<EnvironmentName>.+?)/components/(?P<Id>.+?)$'), ['ComponentResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):amplifyuibuilder:(?P<Region>.+?):(?P<Account>.+?):app/(?P<AppId>.+?)/environment/(?P<EnvironmentName>.+?)/forms/(?P<Id>.+?)$'), ['FormResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):amplifyuibuilder:(?P<Region>.+?):(?P<Account>.+?):app/(?P<AppId>.+?)/environment/(?P<EnvironmentName>.+?)/themes/(?P<Id>.+?)$'), ['ThemeResource']),
    ],
    'aoss': [
        (re.compile(r'^arn:(?P<Partition>.+?):aoss:(?P<Region>.+?):(?P<Account>.+?):collection/(?P<CollectionId>.+?)$'), ['Collection']),
        (re.compile(r'^arn:(?P<Partition>.+?):aoss:(?P<Region>.+?):(?P<Account>.+?):collection-group/(?P<CollectionGroupId>.+?)$'), ['CollectionGroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):aoss:(?P<Region>.+?):(?P<Account>.+?):dashboards/default$'), ['Dashboards']),
    ],
    'apigateway': [
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/resources/(?P<ResourceId>.+?)/methods/(?P<HttpMethodType>.+?)/integration/responses/(?P<StatusCode>.+?)$'), ['IntegrationResponse']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/resources/(?P<ResourceId>.+?)/methods/(?P<HttpMethodType>.+?)/responses/(?P<StatusCode>.+?)$'), ['MethodResponse']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/resources/(?P<ResourceId>.+?)/methods/(?P<HttpMethodType>.+?)/integration$'), ['Integration']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/integrations/(?P<IntegrationId>.+?)/integrationresponses/(?P<IntegrationResponseId>.+?)$'), ['IntegrationResponse']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/routes/(?P<RouteId>.+?)/requestparameters/(?P<RequestParameterKey>.+?)$'), ['RouteRequestParameter']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/routes/(?P<RouteId>.+?)/routeresponses/(?P<RouteResponseId>.+?)$'), ['RouteResponse']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/stages/(?P<StageName>.+?)/cache/authorizers$'), ['AuthorizersCache']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/stages/(?P<StageName>.+?)/routesettings/(?P<RouteKey>.+?)$'), ['RouteSettings']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/domainnames/(?P<DomainName>.+?)\\+(?P<DomainIdentifier>.+?)/basepathmappings/(?P<BasePath>.+?)$'), ['PrivateBasePathMapping']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/resources/(?P<ResourceId>.+?)/methods/(?P<HttpMethodType>.+?)$'), ['Method']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/stages/(?P<StageName>.+?)/sdks/(?P<SdkType>.+?)$'), ['Sdk']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/integrations/(?P<IntegrationId>.+?)/integrationresponses$'), ['IntegrationResponses']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/models/(?P<ModelId>.+?)/template$'), ['ModelTemplate']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/routes/(?P<RouteId>.+?)/routeresponses$'), ['RouteResponses']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/stages/(?P<StageName>.+?)/accesslogsettings$'), ['AccessLogSettings']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/domainnames/(?P<DomainName>.+?)\\+(?P<DomainIdentifier>.+?)/basepathmappings$'), ['PrivateBasePathMappings']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/documentation/parts/(?P<DocumentationPartId>.+?)$'), ['DocumentationPart']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/documentation/versions/(?P<DocumentationVersionId>.+?)$'), ['DocumentationVersion']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/authorizers/(?P<AuthorizerId>.+?)$'), ['Authorizer']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/deployments/(?P<DeploymentId>.+?)$'), ['Deployment']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/exports/(?P<Specification>.+?)$'), ['ExportedAPI']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/integrations/(?P<IntegrationId>.+?)$'), ['Integration']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/models/(?P<ModelId>.+?)$'), ['Model']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/routes/(?P<RouteId>.+?)$'), ['Route']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/stages/(?P<StageName>.+?)$'), ['Stage']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/domainnames/(?P<DomainName>.+?)/apimappings/(?P<ApiMappingId>.+?)$'), ['ApiMapping']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/domainnames/(?P<DomainName>.+?)/basepathmappings/(?P<BasePath>.+?)$'), ['BasePathMapping']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/models/(?P<ModelName>.+?)/template$'), ['Template']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/authorizers/(?P<AuthorizerId>.+?)$'), ['Authorizer']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/deployments/(?P<DeploymentId>.+?)$'), ['Deployment']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/documentation/parts$'), ['DocumentationParts']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/documentation/versions$'), ['DocumentationVersions']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/gatewayresponses/(?P<ResponseType>.+?)$'), ['GatewayResponse']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/models/(?P<ModelName>.+?)$'), ['Model']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/requestvalidators/(?P<RequestValidatorId>.+?)$'), ['RequestValidator']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/resources/(?P<ResourceId>.+?)$'), ['Resource']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<ApiId>.+?)/stages/(?P<StageName>.+?)$'), ['apigateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/stages/(?P<StageName>.+?)$'), ['Stage']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/usageplans/(?P<UsagePlanId>.+?)/keys/(?P<Id>.+?)$'), ['UsagePlanKey']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/authorizers$'), ['Authorizers']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/cors$'), ['Cors']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/deployments$'), ['Deployments']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/integrations$'), ['Integrations']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/models$'), ['Models']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/routes$'), ['Routes']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)/stages$'), ['Stages']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/domainnames/(?P<DomainName>.+?)/apimappings$'), ['ApiMappings']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/domainnames/(?P<DomainName>.+?)/basepathmappings$'), ['BasePathMappings']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/authorizers$'), ['Authorizers']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/deployments$'), ['Deployments']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/gatewayresponses$'), ['GatewayResponses']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/models$'), ['Models']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/requestvalidators$'), ['RequestValidators']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/resources$'), ['Resources']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)/stages$'), ['Stages']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/usageplans/(?P<UsagePlanId>.+?)/keys$'), ['UsagePlanKeys']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apikeys/(?P<ApiKeyId>.+?)$'), ['ApiKey']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis/(?P<ApiId>.+?)$'), ['Api']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/clientcertificates/(?P<ClientCertificateId>.+?)$'), ['ClientCertificate']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/domainnames/(?P<DomainName>.+?)$'), ['DomainName']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis/(?P<RestApiId>.+?)$'), ['RestApi']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/tags/(?P<UrlEncodedResourceARN>.+?)$'), ['Tags']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/usageplans/(?P<UsagePlanId>.+?)$'), ['UsagePlan']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/vpclinks/(?P<VpcLinkId>.+?)$'), ['VpcLink']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/account$'), ['Account']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apikeys$'), ['ApiKeys']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/apis$'), ['Apis']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/clientcertificates$'), ['ClientCertificates']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/domainnames$'), ['DomainNames']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/restapis$'), ['RestApis']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/usageplans$'), ['UsagePlans']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?)::/vpclinks$'), ['VpcLinks']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?):(?P<Account>.+?):/domainnameaccessassociations/domainname/(?P<DomainName>.+?)/(?P<SourceType>.+?)/(?P<SourceId>.+?)$'), ['DomainNameAccessAssociation']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?):(?P<Account>.+?):/domainnames/(?P<DomainName>.+?)\\+(?P<DomainIdentifier>.+?)$'), ['PrivateDomainName']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?):(?P<Account>.+?):/domainnames/(?P<DomainName>.+?)/routingrules/(?P<RoutingRuleId>.+?)$'), ['RoutingRule']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?):(?P<Account>.+?):/portalproducts/(?P<PortalProductId>.+?)/productpages/(?P<ProductPageId>.+?)$'), ['ProductPage']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?):(?P<Account>.+?):/portalproducts/(?P<PortalProductId>.+?)/productrestendpointpages/(?P<ProductRestEndpointPageId>.+?)$'), ['ProductRestEndpointPage']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?):(?P<Account>.+?):/portalproducts/(?P<PortalProductId>.+?)$'), ['PortalProduct']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?):(?P<Account>.+?):/portals/(?P<PortalId>.+?)$'), ['Portal']),
        (re.compile(r'^arn:(?P<Partition>.+?):apigateway:(?P<Region>.+?):(?P<Account>.+?):/domainnameaccessassociations$'), ['DomainNameAccessAssociations']),
    ],
    'app-integrations': [
        (re.compile(r'^arn:(?P<Partition>.+?):app-integrations:(?P<Region>.+?):(?P<Account>.+?):application-association/(?P<ApplicationId>.+?)/(?P<ApplicationAssociationId>.+?)$'), ['application-association']),
        (re.compile(r'^arn:(?P<Partition>.+?):app-integrations:(?P<Region>.+?):(?P<Account>.+?):data-integration-association/(?P<DataIntegrationId>.+?)/(?P<ResourceId>.+?)$'), ['data-integration-association']),
        (re.compile(r'^arn:(?P<Partition>.+?):app-integrations:(?P<Region>.+?):(?P<Account>.+?):event-integration-association/(?P<EventIntegrationName>.+?)/(?P<ResourceId>.+?)$'), ['event-integration-association']),
        (re.compile(r'^arn:(?P<Partition>.+?):app-integrations:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)$'), ['application']),
        (re.compile(r'^arn:(?P<Partition>.+?):app-integrations:(?P<Region>.+?):(?P<Account>.+?):data-integration/(?P<DataIntegrationId>.+?)$'), ['data-integration']),
        (re.compile(r'^arn:(?P<Partition>.+?):app-integrations:(?P<Region>.+?):(?P<Account>.+?):event-integration/(?P<EventIntegrationName>.+?)$'), ['event-integration']),
    ],
    'appconfig': [
        (re.compile(r'^arn:(?P<Partition>.+?):appconfig:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)/configurationprofile/(?P<ConfigurationProfileId>.+?)/hostedconfigurationversion/(?P<VersionNumber>.+?)$'), ['hostedconfigurationversion']),
        (re.compile(r'^arn:(?P<Partition>.+?):appconfig:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)/environment/(?P<EnvironmentId>.+?)/configuration/(?P<ConfigurationProfileId>.+?)$'), ['configuration']),
        (re.compile(r'^arn:(?P<Partition>.+?):appconfig:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)/environment/(?P<EnvironmentId>.+?)/deployment/(?P<DeploymentNumber>.+?)$'), ['deployment']),
        (re.compile(r'^arn:(?P<Partition>.+?):appconfig:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)/configurationprofile/(?P<ConfigurationProfileId>.+?)$'), ['configurationprofile']),
        (re.compile(r'^arn:(?P<Partition>.+?):appconfig:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)/environment/(?P<EnvironmentId>.+?)$'), ['environment']),
        (re.compile(r'^arn:(?P<Partition>.+?):appconfig:(?P<Region>.+?):(?P<Account>.+?):extension/(?P<ExtensionId>.+?)/(?P<ExtensionVersionNumber>.+?)$'), ['extension']),
        (re.compile(r'^arn:(?P<Partition>.+?):appconfig:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)$'), ['application']),
        (re.compile(r'^arn:(?P<Partition>.+?):appconfig:(?P<Region>.+?):(?P<Account>.+?):deploymentstrategy/(?P<DeploymentStrategyId>.+?)$'), ['deploymentstrategy']),
        (re.compile(r'^arn:(?P<Partition>.+?):appconfig:(?P<Region>.+?):(?P<Account>.+?):extensionassociation/(?P<ExtensionAssociationId>.+?)$'), ['extensionassociation']),
    ],
    'appfabric': [
        (re.compile(r'^arn:(?P<Partition>.+?):appfabric:(?P<Region>.+?):(?P<Account>.+?):appbundle/(?P<AppbundleId>.+?)/ingestion/(?P<IngestionIdentifier>.+?)/ingestiondestination/(?P<IngestionDestinationIdentifier>.+?)$'), ['ingestiondestination']),
        (re.compile(r'^arn:(?P<Partition>.+?):appfabric:(?P<Region>.+?):(?P<Account>.+?):appbundle/(?P<AppbundleId>.+?)/appauthorization/(?P<AppAuthorizationIdentifier>.+?)$'), ['appauthorization']),
        (re.compile(r'^arn:(?P<Partition>.+?):appfabric:(?P<Region>.+?):(?P<Account>.+?):appbundle/(?P<AppbundleId>.+?)/ingestion/(?P<IngestionIdentifier>.+?)$'), ['ingestion']),
        (re.compile(r'^arn:(?P<Partition>.+?):appfabric:(?P<Region>.+?):(?P<Account>.+?):appbundle/(?P<AppBundleIdentifier>.+?)$'), ['appbundle']),
    ],
    'appflow': [
        (re.compile(r'^arn:(?P<Partition>.+?):appflow:(?P<Region>.+?):(?P<Account>.+?):connector/(?P<ConnectorLabel>.+?)$'), ['connector']),
        (re.compile(r'^arn:(?P<Partition>.+?):appflow:(?P<Region>.+?):(?P<Account>.+?):connectorprofile/(?P<ProfileName>.+?)$'), ['connectorprofile']),
        (re.compile(r'^arn:(?P<Partition>.+?):appflow:(?P<Region>.+?):(?P<Account>.+?):flow/(?P<FlowName>.+?)$'), ['flow']),
    ],
    'application-autoscaling': [
        (re.compile(r'^arn:(?P<Partition>.+?):application-autoscaling:(?P<Region>.+?):(?P<Account>.+?):scalable-target/(?P<ResourceId>.+?)$'), ['ScalableTarget']),
    ],
    'application-signals': [
        (re.compile(r'^arn:(?P<Partition>.+?):application-signals:(?P<Region>.+?):(?P<Account>.+?):slo/(?P<SloName>.+?)$'), ['slo']),
    ],
    'appmesh': [
        (re.compile(r'^arn:(?P<Partition>.+?):appmesh:(?P<Region>.+?):(?P<Account>.+?):mesh/(?P<MeshName>.+?)/virtualGateway/(?P<VirtualGatewayName>.+?)/gatewayRoute/(?P<GatewayRouteName>.+?)$'), ['gatewayRoute']),
        (re.compile(r'^arn:(?P<Partition>.+?):appmesh:(?P<Region>.+?):(?P<Account>.+?):mesh/(?P<MeshName>.+?)/virtualRouter/(?P<VirtualRouterName>.+?)/route/(?P<RouteName>.+?)$'), ['route']),
        (re.compile(r'^arn:(?P<Partition>.+?):appmesh:(?P<Region>.+?):(?P<Account>.+?):mesh/(?P<MeshName>.+?)/virtualGateway/(?P<VirtualGatewayName>.+?)$'), ['virtualGateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):appmesh:(?P<Region>.+?):(?P<Account>.+?):mesh/(?P<MeshName>.+?)/virtualNode/(?P<VirtualNodeName>.+?)$'), ['virtualNode']),
        (re.compile(r'^arn:(?P<Partition>.+?):appmesh:(?P<Region>.+?):(?P<Account>.+?):mesh/(?P<MeshName>.+?)/virtualRouter/(?P<VirtualRouterName>.+?)$'), ['virtualRouter']),
        (re.compile(r'^arn:(?P<Partition>.+?):appmesh:(?P<Region>.+?):(?P<Account>.+?):mesh/(?P<MeshName>.+?)/virtualService/(?P<VirtualServiceName>.+?)$'), ['virtualService']),
        (re.compile(r'^arn:(?P<Partition>.+?):appmesh:(?P<Region>.+?):(?P<Account>.+?):mesh/(?P<MeshName>.+?)$'), ['mesh']),
    ],
    'appmesh-preview': [
        (re.compile(r'^arn:(?P<Partition>.+?):appmesh-preview:(?P<Region>.+?):(?P<Account>.+?):mesh/(?P<MeshName>.+?)/virtualGateway/(?P<VirtualGatewayName>.+?)/gatewayRoute/(?P<GatewayRouteName>.+?)$'), ['gatewayRoute']),
        (re.compile(r'^arn:(?P<Partition>.+?):appmesh-preview:(?P<Region>.+?):(?P<Account>.+?):mesh/(?P<MeshName>.+?)/virtualRouter/(?P<VirtualRouterName>.+?)/route/(?P<RouteName>.+?)$'), ['route']),
        (re.compile(r'^arn:(?P<Partition>.+?):appmesh-preview:(?P<Region>.+?):(?P<Account>.+?):mesh/(?P<MeshName>.+?)/virtualGateway/(?P<VirtualGatewayName>.+?)$'), ['virtualGateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):appmesh-preview:(?P<Region>.+?):(?P<Account>.+?):mesh/(?P<MeshName>.+?)/virtualNode/(?P<VirtualNodeName>.+?)$'), ['virtualNode']),
        (re.compile(r'^arn:(?P<Partition>.+?):appmesh-preview:(?P<Region>.+?):(?P<Account>.+?):mesh/(?P<MeshName>.+?)/virtualRouter/(?P<VirtualRouterName>.+?)$'), ['virtualRouter']),
        (re.compile(r'^arn:(?P<Partition>.+?):appmesh-preview:(?P<Region>.+?):(?P<Account>.+?):mesh/(?P<MeshName>.+?)/virtualService/(?P<VirtualServiceName>.+?)$'), ['virtualService']),
        (re.compile(r'^arn:(?P<Partition>.+?):appmesh-preview:(?P<Region>.+?):(?P<Account>.+?):mesh/(?P<MeshName>.+?)$'), ['mesh']),
    ],
    'apprunner': [
        (re.compile(r'^arn:(?P<Partition>.+?):apprunner:(?P<Region>.+?):(?P<Account>.+?):autoscalingconfiguration/(?P<AutoscalingConfigurationName>.+?)/(?P<AutoscalingConfigurationVersion>.+?)/(?P<AutoscalingConfigurationId>.+?)$'), ['autoscalingconfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):apprunner:(?P<Region>.+?):(?P<Account>.+?):observabilityconfiguration/(?P<ObservabilityConfigurationName>.+?)/(?P<ObservabilityConfigurationVersion>.+?)/(?P<ObservabilityConfigurationId>.+?)$'), ['observabilityconfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):apprunner:(?P<Region>.+?):(?P<Account>.+?):vpcconnector/(?P<VpcConnectorName>.+?)/(?P<VpcConnectorVersion>.+?)/(?P<VpcConnectorId>.+?)$'), ['vpcconnector']),
        (re.compile(r'^arn:(?P<Partition>.+?):apprunner:(?P<Region>.+?):(?P<Account>.+?):connection/(?P<ConnectionName>.+?)/(?P<ConnectionId>.+?)$'), ['connection']),
        (re.compile(r'^arn:(?P<Partition>.+?):apprunner:(?P<Region>.+?):(?P<Account>.+?):service/(?P<ServiceName>.+?)/(?P<ServiceId>.+?)$'), ['service']),
        (re.compile(r'^arn:(?P<Partition>.+?):apprunner:(?P<Region>.+?):(?P<Account>.+?):vpcingressconnection/(?P<VpcIngressConnectionName>.+?)/(?P<VpcIngressConnectionId>.+?)$'), ['vpcingressconnection']),
    ],
    'appstream': [
        (re.compile(r'^arn:(?P<Partition>.+?):appstream:(?P<Region>.+?):(?P<Account>.+?):app-block/(?P<AppBlockName>.+?)$'), ['app-block']),
        (re.compile(r'^arn:(?P<Partition>.+?):appstream:(?P<Region>.+?):(?P<Account>.+?):app-block-builder/(?P<AppBlockBuilderName>.+?)$'), ['app-block-builder']),
        (re.compile(r'^arn:(?P<Partition>.+?):appstream:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationName>.+?)$'), ['application']),
        (re.compile(r'^arn:(?P<Partition>.+?):appstream:(?P<Region>.+?):(?P<Account>.+?):fleet/(?P<FleetName>.+?)$'), ['fleet']),
        (re.compile(r'^arn:(?P<Partition>.+?):appstream:(?P<Region>.+?):(?P<Account>.+?):image/(?P<ImageName>.+?)$'), ['image']),
        (re.compile(r'^arn:(?P<Partition>.+?):appstream:(?P<Region>.+?):(?P<Account>.+?):image-builder/(?P<ImageBuilderName>.+?)$'), ['image-builder']),
        (re.compile(r'^arn:(?P<Partition>.+?):appstream:(?P<Region>.+?):(?P<Account>.+?):stack/(?P<StackName>.+?)$'), ['stack']),
    ],
    'appstudio': [
        (re.compile(r'^arn:(?P<Partition>.+?):appstudio:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)$'), ['application']),
        (re.compile(r'^arn:(?P<Partition>.+?):appstudio:(?P<Region>.+?):(?P<Account>.+?):connector/(?P<ConnectionId>.+?)$'), ['connector']),
        (re.compile(r'^arn:(?P<Partition>.+?):appstudio:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)$'), ['instance']),
    ],
    'appsync': [
        (re.compile(r'^arn:(?P<Partition>.+?):appsync:(?P<Region>.+?):(?P<Account>.+?):apis/(?P<GraphQLAPIId>.+?)/types/(?P<TypeName>.+?)/fields/(?P<FieldName>.+?)$'), ['field']),
        (re.compile(r'^arn:(?P<Partition>.+?):appsync:(?P<Region>.+?):(?P<Account>.+?):apis/(?P<ApiId>.+?)/channelNamespace/(?P<ChannelNamespaceName>.+?)$'), ['channelNamespace']),
        (re.compile(r'^arn:(?P<Partition>.+?):appsync:(?P<Region>.+?):(?P<Account>.+?):apis/(?P<GraphQLAPIId>.+?)/datasources/(?P<DatasourceName>.+?)$'), ['datasource']),
        (re.compile(r'^arn:(?P<Partition>.+?):appsync:(?P<Region>.+?):(?P<Account>.+?):apis/(?P<GraphQLAPIId>.+?)/functions/(?P<FunctionId>.+?)$'), ['function']),
        (re.compile(r'^arn:(?P<Partition>.+?):appsync:(?P<Region>.+?):(?P<Account>.+?):apis/(?P<SourceGraphQLAPIId>.+?)/mergedApiAssociations/(?P<Associationid>.+?)$'), ['mergedApiAssociation']),
        (re.compile(r'^arn:(?P<Partition>.+?):appsync:(?P<Region>.+?):(?P<Account>.+?):apis/(?P<MergedGraphQLAPIId>.+?)/sourceApiAssociations/(?P<Associationid>.+?)$'), ['sourceApiAssociation']),
        (re.compile(r'^arn:(?P<Partition>.+?):appsync:(?P<Region>.+?):(?P<Account>.+?):apis/(?P<GraphQLAPIId>.+?)/types/(?P<TypeName>.+?)$'), ['type']),
        (re.compile(r'^arn:(?P<Partition>.+?):appsync:(?P<Region>.+?):(?P<Account>.+?):apis/(?P<ApiId>.+?)$'), ['api']),
        (re.compile(r'^arn:(?P<Partition>.+?):appsync:(?P<Region>.+?):(?P<Account>.+?):apis/(?P<GraphQLAPIId>.+?)$'), ['graphqlapi']),
        (re.compile(r'^arn:(?P<Partition>.+?):appsync:(?P<Region>.+?):(?P<Account>.+?):domainnames/(?P<DomainName>.+?)$'), ['domain']),
    ],
    'apptest': [
        (re.compile(r'^arn:(?P<Partition>.+?):apptest:(?P<Region>.+?):(?P<Account>.+?):testcase/(?P<TestCaseId>.+?)$'), ['TestCase']),
        (re.compile(r'^arn:(?P<Partition>.+?):apptest:(?P<Region>.+?):(?P<Account>.+?):testconfiguration/(?P<TestConfigurationId>.+?)$'), ['TestConfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):apptest:(?P<Region>.+?):(?P<Account>.+?):testrun/(?P<TestRunId>.+?)$'), ['TestRun']),
        (re.compile(r'^arn:(?P<Partition>.+?):apptest:(?P<Region>.+?):(?P<Account>.+?):testsuite/(?P<TestSuiteId>.+?)$'), ['TestSuite']),
    ],
    'aps': [
        (re.compile(r'^arn:(?P<Partition>.+?):aps:(?P<Region>.+?):(?P<Account>.+?):anomalydetector/(?P<WorkspaceId>.+?)/(?P<AnomalyDetectorId>.+?)$'), ['anomalydetector']),
        (re.compile(r'^arn:(?P<Partition>.+?):aps:(?P<Region>.+?):(?P<Account>.+?):rulegroupsnamespace/(?P<WorkspaceId>.+?)/(?P<Namespace>.+?)$'), ['rulegroupsnamespace']),
        (re.compile(r'^arn:(?P<Partition>.+?):aps:(?P<Region>.+?):(?P<Account>.+?):scraper/(?P<ScraperId>.+?)$'), ['scraper']),
        (re.compile(r'^arn:(?P<Partition>.+?):aps:(?P<Region>.+?):(?P<Account>.+?):workspace/(?P<WorkspaceId>.+?)$'), ['workspace']),
    ],
    'arc-region-switch': [
        (re.compile(r'^arn:(?P<Partition>.+?):arc-region-switch::(?P<Account>.+?):plan/(?P<ResourceId>.+?)$'), ['plan']),
    ],
    'artifact': [
        (re.compile(r'^arn:(?P<Partition>.+?):artifact:(?P<Region>.+?)::report/(?P<ReportId>.+?):(?P<Version>.+?)$'), ['report']),
        (re.compile(r'^arn:(?P<Partition>.+?):artifact:::agreement/(?P<AgreementId>.+?)$'), ['agreement']),
        (re.compile(r'^arn:(?P<Partition>.+?):artifact::(?P<Account>.+?):customer-agreement/(?P<CustomerAgreementId>.+?)$'), ['customer-agreement']),
    ],
    'athena': [
        (re.compile(r'^arn:(?P<Partition>.+?):athena:(?P<Region>.+?):(?P<Account>.+?):workgroup/(?P<WorkGroupName>.+?)/session/(?P<SessionId>.+?)$'), ['session']),
        (re.compile(r'^arn:(?P<Partition>.+?):athena:(?P<Region>.+?):(?P<Account>.+?):capacity-reservation/(?P<CapacityReservationName>.+?)$'), ['capacity-reservation']),
        (re.compile(r'^arn:(?P<Partition>.+?):athena:(?P<Region>.+?):(?P<Account>.+?):datacatalog/(?P<DataCatalogName>.+?)$'), ['datacatalog']),
        (re.compile(r'^arn:(?P<Partition>.+?):athena:(?P<Region>.+?):(?P<Account>.+?):workgroup/(?P<WorkGroupName>.+?)$'), ['workgroup']),
    ],
    'auditmanager': [
        (re.compile(r'^arn:(?P<Partition>.+?):auditmanager:(?P<Region>.+?):(?P<Account>.+?):assessment/(?P<AssessmentId>.+?)/controlSet/(?P<ControlSetId>.+?)$'), ['assessmentControlSet']),
        (re.compile(r'^arn:(?P<Partition>.+?):auditmanager:(?P<Region>.+?):(?P<Account>.+?):assessment/(?P<AssessmentId>.+?)$'), ['assessment']),
        (re.compile(r'^arn:(?P<Partition>.+?):auditmanager:(?P<Region>.+?):(?P<Account>.+?):assessmentFramework/(?P<AssessmentFrameworkId>.+?)$'), ['assessmentFramework']),
        (re.compile(r'^arn:(?P<Partition>.+?):auditmanager:(?P<Region>.+?):(?P<Account>.+?):control/(?P<ControlId>.+?)$'), ['control']),
    ],
    'autoscaling': [
        (re.compile(r'^arn:(?P<Partition>.+?):autoscaling:(?P<Region>.+?):(?P<Account>.+?):autoScalingGroup:(?P<GroupId>.+?):autoScalingGroupName/(?P<GroupFriendlyName>.+?)$'), ['autoScalingGroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):autoscaling:(?P<Region>.+?):(?P<Account>.+?):launchConfiguration:(?P<Id>.+?):launchConfigurationName/(?P<LaunchConfigurationName>.+?)$'), ['launchConfiguration']),
    ],
    'aws-marketplace': [
        (re.compile(r'^arn:(?P<Partition>.+?):aws-marketplace:(?P<Region>.+?):(?P<Account>.+?):DeploymentParameter:catalogs/(?P<CatalogName>.+?)/products/(?P<ProductId>.+?)/(?P<ResourceId>.+?)$'), ['DeploymentParameter']),
        (re.compile(r'^arn:(?P<Partition>.+?):aws-marketplace:(?P<Region>.+?):(?P<Account>.+?):(?P<Catalog>.+?)/ChangeSet/(?P<ResourceId>.+?)$'), ['ChangeSet']),
        (re.compile(r'^arn:(?P<Partition>.+?):aws-marketplace:(?P<Region>.+?):(?P<Account>.+?):(?P<Catalog>.+?)/(?P<EntityType>.+?)/(?P<ResourceId>.+?)$'), ['Entity']),
    ],
    'b2bi': [
        (re.compile(r'^arn:(?P<Partition>.+?):b2bi:(?P<Region>.+?):(?P<Account>.+?):capability/(?P<ResourceId>.+?)$'), ['capability']),
        (re.compile(r'^arn:(?P<Partition>.+?):b2bi:(?P<Region>.+?):(?P<Account>.+?):partnership/(?P<ResourceId>.+?)$'), ['partnership']),
        (re.compile(r'^arn:(?P<Partition>.+?):b2bi:(?P<Region>.+?):(?P<Account>.+?):profile/(?P<ResourceId>.+?)$'), ['profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):b2bi:(?P<Region>.+?):(?P<Account>.+?):transformer/(?P<ResourceId>.+?)$'), ['transformer']),
    ],
    'backup': [
        (re.compile(r'^arn:(?P<Partition>.+?):backup:(?P<Region>.+?):(?P<Account>.+?):framework:(?P<FrameworkName>.+?)-(?P<FrameworkId>.+?)$'), ['framework']),
        (re.compile(r'^arn:(?P<Partition>.+?):backup:(?P<Region>.+?):(?P<Account>.+?):report-plan:(?P<ReportPlanName>.+?)-(?P<ReportPlanId>.+?)$'), ['reportPlan']),
        (re.compile(r'^arn:(?P<Partition>.+?):backup:(?P<Region>.+?):(?P<Account>.+?):restore-testing-plan:(?P<RestoreTestingPlanName>.+?)-(?P<RestoreTestingPlanId>.+?)$'), ['restoreTestingPlan']),
        (re.compile(r'^arn:(?P<Partition>.+?):backup:(?P<Region>.+?):(?P<Account>.+?):tiering-configuration:(?P<TieringConfigurationName>.+?)-(?P<TieringConfigurationId>.+?)$'), ['tieringConfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):backup:(?P<Region>.+?):(?P<Account>.+?):backup-plan:(?P<BackupPlanId>.+?)$'), ['backupPlan', 'backup-plan']),
        (re.compile(r'^arn:(?P<Partition>.+?):backup:(?P<Region>.+?):(?P<Account>.+?):backup-vault:(?P<BackupVaultName>.+?)$'), ['backupVault', 'backup-vault']),
        (re.compile(r'^arn:(?P<Partition>.+?):backup:(?P<Region>.+?):(?P<Account>.+?):legal-hold:(?P<LegalHoldId>.+?)$'), ['legalHold']),
    ],
    'backup-gateway': [
        (re.compile(r'^arn:(?P<Partition>.+?):backup-gateway:(?P<Region>.+?):(?P<Account>.+?):gateway/(?P<GatewayId>.+?)$'), ['gateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):backup-gateway:(?P<Region>.+?):(?P<Account>.+?):hypervisor/(?P<HypervisorId>.+?)$'), ['hypervisor']),
        (re.compile(r'^arn:(?P<Partition>.+?):backup-gateway:(?P<Region>.+?):(?P<Account>.+?):vm/(?P<VirtualmachineId>.+?)$'), ['virtualmachine']),
    ],
    'backup-search': [
        (re.compile(r'^arn:(?P<Partition>.+?):backup-search:(?P<Region>.+?):(?P<Account>.+?):search-export-job/(?P<ResourceId>.+?)$'), ['searchExportJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):backup-search:(?P<Region>.+?):(?P<Account>.+?):search-job/(?P<ResourceId>.+?)$'), ['searchJob']),
    ],
    'batch': [
        (re.compile(r'^arn:(?P<Partition>.+?):batch:(?P<Region>.+?):(?P<Account>.+?):job-definition/(?P<JobDefinitionName>.+?):(?P<Revision>.+?)$'), ['job-definition-revision']),
        (re.compile(r'^arn:(?P<Partition>.+?):batch:(?P<Region>.+?):(?P<Account>.+?):compute-environment/(?P<ComputeEnvironmentName>.+?)$'), ['compute-environment']),
        (re.compile(r'^arn:(?P<Partition>.+?):batch:(?P<Region>.+?):(?P<Account>.+?):consumable-resource/(?P<ConsumableResourceName>.+?)$'), ['consumable-resource']),
        (re.compile(r'^arn:(?P<Partition>.+?):batch:(?P<Region>.+?):(?P<Account>.+?):job/(?P<JobId>.+?)$'), ['job']),
        (re.compile(r'^arn:(?P<Partition>.+?):batch:(?P<Region>.+?):(?P<Account>.+?):job-definition/(?P<JobDefinitionName>.+?)$'), ['job-definition']),
        (re.compile(r'^arn:(?P<Partition>.+?):batch:(?P<Region>.+?):(?P<Account>.+?):job-queue/(?P<JobQueueName>.+?)$'), ['job-queue']),
        (re.compile(r'^arn:(?P<Partition>.+?):batch:(?P<Region>.+?):(?P<Account>.+?):scheduling-policy/(?P<SchedulingPolicyName>.+?)$'), ['scheduling-policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):batch:(?P<Region>.+?):(?P<Account>.+?):service-environment/(?P<ServiceEnvironmentName>.+?)$'), ['service-environment']),
        (re.compile(r'^arn:(?P<Partition>.+?):batch:(?P<Region>.+?):(?P<Account>.+?):service-job/(?P<JobId>.+?)$'), ['service-job']),
    ],
    'bcm-data-exports': [
        (re.compile(r'^arn:(?P<Partition>.+?):bcm-data-exports:(?P<Region>.+?):(?P<Account>.+?):export/(?P<Identifier>.+?)$'), ['export']),
        (re.compile(r'^arn:(?P<Partition>.+?):bcm-data-exports:(?P<Region>.+?):(?P<Account>.+?):table/(?P<Identifier>.+?)$'), ['table']),
    ],
    'bcm-pricing-calculator': [
        (re.compile(r'^arn:(?P<Partition>.+?):bcm-pricing-calculator:(?P<Region>.+?):(?P<Account>.+?):bill-estimate/(?P<BillEstimateId>.+?)$'), ['bill-estimate']),
        (re.compile(r'^arn:(?P<Partition>.+?):bcm-pricing-calculator:(?P<Region>.+?):(?P<Account>.+?):bill-scenario/(?P<BillScenarioId>.+?)$'), ['bill-scenario']),
        (re.compile(r'^arn:(?P<Partition>.+?):bcm-pricing-calculator:(?P<Region>.+?):(?P<Account>.+?):workload-estimate/(?P<WorkloadEstimateId>.+?)$'), ['workload-estimate']),
    ],
    'bedrock': [
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock::(?P<Account>.+?):system-tool/(?P<ResourceId>.+?)$'), ['system-tool']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?)::foundation-model/(?P<ResourceId>.+?)$'), ['foundation-model']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):flow/(?P<FlowId>.+?)/alias/(?P<FlowAliasId>.+?)/execution/(?P<FlowExecutionId>.+?)$'), ['flow-execution']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):flow/(?P<FlowId>.+?)/alias/(?P<FlowAliasId>.+?)$'), ['flow-alias']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):agent-alias/(?P<AgentId>.+?)/(?P<AgentAliasId>.+?)$'), ['agent-alias']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):automated-reasoning-policy/(?P<AutomatedReasoningPolicyId>.+?):(?P<AutomatedReasoningPolicyVersion>.+?)$'), ['automated-reasoning-policy-version']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):marketplace/model-endpoint/all-access$'), ['bedrock-marketplace-model-endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):prompt/(?P<PromptId>.+?):(?P<PromptVersion>.+?)$'), ['prompt-version']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):agent/(?P<AgentId>.+?)$'), ['agent']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):application-inference-profile/(?P<ResourceId>.+?)$'), ['application-inference-profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):async-invoke/(?P<ResourceId>.+?)$'), ['async-invoke']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):automated-reasoning-policy/(?P<AutomatedReasoningPolicyId>.+?)$'), ['automated-reasoning-policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):blueprint/(?P<BlueprintId>.+?)$'), ['blueprint']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):custom-model/(?P<ResourceId>.+?)$'), ['custom-model']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):custom-model-deployment/(?P<ResourceId>.+?)$'), ['custom-model-deployment']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):data-automation-invocation/(?P<JobId>.+?)$'), ['data-automation-invocation-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):data-automation-profile/(?P<ProfileId>.+?)$'), ['data-automation-profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):data-automation-project/(?P<ProjectId>.+?)$'), ['data-automation-project']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):default-prompt-router/(?P<ResourceId>.+?)$'), ['default-prompt-router']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):evaluation-job/(?P<ResourceId>.+?)$'), ['evaluation-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):flow/(?P<FlowId>.+?)$'), ['flow']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):guardrail/(?P<GuardrailId>.+?)$'), ['guardrail']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):guardrail-profile/(?P<ResourceId>.+?)$'), ['guardrail-profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):imported-model/(?P<ResourceId>.+?)$'), ['imported-model']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):inference-profile/(?P<ResourceId>.+?)$'), ['inference-profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):knowledge-base/(?P<KnowledgeBaseId>.+?)$'), ['knowledge-base']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):model-copy-job/(?P<ResourceId>.+?)$'), ['model-copy-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):model-customization-job/(?P<ResourceId>.+?)$'), ['model-customization-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):model-evaluation-job/(?P<ResourceId>.+?)$'), ['model-evaluation-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):model-import-job/(?P<ResourceId>.+?)$'), ['model-import-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):model-invocation-job/(?P<JobIdentifier>.+?)$'), ['model-invocation-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):prompt/(?P<PromptId>.+?)$'), ['prompt']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):prompt-router/(?P<ResourceId>.+?)$'), ['prompt-router']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):provisioned-model/(?P<ResourceId>.+?)$'), ['provisioned-model']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock:(?P<Region>.+?):(?P<Account>.+?):session/(?P<SessionId>.+?)$'), ['session']),
    ],
    'bedrock-agentcore': [
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):aws:browser/(?P<BrowserId>.+?)$'), ['browser']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):aws:code-interpreter/(?P<CodeInterpreterId>.+?)$'), ['code-interpreter']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):(?P<Account>.+?):policy-engine/(?P<PolicyEngineId>.+?)/policy/(?P<PolicyId>.+?)$'), ['policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):(?P<Account>.+?):policy-engine/(?P<PolicyEngineId>.+?)/policy-generation/(?P<PolicyGenerationId>.+?)$'), ['policy-generation']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):(?P<Account>.+?):runtime/(?P<RuntimeId>.+?)/runtime-endpoint/(?P<Name>.+?)$'), ['runtime-endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):(?P<Account>.+?):token-vault/(?P<TokenVaultId>.+?)/apikeycredentialprovider/(?P<Name>.+?)$'), ['apikeycredentialprovider']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):(?P<Account>.+?):token-vault/(?P<TokenVaultId>.+?)/oauth2credentialprovider/(?P<Name>.+?)$'), ['oauth2credentialprovider']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):(?P<Account>.+?):workload-identity-directory/(?P<DirectoryId>.+?)/workload-identity/(?P<WorkloadIdentityName>.+?)$'), ['workload-identity']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):(?P<Account>.+?):browser-custom/(?P<BrowserId>.+?)$'), ['browser-custom']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):(?P<Account>.+?):code-interpreter-custom/(?P<CodeInterpreterId>.+?)$'), ['code-interpreter-custom']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):(?P<Account>.+?):evaluator/(?P<EvaluatorId>.+?)$'), ['evaluator']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):(?P<Account>.+?):gateway/(?P<GatewayId>.+?)$'), ['gateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):(?P<Account>.+?):memory/(?P<MemoryId>.+?)$'), ['memory']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):(?P<Account>.+?):online-evaluation-config/(?P<OnlineEvaluationConfigId>.+?)$'), ['online-evaluation-config']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):(?P<Account>.+?):policy-engine/(?P<PolicyEngineId>.+?)$'), ['policy-engine']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):(?P<Account>.+?):runtime/(?P<RuntimeId>.+?)$'), ['runtime']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):(?P<Account>.+?):token-vault/(?P<TokenVaultId>.+?)$'), ['token-vault']),
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-agentcore:(?P<Region>.+?):(?P<Account>.+?):workload-identity-directory/(?P<DirectoryId>.+?)$'), ['workload-identity-directory']),
    ],
    'bedrock-mantle': [
        (re.compile(r'^arn:(?P<Partition>.+?):bedrock-mantle:(?P<Region>.+?):(?P<Account>.+?):project/(?P<ResourceId>.+?)$'), ['project']),
    ],
    'billing': [
        (re.compile(r'^arn:(?P<Partition>.+?):billing::(?P<Account>.+?):billingview/(?P<ResourceId>.+?)$'), ['billingview']),
    ],
    'billingconductor': [
        (re.compile(r'^arn:(?P<Partition>.+?):billingconductor::(?P<Account>.+?):billinggroup/(?P<BillingGroupId>.+?)$'), ['billinggroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):billingconductor::(?P<Account>.+?):customlineitem/(?P<CustomLineItemId>.+?)$'), ['customlineitem']),
        (re.compile(r'^arn:(?P<Partition>.+?):billingconductor::(?P<Account>.+?):pricingplan/(?P<PricingPlanId>.+?)$'), ['pricingplan']),
        (re.compile(r'^arn:(?P<Partition>.+?):billingconductor::(?P<Account>.+?):pricingrule/(?P<PricingRuleId>.+?)$'), ['pricingrule']),
    ],
    'braket': [
        (re.compile(r'^arn:(?P<Partition>.+?):braket:(?P<Region>.+?):(?P<Account>.+?):job/(?P<JobName>.+?)$'), ['job']),
        (re.compile(r'^arn:(?P<Partition>.+?):braket:(?P<Region>.+?):(?P<Account>.+?):quantum-task/(?P<RandomId>.+?)$'), ['quantum-task']),
        (re.compile(r'^arn:(?P<Partition>.+?):braket:(?P<Region>.+?):(?P<Account>.+?):spending-limit/(?P<RandomId>.+?)$'), ['spending-limit']),
    ],
    'budgets': [
        (re.compile(r'^arn:(?P<Partition>.+?):budgets::(?P<Account>.+?):budget/(?P<BudgetName>.+?)/action/(?P<ActionId>.+?)$'), ['budgetAction']),
        (re.compile(r'^arn:(?P<Partition>.+?):budgets::(?P<Account>.+?):budget/(?P<BudgetName>.+?)$'), ['budget']),
    ],
    'bugbust': [
        (re.compile(r'^arn:(?P<Partition>.+?):bugbust:(?P<Region>.+?):(?P<Account>.+?):events/(?P<EventId>.+?)$'), ['Event']),
    ],
    'cases': [
        (re.compile(r'^arn:(?P<Partition>.+?):cases:(?P<Region>.+?):(?P<Account>.+?):domain/(?P<DomainId>.+?)/case/(?P<CaseId>.+?)/related-item/(?P<RelatedItemId>.+?)$'), ['RelatedItem']),
        (re.compile(r'^arn:(?P<Partition>.+?):cases:(?P<Region>.+?):(?P<Account>.+?):domain/(?P<DomainId>.+?)/case/(?P<CaseId>.+?)$'), ['Case']),
        (re.compile(r'^arn:(?P<Partition>.+?):cases:(?P<Region>.+?):(?P<Account>.+?):domain/(?P<DomainId>.+?)/case-rule/(?P<CaseRuleId>.+?)$'), ['CaseRule']),
        (re.compile(r'^arn:(?P<Partition>.+?):cases:(?P<Region>.+?):(?P<Account>.+?):domain/(?P<DomainId>.+?)/field/(?P<FieldId>.+?)$'), ['Field']),
        (re.compile(r'^arn:(?P<Partition>.+?):cases:(?P<Region>.+?):(?P<Account>.+?):domain/(?P<DomainId>.+?)/layout/(?P<LayoutId>.+?)$'), ['Layout']),
        (re.compile(r'^arn:(?P<Partition>.+?):cases:(?P<Region>.+?):(?P<Account>.+?):domain/(?P<DomainId>.+?)/template/(?P<TemplateId>.+?)$'), ['Template']),
        (re.compile(r'^arn:(?P<Partition>.+?):cases:(?P<Region>.+?):(?P<Account>.+?):domain/(?P<DomainId>.+?)$'), ['Domain']),
    ],
    'cassandra': [
        (re.compile(r'^arn:(?P<Partition>.+?):cassandra:(?P<Region>.+?):(?P<Account>.+?):/keyspace/(?P<KeyspaceName>.+?)/table/(?P<TableName>.+?)/stream/(?P<StreamLabel>.+?)$'), ['stream']),
        (re.compile(r'^arn:(?P<Partition>.+?):cassandra:(?P<Region>.+?):(?P<Account>.+?):/keyspace/(?P<KeyspaceName>.+?)/table/(?P<TableName>.+?)$'), ['table']),
        (re.compile(r'^arn:(?P<Partition>.+?):cassandra:(?P<Region>.+?):(?P<Account>.+?):/keyspace/(?P<KeyspaceName>.+?)/$'), ['keyspace']),
    ],
    'catalog': [
        (re.compile(r'^arn:(?P<Partition>.+?):catalog:(?P<Region>.+?):(?P<Account>.+?):portfolio/(?P<PortfolioId>.+?)$'), ['Portfolio']),
        (re.compile(r'^arn:(?P<Partition>.+?):catalog:(?P<Region>.+?):(?P<Account>.+?):product/(?P<ProductId>.+?)$'), ['Product']),
    ],
    'ce': [
        (re.compile(r'^arn:(?P<Partition>.+?):ce::(?P<Account>.+?):anomalymonitor/(?P<Identifier>.+?)$'), ['anomalymonitor']),
        (re.compile(r'^arn:(?P<Partition>.+?):ce::(?P<Account>.+?):anomalysubscription/(?P<Identifier>.+?)$'), ['anomalysubscription']),
        (re.compile(r'^arn:(?P<Partition>.+?):ce::(?P<Account>.+?):costcategory/(?P<Identifier>.+?)$'), ['costcategory']),
    ],
    'chatbot': [
        (re.compile(r'^arn:(?P<Partition>.+?):chatbot::(?P<Account>.+?):chat-configuration/(?P<ConfigurationType>.+?)/(?P<ChatbotConfigurationName>.+?)$'), ['ChatbotConfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):chatbot::(?P<Account>.+?):custom-action/(?P<ActionName>.+?)$'), ['custom-action']),
    ],
    'chime': [
        (re.compile(r'^arn:(?P<Partition>.+?):chime::(?P<AccountId>.+?):meeting/(?P<MeetingId>.+?)$'), ['meeting']),
        (re.compile(r'^arn:(?P<Partition>.+?):chime:(?P<Region>.+?):(?P<AccountId>.+?):app-instance/(?P<AppInstanceId>.+?)/bot/(?P<AppInstanceBotId>.+?)$'), ['app-instance-bot']),
        (re.compile(r'^arn:(?P<Partition>.+?):chime:(?P<Region>.+?):(?P<AccountId>.+?):app-instance/(?P<AppInstanceId>.+?)/channel/(?P<ChannelId>.+?)$'), ['channel']),
        (re.compile(r'^arn:(?P<Partition>.+?):chime:(?P<Region>.+?):(?P<AccountId>.+?):app-instance/(?P<AppInstanceId>.+?)/channel-flow/(?P<ChannelFlowId>.+?)$'), ['channel-flow']),
        (re.compile(r'^arn:(?P<Partition>.+?):chime:(?P<Region>.+?):(?P<AccountId>.+?):app-instance/(?P<AppInstanceId>.+?)/user/(?P<AppInstanceUserId>.+?)$'), ['app-instance-user']),
        (re.compile(r'^arn:(?P<Partition>.+?):chime:(?P<Region>.+?):(?P<AccountId>.+?):app-instance/(?P<AppInstanceId>.+?)$'), ['app-instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):chime:(?P<Region>.+?):(?P<AccountId>.+?):media-insights-pipeline-configuration/(?P<ConfigurationName>.+?)$'), ['media-insights-pipeline-configuration']),
        (re.compile(r'^arn:(?P<Partition>.+?):chime:(?P<Region>.+?):(?P<AccountId>.+?):media-pipeline/(?P<MediaPipelineId>.+?)$'), ['media-pipeline']),
        (re.compile(r'^arn:(?P<Partition>.+?):chime:(?P<Region>.+?):(?P<AccountId>.+?):media-pipeline-kinesis-video-stream-pool/(?P<PoolName>.+?)$'), ['media-pipeline-kinesis-video-stream-pool']),
        (re.compile(r'^arn:(?P<Partition>.+?):chime:(?P<Region>.+?):(?P<AccountId>.+?):sma/(?P<SipMediaApplicationId>.+?)$'), ['sip-media-application']),
        (re.compile(r'^arn:(?P<Partition>.+?):chime:(?P<Region>.+?):(?P<AccountId>.+?):vc/(?P<VoiceConnectorId>.+?)$'), ['voice-connector']),
        (re.compile(r'^arn:(?P<Partition>.+?):chime:(?P<Region>.+?):(?P<AccountId>.+?):voice-profile/(?P<VoiceProfileId>.+?)$'), ['voice-profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):chime:(?P<Region>.+?):(?P<AccountId>.+?):voice-profile-domain/(?P<VoiceProfileDomainId>.+?)$'), ['voice-profile-domain']),
    ],
    'cleanrooms': [
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms:(?P<Region>.+?):(?P<Account>.+?):membership/(?P<MembershipId>.+?)/analysistemplate/(?P<AnalysisTemplateId>.+?)$'), ['analysistemplate']),
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms:(?P<Region>.+?):(?P<Account>.+?):membership/(?P<MembershipId>.+?)/configuredaudiencemodelassociation/(?P<ConfiguredAudienceModelAssociationId>.+?)$'), ['configuredaudiencemodelassociation']),
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms:(?P<Region>.+?):(?P<Account>.+?):membership/(?P<MembershipId>.+?)/configuredtableassociation/(?P<ConfiguredTableAssociationId>.+?)$'), ['configuredtableassociation']),
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms:(?P<Region>.+?):(?P<Account>.+?):membership/(?P<MembershipId>.+?)/idmappingtable/(?P<IdMappingTableId>.+?)$'), ['idmappingtable']),
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms:(?P<Region>.+?):(?P<Account>.+?):membership/(?P<MembershipId>.+?)/idnamespaceassociation/(?P<IdNamespaceAssociationId>.+?)$'), ['idnamespaceassociation']),
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms:(?P<Region>.+?):(?P<Account>.+?):membership/(?P<MembershipId>.+?)/privacybudgettemplate/(?P<PrivacyBudgetTemplateId>.+?)$'), ['privacybudgettemplate']),
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms:(?P<Region>.+?):(?P<Account>.+?):collaboration/(?P<CollaborationId>.+?)$'), ['collaboration']),
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms:(?P<Region>.+?):(?P<Account>.+?):configuredtable/(?P<ConfiguredTableId>.+?)$'), ['configuredtable']),
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms:(?P<Region>.+?):(?P<Account>.+?):membership/(?P<MembershipId>.+?)$'), ['membership']),
    ],
    'cleanrooms-ml': [
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms-ml:(?P<Region>.+?):(?P<Account>.+?):membership/(?P<MembershipId>.+?)/configured-model-algorithm-association/(?P<ResourceId>.+?)$'), ['ConfiguredModelAlgorithmAssociation']),
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms-ml:(?P<Region>.+?):(?P<Account>.+?):membership/(?P<MembershipId>.+?)/ml-input-channel/(?P<ResourceId>.+?)$'), ['MLInputChannel']),
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms-ml:(?P<Region>.+?):(?P<Account>.+?):membership/(?P<MembershipId>.+?)/trained-model/(?P<ResourceId>.+?)$'), ['TrainedModel']),
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms-ml:(?P<Region>.+?):(?P<Account>.+?):membership/(?P<MembershipId>.+?)/trained-model-inference-job/(?P<ResourceId>.+?)$'), ['TrainedModelInferenceJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms-ml:(?P<Region>.+?):(?P<Account>.+?):audience-generation-job/(?P<ResourceId>.+?)$'), ['audiencegenerationjob']),
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms-ml:(?P<Region>.+?):(?P<Account>.+?):audience-model/(?P<ResourceId>.+?)$'), ['audiencemodel']),
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms-ml:(?P<Region>.+?):(?P<Account>.+?):configured-audience-model/(?P<ResourceId>.+?)$'), ['configuredaudiencemodel']),
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms-ml:(?P<Region>.+?):(?P<Account>.+?):configured-model-algorithm/(?P<ResourceId>.+?)$'), ['ConfiguredModelAlgorithm']),
        (re.compile(r'^arn:(?P<Partition>.+?):cleanrooms-ml:(?P<Region>.+?):(?P<Account>.+?):training-dataset/(?P<ResourceId>.+?)$'), ['trainingdataset']),
    ],
    'cloud9': [
        (re.compile(r'^arn:(?P<Partition>.+?):cloud9:(?P<Region>.+?):(?P<Account>.+?):environment:(?P<ResourceId>.+?)$'), ['environment']),
    ],
    'clouddirectory': [
        (re.compile(r'^arn:(?P<Partition>.+?):clouddirectory:(?P<Region>.+?):(?P<Account>.+?):directory/(?P<DirectoryId>.+?)/schema/(?P<SchemaName>.+?)/(?P<Version>.+?)$'), ['appliedSchema']),
        (re.compile(r'^arn:(?P<Partition>.+?):clouddirectory:(?P<Region>.+?):(?P<Account>.+?):schema/published/(?P<SchemaName>.+?)/(?P<Version>.+?)$'), ['publishedSchema']),
        (re.compile(r'^arn:(?P<Partition>.+?):clouddirectory:(?P<Region>.+?):(?P<Account>.+?):schema/development/(?P<SchemaName>.+?)$'), ['developmentSchema']),
        (re.compile(r'^arn:(?P<Partition>.+?):clouddirectory:(?P<Region>.+?):(?P<Account>.+?):directory/(?P<DirectoryId>.+?)$'), ['directory']),
    ],
    'cloudformation': [
        (re.compile(r'^arn:(?P<Partition>.+?):cloudformation:(?P<Region>.+?):(?P<Account>.+?):changeSet/(?P<ChangeSetName>.+?)/(?P<Id>.+?)$'), ['changeset']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudformation:(?P<Region>.+?):(?P<Account>.+?):stack/(?P<StackName>.+?)/(?P<Id>.+?)$'), ['stack']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudformation:(?P<Region>.+?):(?P<Account>.+?):stackset/(?P<StackSetName>.+?):(?P<Id>.+?)$'), ['stackset']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudformation:(?P<Region>.+?):(?P<Account>.+?):type/hook/(?P<Type>.+?)$'), ['typeHook']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudformation:(?P<Region>.+?):(?P<Account>.+?):type/resource/(?P<Type>.+?)$'), ['type']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudformation:(?P<Region>.+?):(?P<Account>.+?):generatedTemplate/(?P<Id>.+?)$'), ['generatedtemplate']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudformation:(?P<Region>.+?):(?P<Account>.+?):resourceScan/(?P<Id>.+?)$'), ['resourcescan']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudformation:(?P<Region>.+?):(?P<Account>.+?):stackset-target/(?P<StackSetTarget>.+?)$'), ['stackset-target']),
    ],
    'cloudfront': [
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):anycast-ip-list/(?P<Id>.+?)$'), ['anycast-ip-list']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):cache-policy/(?P<Id>.+?)$'), ['cache-policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):connection-function/(?P<Id>.+?)$'), ['connection-function']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):connection-group/(?P<Id>.+?)$'), ['connection-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):continuous-deployment-policy/(?P<Id>.+?)$'), ['continuous-deployment-policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):distribution/(?P<DistributionId>.+?)$'), ['distribution']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):distribution-tenant/(?P<Id>.+?)$'), ['distribution-tenant']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):field-level-encryption-config/(?P<Id>.+?)$'), ['field-level-encryption-config']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):field-level-encryption-profile/(?P<Id>.+?)$'), ['field-level-encryption-profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):function/(?P<Name>.+?)$'), ['function']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):key-value-store/(?P<Name>.+?)$'), ['key-value-store']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):key-value-store/(?P<ResourceId>.+?)$'), ['key-value-store']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):origin-access-control/(?P<Id>.+?)$'), ['origin-access-control']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):origin-access-identity/(?P<Id>.+?)$'), ['origin-access-identity']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):origin-request-policy/(?P<Id>.+?)$'), ['origin-request-policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):realtime-log-config/(?P<Name>.+?)$'), ['realtime-log-config']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):response-headers-policy/(?P<Id>.+?)$'), ['response-headers-policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):streaming-distribution/(?P<DistributionId>.+?)$'), ['streaming-distribution']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):trust-store/(?P<Id>.+?)$'), ['trust-store']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudfront::(?P<Account>.+?):vpcorigin/(?P<Id>.+?)$'), ['vpcorigin']),
    ],
    'cloudhsm': [
        (re.compile(r'^arn:(?P<Partition>.+?):cloudhsm:(?P<Region>.+?):(?P<Account>.+?):backup/(?P<CloudHsmBackupInstanceName>.+?)$'), ['backup']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudhsm:(?P<Region>.+?):(?P<Account>.+?):cluster/(?P<CloudHsmClusterInstanceName>.+?)$'), ['cluster']),
    ],
    'cloudsearch': [
        (re.compile(r'^arn:(?P<Partition>.+?):cloudsearch:(?P<Region>.+?):(?P<Account>.+?):domain/(?P<DomainName>.+?)$'), ['domain']),
    ],
    'cloudshell': [
        (re.compile(r'^arn:(?P<Partition>.+?):cloudshell:(?P<Region>.+?):(?P<Account>.+?):environment/(?P<EnvironmentId>.+?)$'), ['Environment']),
    ],
    'cloudtrail': [
        (re.compile(r'^arn:(?P<Partition>.+?):cloudtrail:(?P<Region>.+?):(?P<Account>.+?):channel/(?P<ChannelId>.+?)$'), ['channel']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudtrail:(?P<Region>.+?):(?P<Account>.+?):dashboard/(?P<DashboardName>.+?)$'), ['dashboard']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudtrail:(?P<Region>.+?):(?P<Account>.+?):eventdatastore/(?P<EventDataStoreId>.+?)$'), ['eventdatastore']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudtrail:(?P<Region>.+?):(?P<Account>.+?):trail/(?P<TrailName>.+?)$'), ['trail']),
    ],
    'cloudwatch': [
        (re.compile(r'^arn:(?P<Partition>.+?):cloudwatch::(?P<Account>.+?):dashboard/(?P<DashboardName>.+?)$'), ['dashboard']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudwatch:(?P<Region>.+?):(?P<Account>.+?):service/(?P<ServiceName>.+?)-(?P<UniqueAttributesHex>.+?)$'), ['service']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudwatch:(?P<Region>.+?):(?P<Account>.+?):alarm:(?P<AlarmName>.+?)$'), ['alarm']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudwatch:(?P<Region>.+?):(?P<Account>.+?):insight-rule/(?P<InsightRuleName>.+?)$'), ['insight-rule']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudwatch:(?P<Region>.+?):(?P<Account>.+?):metric-stream/(?P<MetricStreamName>.+?)$'), ['metric-stream']),
        (re.compile(r'^arn:(?P<Partition>.+?):cloudwatch:(?P<Region>.+?):(?P<Account>.+?):slo/(?P<SloName>.+?)$'), ['slo']),
    ],
    'codeartifact': [
        (re.compile(r'^arn:(?P<Partition>.+?):codeartifact:(?P<Region>.+?):(?P<Account>.+?):package/(?P<DomainName>.+?)/(?P<RepositoryName>.+?)/(?P<PackageFormat>.+?)/(?P<PackageNamespace>.+?)/(?P<PackageName>.+?)$'), ['package']),
        (re.compile(r'^arn:(?P<Partition>.+?):codeartifact:(?P<Region>.+?):(?P<Account>.+?):package-group/(?P<DomainName>.+?)(?P<EncodedPackageGroupPattern>.+?)$'), ['package-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):codeartifact:(?P<Region>.+?):(?P<Account>.+?):repository/(?P<DomainName>.+?)/(?P<RepositoryName>.+?)$'), ['repository']),
        (re.compile(r'^arn:(?P<Partition>.+?):codeartifact:(?P<Region>.+?):(?P<Account>.+?):domain/(?P<DomainName>.+?)$'), ['domain']),
    ],
    'codebuild': [
        (re.compile(r'^arn:(?P<Partition>.+?):codebuild:(?P<Region>.+?):(?P<Account>.+?):fleet/(?P<FleetName>.+?):(?P<FleetId>.+?)$'), ['fleet']),
        (re.compile(r'^arn:(?P<Partition>.+?):codebuild:(?P<Region>.+?):(?P<Account>.+?):report/(?P<ReportGroupName>.+?):(?P<ReportId>.+?)$'), ['report']),
        (re.compile(r'^arn:(?P<Partition>.+?):codebuild:(?P<Region>.+?):(?P<Account>.+?):build/(?P<BuildId>.+?)$'), ['build']),
        (re.compile(r'^arn:(?P<Partition>.+?):codebuild:(?P<Region>.+?):(?P<Account>.+?):build-batch/(?P<BuildBatchId>.+?)$'), ['build-batch']),
        (re.compile(r'^arn:(?P<Partition>.+?):codebuild:(?P<Region>.+?):(?P<Account>.+?):project/(?P<ProjectName>.+?)$'), ['project']),
        (re.compile(r'^arn:(?P<Partition>.+?):codebuild:(?P<Region>.+?):(?P<Account>.+?):report-group/(?P<ReportGroupName>.+?)$'), ['report-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):codebuild:(?P<Region>.+?):(?P<Account>.+?):sandbox/(?P<SandboxId>.+?)$'), ['sandbox']),
    ],
    'codecatalyst': [
        (re.compile(r'^arn:(?P<Partition>.+?):codecatalyst:::space/(?P<SpaceId>.+?)/project/(?P<ProjectId>.+?)$'), ['project']),
        (re.compile(r'^arn:(?P<Partition>.+?):codecatalyst:::space/(?P<SpaceId>.+?)$'), ['space']),
        (re.compile(r'^arn:(?P<Partition>.+?):codecatalyst:(?P<Region>.+?):(?P<Account>.+?):/connections/(?P<ConnectionId>.+?)$'), ['connections']),
        (re.compile(r'^arn:(?P<Partition>.+?):codecatalyst:(?P<Region>.+?):(?P<Account>.+?):/identity-center-applications/(?P<IdentityCenterApplicationId>.+?)$'), ['identity-center-applications']),
    ],
    'codecommit': [
        (re.compile(r'^arn:(?P<Partition>.+?):codecommit:(?P<Region>.+?):(?P<Account>.+?):(?P<RepositoryName>.+?)$'), ['repository']),
    ],
    'codeconnections': [
        (re.compile(r'^arn:(?P<Partition>.+?):codeconnections:(?P<Region>.+?):(?P<Account>.+?):connection/(?P<ConnectionId>.+?)$'), ['Connection']),
        (re.compile(r'^arn:(?P<Partition>.+?):codeconnections:(?P<Region>.+?):(?P<Account>.+?):host/(?P<HostId>.+?)$'), ['Host']),
        (re.compile(r'^arn:(?P<Partition>.+?):codeconnections:(?P<Region>.+?):(?P<Account>.+?):repository-link/(?P<RepositoryLinkId>.+?)$'), ['RepositoryLink']),
    ],
    'codedeploy': [
        (re.compile(r'^arn:(?P<Partition>.+?):codedeploy:(?P<Region>.+?):(?P<Account>.+?):deploymentgroup:(?P<ApplicationName>.+?)/(?P<DeploymentGroupName>.+?)$'), ['deploymentgroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):codedeploy:(?P<Region>.+?):(?P<Account>.+?):application:(?P<ApplicationName>.+?)$'), ['application']),
        (re.compile(r'^arn:(?P<Partition>.+?):codedeploy:(?P<Region>.+?):(?P<Account>.+?):deploymentconfig:(?P<DeploymentConfigurationName>.+?)$'), ['deploymentconfig']),
        (re.compile(r'^arn:(?P<Partition>.+?):codedeploy:(?P<Region>.+?):(?P<Account>.+?):instance:(?P<InstanceName>.+?)$'), ['instance']),
    ],
    'codeguru-profiler': [
        (re.compile(r'^arn:(?P<Partition>.+?):codeguru-profiler:(?P<Region>.+?):(?P<Account>.+?):profilingGroup/(?P<ProfilingGroupName>.+?)$'), ['ProfilingGroup']),
    ],
    'codeguru-reviewer': [
        (re.compile(r'^arn:(?P<Partition>.+?):codeguru-reviewer:(?P<Region>.+?):(?P<Account>.+?):association:(?P<ResourceId>.+?):codereview:(?P<CodeReviewId>.+?)$'), ['codereview']),
        (re.compile(r'^arn:(?P<Partition>.+?):codeguru-reviewer:(?P<Region>.+?):(?P<Account>.+?):association:(?P<ResourceId>.+?)$'), ['association']),
    ],
    'codeguru-security': [
        (re.compile(r'^arn:(?P<Partition>.+?):codeguru-security:(?P<Region>.+?):(?P<Account>.+?):scans/(?P<ScanName>.+?)$'), ['ScanName']),
    ],
    'codepipeline': [
        (re.compile(r'^arn:(?P<Partition>.+?):codepipeline:(?P<Region>.+?):(?P<Account>.+?):actiontype:(?P<Owner>.+?)/(?P<Category>.+?)/(?P<Provider>.+?)/(?P<Version>.+?)$'), ['actiontype']),
        (re.compile(r'^arn:(?P<Partition>.+?):codepipeline:(?P<Region>.+?):(?P<Account>.+?):(?P<PipelineName>.+?)/(?P<StageName>.+?)/(?P<ActionName>.+?)$'), ['action']),
        (re.compile(r'^arn:(?P<Partition>.+?):codepipeline:(?P<Region>.+?):(?P<Account>.+?):webhook:(?P<WebhookName>.+?)$'), ['webhook']),
        (re.compile(r'^arn:(?P<Partition>.+?):codepipeline:(?P<Region>.+?):(?P<Account>.+?):(?P<PipelineName>.+?)/(?P<StageName>.+?)$'), ['stage']),
        (re.compile(r'^arn:(?P<Partition>.+?):codepipeline:(?P<Region>.+?):(?P<Account>.+?):(?P<PipelineName>.+?)$'), ['pipeline']),
    ],
    'codestar': [
        (re.compile(r'^arn:(?P<Partition>.+?):codestar:(?P<Region>.+?):(?P<Account>.+?):project/(?P<ProjectId>.+?)$'), ['project']),
    ],
    'codestar-connections': [
        (re.compile(r'^arn:(?P<Partition>.+?):codestar-connections:(?P<Region>.+?):(?P<Account>.+?):connection/(?P<ConnectionId>.+?)$'), ['Connection']),
        (re.compile(r'^arn:(?P<Partition>.+?):codestar-connections:(?P<Region>.+?):(?P<Account>.+?):host/(?P<HostId>.+?)$'), ['Host']),
        (re.compile(r'^arn:(?P<Partition>.+?):codestar-connections:(?P<Region>.+?):(?P<Account>.+?):repository-link/(?P<RepositoryLinkId>.+?)$'), ['RepositoryLink']),
    ],
    'codestar-notifications': [
        (re.compile(r'^arn:(?P<Partition>.+?):codestar-notifications:(?P<Region>.+?):(?P<Account>.+?):notificationrule/(?P<NotificationRuleId>.+?)$'), ['notificationrule']),
    ],
    'codewhisperer': [
        (re.compile(r'^arn:(?P<Partition>.+?):codewhisperer:(?P<Region>.+?):(?P<Account>.+?):customization/(?P<Identifier>.+?)$'), ['customization']),
        (re.compile(r'^arn:(?P<Partition>.+?):codewhisperer:(?P<Region>.+?):(?P<Account>.+?):profile/(?P<Identifier>.+?)$'), ['profile']),
    ],
    'cognito-identity': [
        (re.compile(r'^arn:(?P<Partition>.+?):cognito-identity:(?P<Region>.+?):(?P<Account>.+?):identitypool/(?P<IdentityPoolId>.+?)$'), ['identitypool']),
    ],
    'cognito-idp': [
        (re.compile(r'^arn:(?P<Partition>.+?):cognito-idp:(?P<Region>.+?):(?P<Account>.+?):userpool/(?P<UserPoolId>.+?)$'), ['userpool']),
    ],
    'cognito-sync': [
        (re.compile(r'^arn:(?P<Partition>.+?):cognito-sync:(?P<Region>.+?):(?P<Account>.+?):identitypool/(?P<IdentityPoolId>.+?)/identity/(?P<IdentityId>.+?)/dataset/(?P<DatasetName>.+?)$'), ['dataset']),
        (re.compile(r'^arn:(?P<Partition>.+?):cognito-sync:(?P<Region>.+?):(?P<Account>.+?):identitypool/(?P<IdentityPoolId>.+?)/identity/(?P<IdentityId>.+?)$'), ['identity']),
        (re.compile(r'^arn:(?P<Partition>.+?):cognito-sync:(?P<Region>.+?):(?P<Account>.+?):identitypool/(?P<IdentityPoolId>.+?)$'), ['identitypool']),
    ],
    'comprehend': [
        (re.compile(r'^arn:(?P<Partition>.+?):comprehend:(?P<Region>.+?):(?P<Account>.+?):flywheel/(?P<FlywheelName>.+?)/dataset/(?P<DatasetName>.+?)$'), ['flywheel-dataset']),
        (re.compile(r'^arn:(?P<Partition>.+?):comprehend:(?P<Region>.+?):(?P<Account>.+?):document-classification-job/(?P<JobId>.+?)$'), ['document-classification-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):comprehend:(?P<Region>.+?):(?P<Account>.+?):document-classifier/(?P<DocumentClassifierName>.+?)$'), ['document-classifier']),
        (re.compile(r'^arn:(?P<Partition>.+?):comprehend:(?P<Region>.+?):(?P<Account>.+?):document-classifier-endpoint/(?P<DocumentClassifierEndpointName>.+?)$'), ['document-classifier-endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):comprehend:(?P<Region>.+?):(?P<Account>.+?):dominant-language-detection-job/(?P<JobId>.+?)$'), ['dominant-language-detection-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):comprehend:(?P<Region>.+?):(?P<Account>.+?):entities-detection-job/(?P<JobId>.+?)$'), ['entities-detection-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):comprehend:(?P<Region>.+?):(?P<Account>.+?):entity-recognizer/(?P<EntityRecognizerName>.+?)$'), ['entity-recognizer']),
        (re.compile(r'^arn:(?P<Partition>.+?):comprehend:(?P<Region>.+?):(?P<Account>.+?):entity-recognizer-endpoint/(?P<EntityRecognizerEndpointName>.+?)$'), ['entity-recognizer-endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):comprehend:(?P<Region>.+?):(?P<Account>.+?):events-detection-job/(?P<JobId>.+?)$'), ['events-detection-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):comprehend:(?P<Region>.+?):(?P<Account>.+?):flywheel/(?P<FlywheelName>.+?)$'), ['flywheel']),
        (re.compile(r'^arn:(?P<Partition>.+?):comprehend:(?P<Region>.+?):(?P<Account>.+?):key-phrases-detection-job/(?P<JobId>.+?)$'), ['key-phrases-detection-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):comprehend:(?P<Region>.+?):(?P<Account>.+?):pii-entities-detection-job/(?P<JobId>.+?)$'), ['pii-entities-detection-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):comprehend:(?P<Region>.+?):(?P<Account>.+?):sentiment-detection-job/(?P<JobId>.+?)$'), ['sentiment-detection-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):comprehend:(?P<Region>.+?):(?P<Account>.+?):targeted-sentiment-detection-job/(?P<JobId>.+?)$'), ['targeted-sentiment-detection-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):comprehend:(?P<Region>.+?):(?P<Account>.+?):topics-detection-job/(?P<JobId>.+?)$'), ['topics-detection-job']),
    ],
    'compute-optimizer': [
        (re.compile(r'^arn:(?P<Partition>.+?):compute-optimizer::(?P<Account>.+?):automation-rule/(?P<RuleId>.+?)$'), ['AutomationRule']),
    ],
    'config': [
        (re.compile(r'^arn:(?P<Partition>.+?):config:(?P<Region>.+?):(?P<Account>.+?):aggregation-authorization/(?P<AggregatorAccount>.+?)/(?P<AggregatorRegion>.+?)$'), ['AggregationAuthorization']),
        (re.compile(r'^arn:(?P<Partition>.+?):config:(?P<Region>.+?):(?P<Account>.+?):configuration-recorder/(?P<RecorderName>.+?)/(?P<RecorderId>.+?)$'), ['ConfigurationRecorder']),
        (re.compile(r'^arn:(?P<Partition>.+?):config:(?P<Region>.+?):(?P<Account>.+?):conformance-pack/(?P<ConformancePackName>.+?)/(?P<ConformancePackId>.+?)$'), ['ConformancePack']),
        (re.compile(r'^arn:(?P<Partition>.+?):config:(?P<Region>.+?):(?P<Account>.+?):stored-query/(?P<StoredQueryName>.+?)/(?P<StoredQueryId>.+?)$'), ['StoredQuery']),
        (re.compile(r'^arn:(?P<Partition>.+?):config:(?P<Region>.+?):(?P<Account>.+?):config-aggregator/(?P<AggregatorId>.+?)$'), ['ConfigurationAggregator']),
        (re.compile(r'^arn:(?P<Partition>.+?):config:(?P<Region>.+?):(?P<Account>.+?):config-rule/(?P<ConfigRuleId>.+?)$'), ['ConfigRule']),
        (re.compile(r'^arn:(?P<Partition>.+?):config:(?P<Region>.+?):(?P<Account>.+?):organization-config-rule/(?P<OrganizationConfigRuleId>.+?)$'), ['OrganizationConfigRule']),
        (re.compile(r'^arn:(?P<Partition>.+?):config:(?P<Region>.+?):(?P<Account>.+?):organization-conformance-pack/(?P<OrganizationConformancePackId>.+?)$'), ['OrganizationConformancePack']),
        (re.compile(r'^arn:(?P<Partition>.+?):config:(?P<Region>.+?):(?P<Account>.+?):remediation-configuration/(?P<RemediationConfigurationId>.+?)$'), ['RemediationConfiguration']),
    ],
    'connect': [
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):aws:view/(?P<ViewId>.+?):(?P<ViewQualifier>.+?)$'), ['qualified-aws-managed-view']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):aws:view/(?P<ViewId>.+?)$'), ['aws-managed-view']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/view/(?P<ViewId>.+?):(?P<ViewQualifier>.+?)$'), ['qualified-customer-managed-view']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/view/(?P<ViewId>.+?):(?P<ViewVersion>.+?)$'), ['customer-managed-view-version']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/agent/(?P<UserId>.+?)$'), ['user']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/agent-group/(?P<HierarchyGroupId>.+?)$'), ['hierarchy-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/agent-state/(?P<AgentStatusId>.+?)$'), ['agent-status']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/authentication-profile/(?P<AuthenticationProfileId>.+?)$'), ['authentication-profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/contact/(?P<ContactId>.+?)$'), ['contact']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/contact-evaluation/(?P<EvaluationId>.+?)$'), ['contact-evaluation']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/contact-flow/(?P<ContactFlowId>.+?)$'), ['contact-flow']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/data-table/(?P<DataTableId>.+?)$'), ['data-table']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/email-address/(?P<EmailAddressId>.+?)$'), ['email-address']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/evaluation-form/(?P<FormId>.+?)$'), ['evaluation-form']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/file/(?P<FileId>.+?)$'), ['attached-file']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/flow-module/(?P<ContactFlowModuleId>.+?)$'), ['contact-flow-module']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/integration-association/(?P<IntegrationAssociationId>.+?)$'), ['integration-association']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/operating-hours/(?P<HoursOfOperationId>.+?)$'), ['hours-of-operation']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/phone-number/(?P<PhoneNumberId>.+?)$'), ['legacy-phone-number']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/prompt/(?P<PromptId>.+?)$'), ['prompt']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/queue/(?P<QueueId>.+?)$'), ['queue']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/routing-profile/(?P<RoutingProfileId>.+?)$'), ['routing-profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/rule/(?P<RuleId>.+?)$'), ['rule']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/security-profile/(?P<SecurityProfileId>.+?)$'), ['security-profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/task-template/(?P<TaskTemplateId>.+?)$'), ['task-template']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/transfer-destination/(?P<QuickConnectId>.+?)$'), ['quick-connect']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/use-case/(?P<UseCaseId>.+?)$'), ['use-case']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/view/(?P<ViewId>.+?)$'), ['customer-managed-view']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/vocabulary/(?P<VocabularyId>.+?)$'), ['vocabulary']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/workspace/(?P<WorkspaceId>.+?)$'), ['workspace']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)$'), ['instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):phone-number/(?P<PhoneNumberId>.+?)$'), ['phone-number']),
        (re.compile(r'^arn:(?P<Partition>.+?):connect:(?P<Region>.+?):(?P<Account>.+?):traffic-distribution-group/(?P<TrafficDistributionGroupId>.+?)$'), ['traffic-distribution-group']),
    ],
    'connect-campaigns': [
        (re.compile(r'^arn:(?P<Partition>.+?):connect-campaigns:(?P<Region>.+?):(?P<Account>.+?):campaign/(?P<CampaignId>.+?)$'), ['campaign']),
    ],
    'consoleapp': [
        (re.compile(r'^arn:(?P<Partition>.+?):consoleapp::(?P<Account>.+?):device/(?P<DeviceId>.+?)/identity/(?P<IdentityId>.+?)$'), ['DeviceIdentity']),
    ],
    'controlcatalog': [
        (re.compile(r'^arn:(?P<Partition>.+?):controlcatalog:::common-control/(?P<CommonControlId>.+?)$'), ['common-control']),
        (re.compile(r'^arn:(?P<Partition>.+?):controlcatalog:::control/(?P<ControlId>.+?)$'), ['control']),
        (re.compile(r'^arn:(?P<Partition>.+?):controlcatalog:::domain/(?P<DomainId>.+?)$'), ['domain']),
        (re.compile(r'^arn:(?P<Partition>.+?):controlcatalog:::objective/(?P<ObjectiveId>.+?)$'), ['objective']),
    ],
    'controltower': [
        (re.compile(r'^arn:(?P<Partition>.+?):controltower:(?P<Region>.+?)::baseline/(?P<BaselineId>.+?)$'), ['Baseline']),
        (re.compile(r'^arn:(?P<Partition>.+?):controltower:(?P<Region>.+?):(?P<Account>.+?):enabledbaseline/(?P<EnabledBaselineId>.+?)$'), ['EnabledBaseline']),
        (re.compile(r'^arn:(?P<Partition>.+?):controltower:(?P<Region>.+?):(?P<Account>.+?):enabledcontrol/(?P<EnabledControlId>.+?)$'), ['EnabledControl']),
        (re.compile(r'^arn:(?P<Partition>.+?):controltower:(?P<Region>.+?):(?P<Account>.+?):landingzone/(?P<LandingZoneId>.+?)$'), ['LandingZone']),
    ],
    'cur': [
        (re.compile(r'^arn:(?P<Partition>.+?):cur:(?P<Region>.+?):(?P<Account>.+?):definition/(?P<ReportName>.+?)$'), ['cur']),
    ],
    'databrew': [
        (re.compile(r'^arn:(?P<Partition>.+?):databrew:(?P<Region>.+?):(?P<Account>.+?):dataset/(?P<ResourceId>.+?)$'), ['Dataset']),
        (re.compile(r'^arn:(?P<Partition>.+?):databrew:(?P<Region>.+?):(?P<Account>.+?):job/(?P<ResourceId>.+?)$'), ['Job']),
        (re.compile(r'^arn:(?P<Partition>.+?):databrew:(?P<Region>.+?):(?P<Account>.+?):project/(?P<ResourceId>.+?)$'), ['Project']),
        (re.compile(r'^arn:(?P<Partition>.+?):databrew:(?P<Region>.+?):(?P<Account>.+?):recipe/(?P<ResourceId>.+?)$'), ['Recipe']),
        (re.compile(r'^arn:(?P<Partition>.+?):databrew:(?P<Region>.+?):(?P<Account>.+?):ruleset/(?P<ResourceId>.+?)$'), ['Ruleset']),
        (re.compile(r'^arn:(?P<Partition>.+?):databrew:(?P<Region>.+?):(?P<Account>.+?):schedule/(?P<ResourceId>.+?)$'), ['Schedule']),
    ],
    'dataexchange': [
        (re.compile(r'^arn:(?P<Partition>.+?):dataexchange:(?P<Region>.+?)::data-sets/(?P<DataSetId>.+?)/revisions/(?P<RevisionId>.+?)/assets/(?P<AssetId>.+?)$'), ['entitled-assets']),
        (re.compile(r'^arn:(?P<Partition>.+?):dataexchange:(?P<Region>.+?)::data-sets/(?P<DataSetId>.+?)/revisions/(?P<RevisionId>.+?)$'), ['entitled-revisions']),
        (re.compile(r'^arn:(?P<Partition>.+?):dataexchange:(?P<Region>.+?)::data-sets/(?P<DataSetId>.+?)$'), ['entitled-data-sets']),
        (re.compile(r'^arn:(?P<Partition>.+?):dataexchange:(?P<Region>.+?):(?P<Account>.+?):data-sets/(?P<DataSetId>.+?)/revisions/(?P<RevisionId>.+?)/assets/(?P<AssetId>.+?)$'), ['assets']),
        (re.compile(r'^arn:(?P<Partition>.+?):dataexchange:(?P<Region>.+?):(?P<Account>.+?):data-sets/(?P<DataSetId>.+?)/revisions/(?P<RevisionId>.+?)$'), ['revisions']),
        (re.compile(r'^arn:(?P<Partition>.+?):dataexchange:(?P<Region>.+?):(?P<Account>.+?):data-grants/(?P<DataGrantId>.+?)$'), ['data-grants']),
        (re.compile(r'^arn:(?P<Partition>.+?):dataexchange:(?P<Region>.+?):(?P<Account>.+?):data-sets/(?P<DataSetId>.+?)$'), ['data-sets']),
        (re.compile(r'^arn:(?P<Partition>.+?):dataexchange:(?P<Region>.+?):(?P<Account>.+?):event-actions/(?P<EventActionId>.+?)$'), ['event-actions']),
        (re.compile(r'^arn:(?P<Partition>.+?):dataexchange:(?P<Region>.+?):(?P<Account>.+?):jobs/(?P<JobId>.+?)$'), ['jobs']),
    ],
    'datapipeline': [
        (re.compile(r'^arn:(?P<Partition>.+?):datapipeline:(?P<Region>.+?):(?P<Account>.+?):pipeline/(?P<PipelineId>.+?)$'), ['pipeline']),
    ],
    'datasync': [
        (re.compile(r'^arn:(?P<Partition>.+?):datasync:(?P<Region>.+?):(?P<AccountId>.+?):system/(?P<StorageSystemId>.+?)/job/(?P<DiscoveryJobId>.+?)$'), ['discoveryjob']),
        (re.compile(r'^arn:(?P<Partition>.+?):datasync:(?P<Region>.+?):(?P<AccountId>.+?):task/(?P<TaskId>.+?)/execution/(?P<ExecutionId>.+?)$'), ['taskexecution']),
        (re.compile(r'^arn:(?P<Partition>.+?):datasync:(?P<Region>.+?):(?P<AccountId>.+?):agent/(?P<AgentId>.+?)$'), ['agent']),
        (re.compile(r'^arn:(?P<Partition>.+?):datasync:(?P<Region>.+?):(?P<AccountId>.+?):location/(?P<LocationId>.+?)$'), ['location']),
        (re.compile(r'^arn:(?P<Partition>.+?):datasync:(?P<Region>.+?):(?P<AccountId>.+?):system/(?P<StorageSystemId>.+?)$'), ['storagesystem']),
        (re.compile(r'^arn:(?P<Partition>.+?):datasync:(?P<Region>.+?):(?P<AccountId>.+?):task/(?P<TaskId>.+?)$'), ['task']),
    ],
    'datazone': [
        (re.compile(r'^arn:(?P<Partition>.+?):datazone:(?P<Region>.+?):(?P<Account>.+?):domain/(?P<DomainId>.+?)$'), ['domain']),
    ],
    'dax': [
        (re.compile(r'^arn:(?P<Partition>.+?):dax:(?P<Region>.+?):(?P<Account>.+?):cache/(?P<ClusterName>.+?)$'), ['application']),
    ],
    'deadline': [
        (re.compile(r'^arn:(?P<Partition>.+?):deadline:(?P<Region>.+?):(?P<Account>.+?):farm/(?P<FarmId>.+?)/fleet/(?P<FleetId>.+?)/worker/(?P<WorkerId>.+?)$'), ['worker']),
        (re.compile(r'^arn:(?P<Partition>.+?):deadline:(?P<Region>.+?):(?P<Account>.+?):farm/(?P<FarmId>.+?)/queue/(?P<QueueId>.+?)/job/(?P<JobId>.+?)$'), ['job']),
        (re.compile(r'^arn:(?P<Partition>.+?):deadline:(?P<Region>.+?):(?P<Account>.+?):farm/(?P<FarmId>.+?)/budget/(?P<BudgetId>.+?)$'), ['budget']),
        (re.compile(r'^arn:(?P<Partition>.+?):deadline:(?P<Region>.+?):(?P<Account>.+?):farm/(?P<FarmId>.+?)/fleet/(?P<FleetId>.+?)$'), ['fleet']),
        (re.compile(r'^arn:(?P<Partition>.+?):deadline:(?P<Region>.+?):(?P<Account>.+?):farm/(?P<FarmId>.+?)/queue/(?P<QueueId>.+?)$'), ['queue']),
        (re.compile(r'^arn:(?P<Partition>.+?):deadline:(?P<Region>.+?):(?P<Account>.+?):farm/(?P<FarmId>.+?)$'), ['farm']),
        (re.compile(r'^arn:(?P<Partition>.+?):deadline:(?P<Region>.+?):(?P<Account>.+?):license-endpoint/(?P<LicenseEndpointId>.+?)$'), ['license-endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):deadline:(?P<Region>.+?):(?P<Account>.+?):monitor/(?P<MonitorId>.+?)$'), ['monitor']),
    ],
    'detective': [
        (re.compile(r'^arn:(?P<Partition>.+?):detective:(?P<Region>.+?):(?P<Account>.+?):graph:(?P<ResourceId>.+?)$'), ['Graph']),
    ],
    'devicefarm': [
        (re.compile(r'^arn:(?P<Partition>.+?):devicefarm:(?P<Region>.+?)::device:(?P<ResourceId>.+?)$'), ['device']),
        (re.compile(r'^arn:(?P<Partition>.+?):devicefarm:(?P<Region>.+?)::deviceinstance:(?P<ResourceId>.+?)$'), ['deviceinstance']),
        (re.compile(r'^arn:(?P<Partition>.+?):devicefarm:(?P<Region>.+?):(?P<Account>.+?):artifact:(?P<ResourceId>.+?)$'), ['artifact']),
        (re.compile(r'^arn:(?P<Partition>.+?):devicefarm:(?P<Region>.+?):(?P<Account>.+?):devicepool:(?P<ResourceId>.+?)$'), ['devicepool']),
        (re.compile(r'^arn:(?P<Partition>.+?):devicefarm:(?P<Region>.+?):(?P<Account>.+?):instanceprofile:(?P<ResourceId>.+?)$'), ['instanceprofile']),
        (re.compile(r'^arn:(?P<Partition>.+?):devicefarm:(?P<Region>.+?):(?P<Account>.+?):job:(?P<ResourceId>.+?)$'), ['job']),
        (re.compile(r'^arn:(?P<Partition>.+?):devicefarm:(?P<Region>.+?):(?P<Account>.+?):networkprofile:(?P<ResourceId>.+?)$'), ['networkprofile']),
        (re.compile(r'^arn:(?P<Partition>.+?):devicefarm:(?P<Region>.+?):(?P<Account>.+?):project:(?P<ResourceId>.+?)$'), ['project']),
        (re.compile(r'^arn:(?P<Partition>.+?):devicefarm:(?P<Region>.+?):(?P<Account>.+?):run:(?P<ResourceId>.+?)$'), ['run']),
        (re.compile(r'^arn:(?P<Partition>.+?):devicefarm:(?P<Region>.+?):(?P<Account>.+?):sample:(?P<ResourceId>.+?)$'), ['sample']),
        (re.compile(r'^arn:(?P<Partition>.+?):devicefarm:(?P<Region>.+?):(?P<Account>.+?):session:(?P<ResourceId>.+?)$'), ['session']),
        (re.compile(r'^arn:(?P<Partition>.+?):devicefarm:(?P<Region>.+?):(?P<Account>.+?):suite:(?P<ResourceId>.+?)$'), ['suite']),
        (re.compile(r'^arn:(?P<Partition>.+?):devicefarm:(?P<Region>.+?):(?P<Account>.+?):test:(?P<ResourceId>.+?)$'), ['test']),
        (re.compile(r'^arn:(?P<Partition>.+?):devicefarm:(?P<Region>.+?):(?P<Account>.+?):testgrid-project:(?P<ResourceId>.+?)$'), ['testgrid-project']),
        (re.compile(r'^arn:(?P<Partition>.+?):devicefarm:(?P<Region>.+?):(?P<Account>.+?):testgrid-session:(?P<ResourceId>.+?)$'), ['testgrid-session']),
        (re.compile(r'^arn:(?P<Partition>.+?):devicefarm:(?P<Region>.+?):(?P<Account>.+?):upload:(?P<ResourceId>.+?)$'), ['upload']),
        (re.compile(r'^arn:(?P<Partition>.+?):devicefarm:(?P<Region>.+?):(?P<Account>.+?):vpceconfiguration:(?P<ResourceId>.+?)$'), ['vpceconfiguration']),
    ],
    'directconnect': [
        (re.compile(r'^arn:(?P<Partition>.+?):directconnect::(?P<Account>.+?):dx-gateway/(?P<DirectConnectGatewayId>.+?)$'), ['dx-gateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):directconnect:(?P<Region>.+?):(?P<Account>.+?):dxcon/(?P<ConnectionId>.+?)$'), ['dxcon']),
        (re.compile(r'^arn:(?P<Partition>.+?):directconnect:(?P<Region>.+?):(?P<Account>.+?):dxlag/(?P<LagId>.+?)$'), ['dxlag']),
        (re.compile(r'^arn:(?P<Partition>.+?):directconnect:(?P<Region>.+?):(?P<Account>.+?):dxvif/(?P<VirtualInterfaceId>.+?)$'), ['dxvif']),
    ],
    'dlm': [
        (re.compile(r'^arn:(?P<Partition>.+?):dlm:(?P<Region>.+?):(?P<Account>.+?):policy/(?P<ResourceName>.+?)$'), ['policy']),
    ],
    'docdb-elastic': [
        (re.compile(r'^arn:(?P<Partition>.+?):docdb-elastic:(?P<Region>.+?):(?P<Account>.+?):cluster/(?P<ResourceId>.+?)$'), ['cluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):docdb-elastic:(?P<Region>.+?):(?P<Account>.+?):cluster-snapshot/(?P<ResourceId>.+?)$'), ['cluster-snapshot']),
    ],
    'drs': [
        (re.compile(r'^arn:(?P<Partition>.+?):drs:(?P<Region>.+?):(?P<Account>.+?):job/(?P<JobID>.+?)$'), ['JobResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):drs:(?P<Region>.+?):(?P<Account>.+?):launch-configuration-template/(?P<LaunchConfigurationTemplateID>.+?)$'), ['LaunchConfigurationTemplateResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):drs:(?P<Region>.+?):(?P<Account>.+?):recovery-instance/(?P<RecoveryInstanceID>.+?)$'), ['RecoveryInstanceResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):drs:(?P<Region>.+?):(?P<Account>.+?):replication-configuration-template/(?P<ReplicationConfigurationTemplateID>.+?)$'), ['ReplicationConfigurationTemplateResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):drs:(?P<Region>.+?):(?P<Account>.+?):source-network/(?P<SourceNetworkID>.+?)$'), ['SourceNetworkResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):drs:(?P<Region>.+?):(?P<Account>.+?):source-server/(?P<SourceServerID>.+?)$'), ['SourceServerResource']),
    ],
    'ds': [
        (re.compile(r'^arn:(?P<Partition>.+?):ds:(?P<Region>.+?):(?P<Account>.+?):directory/(?P<DirectoryId>.+?)$'), ['directory']),
    ],
    'dsql': [
        (re.compile(r'^arn:(?P<Partition>.+?):dsql:(?P<Region>.+?):(?P<Account>.+?):cluster/(?P<Identifier>.+?)$'), ['Cluster']),
    ],
    'dynamodb': [
        (re.compile(r'^arn:(?P<Partition>.+?):dynamodb::(?P<Account>.+?):global-table/(?P<GlobalTableName>.+?)$'), ['global-table']),
        (re.compile(r'^arn:(?P<Partition>.+?):dynamodb:(?P<Region>.+?):(?P<Account>.+?):table/(?P<TableName>.+?)/backup/(?P<BackupName>.+?)$'), ['backup']),
        (re.compile(r'^arn:(?P<Partition>.+?):dynamodb:(?P<Region>.+?):(?P<Account>.+?):table/(?P<TableName>.+?)/export/(?P<ExportName>.+?)$'), ['export']),
        (re.compile(r'^arn:(?P<Partition>.+?):dynamodb:(?P<Region>.+?):(?P<Account>.+?):table/(?P<TableName>.+?)/import/(?P<ImportName>.+?)$'), ['import']),
        (re.compile(r'^arn:(?P<Partition>.+?):dynamodb:(?P<Region>.+?):(?P<Account>.+?):table/(?P<TableName>.+?)/index/(?P<IndexName>.+?)$'), ['index']),
        (re.compile(r'^arn:(?P<Partition>.+?):dynamodb:(?P<Region>.+?):(?P<Account>.+?):table/(?P<TableName>.+?)/stream/(?P<StreamLabel>.+?)$'), ['stream']),
        (re.compile(r'^arn:(?P<Partition>.+?):dynamodb:(?P<Region>.+?):(?P<Account>.+?):table/(?P<TableName>.+?)$'), ['table']),
    ],
    'ec2': [
        (re.compile(r'^arn:(?P<Partition>.+?):ec2::(?P<Account>.+?):ipam/(?P<IpamId>.+?)$'), ['ipam']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2::(?P<Account>.+?):ipam-external-resource-verification-token/(?P<IpamExternalResourceVerificationTokenId>.+?)$'), ['ipam-external-resource-verification-token']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2::(?P<Account>.+?):ipam-policy/(?P<IpamPolicyId>.+?)$'), ['ipam-policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2::(?P<Account>.+?):ipam-pool/(?P<IpamPoolId>.+?)$'), ['ipam-pool']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2::(?P<Account>.+?):ipam-prefix-list-resolver/(?P<IpamPrefixListResolverId>.+?)$'), ['ipam-prefix-list-resolver']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2::(?P<Account>.+?):ipam-prefix-list-resolver-target/(?P<IpamPrefixListResolverTargetId>.+?)$'), ['ipam-prefix-list-resolver-target']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2::(?P<Account>.+?):ipam-resource-discovery/(?P<IpamResourceDiscoveryId>.+?)$'), ['ipam-resource-discovery']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2::(?P<Account>.+?):ipam-resource-discovery-association/(?P<IpamResourceDiscoveryAssociationId>.+?)$'), ['ipam-resource-discovery-association']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2::(?P<Account>.+?):ipam-scope/(?P<IpamScopeId>.+?)$'), ['ipam-scope']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):capacity-block/(?P<CapacityBlockId>.+?)$'), ['capacity-block']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):capacity-manager-data-export/(?P<CapacityManagerDataExportId>.+?)$'), ['capacity-manager-data-export']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):capacity-reservation/(?P<CapacityReservationId>.+?)$'), ['capacity-reservation']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):capacity-reservation-fleet/(?P<CapacityReservationFleetId>.+?)$'), ['capacity-reservation-fleet']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):carrier-gateway/(?P<CarrierGatewayId>.+?)$'), ['carrier-gateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):client-vpn-endpoint/(?P<ClientVpnEndpointId>.+?)$'), ['client-vpn-endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):coip-pool/(?P<Ipv4PoolCoipId>.+?)$'), ['coip-pool']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):customer-gateway/(?P<CustomerGatewayId>.+?)$'), ['customer-gateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):declarative-policies-report/(?P<DeclarativePoliciesReportId>.+?)$'), ['declarative-policies-report']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):dedicated-host/(?P<DedicatedHostId>.+?)$'), ['dedicated-host']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):dhcp-options/(?P<DhcpOptionsId>.+?)$'), ['dhcp-options']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):egress-only-internet-gateway/(?P<EgressOnlyInternetGatewayId>.+?)$'), ['egress-only-internet-gateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):elastic-gpu/(?P<ElasticGpuId>.+?)$'), ['elastic-gpu']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):elastic-ip/(?P<AllocationId>.+?)$'), ['elastic-ip']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):export-image-task/(?P<ExportImageTaskId>.+?)$'), ['export-image-task']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):export-instance-task/(?P<ExportTaskId>.+?)$'), ['export-instance-task']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):fleet/(?P<FleetId>.+?)$'), ['fleet']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):fpga-image/(?P<FpgaImageId>.+?)$'), ['fpga-image']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):host-reservation/(?P<HostReservationId>.+?)$'), ['host-reservation']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):image-usage-report/(?P<ImageUsageReportId>.+?)$'), ['image-usage-report']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):import-image-task/(?P<ImportImageTaskId>.+?)$'), ['import-image-task']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):import-snapshot-task/(?P<ImportSnapshotTaskId>.+?)$'), ['import-snapshot-task']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)$'), ['instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):instance-connect-endpoint/(?P<InstanceConnectEndpointId>.+?)$'), ['instance-connect-endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):instance-event-window/(?P<InstanceEventWindowId>.+?)$'), ['instance-event-window']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):internet-gateway/(?P<InternetGatewayId>.+?)$'), ['internet-gateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):ipv4pool-ec2/(?P<Ipv4PoolEc2Id>.+?)$'), ['ipv4pool-ec2']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):ipv6pool-ec2/(?P<Ipv6PoolEc2Id>.+?)$'), ['ipv6pool-ec2']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):key-pair/(?P<KeyPairName>.+?)$'), ['key-pair']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):launch-template/(?P<LaunchTemplateId>.+?)$'), ['launch-template']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):local-gateway/(?P<LocalGatewayId>.+?)$'), ['local-gateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):local-gateway-route-table/(?P<LocalGatewayRoutetableId>.+?)$'), ['local-gateway-route-table']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):local-gateway-route-table-virtual-interface-group-association/(?P<LocalGatewayRouteTableVirtualInterfaceGroupAssociationId>.+?)$'), ['local-gateway-route-table-virtual-interface-group-association']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):local-gateway-route-table-vpc-association/(?P<LocalGatewayRouteTableVpcAssociationId>.+?)$'), ['local-gateway-route-table-vpc-association']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):local-gateway-virtual-interface/(?P<LocalGatewayVirtualInterfaceId>.+?)$'), ['local-gateway-virtual-interface']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):local-gateway-virtual-interface-group/(?P<LocalGatewayVirtualInterfaceGroupId>.+?)$'), ['local-gateway-virtual-interface-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):mac-modification-task/(?P<MacModificationTaskId>.+?)$'), ['mac-modification-task']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):natgateway/(?P<NatGatewayId>.+?)$'), ['natgateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):network-acl/(?P<NaclId>.+?)$'), ['network-acl']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):network-insights-access-scope/(?P<NetworkInsightsAccessScopeId>.+?)$'), ['network-insights-access-scope']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):network-insights-access-scope-analysis/(?P<NetworkInsightsAccessScopeAnalysisId>.+?)$'), ['network-insights-access-scope-analysis']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):network-insights-analysis/(?P<NetworkInsightsAnalysisId>.+?)$'), ['network-insights-analysis']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):network-insights-path/(?P<NetworkInsightsPathId>.+?)$'), ['network-insights-path']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):network-interface/(?P<NetworkInterfaceId>.+?)$'), ['network-interface']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):outpost-lag/(?P<OutpostLagId>.+?)$'), ['outpost-lag']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):placement-group/(?P<PlacementGroupName>.+?)$'), ['placement-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):prefix-list/(?P<PrefixListId>.+?)$'), ['prefix-list']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):replace-root-volume-task/(?P<ReplaceRootVolumeTaskId>.+?)$'), ['replace-root-volume-task']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):reserved-instances/(?P<ReservationId>.+?)$'), ['reserved-instances']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):route-server/(?P<RouteServerId>.+?)$'), ['route-server']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):route-server-endpoint/(?P<RouteServerEndpointId>.+?)$'), ['route-server-endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):route-server-peer/(?P<RouteServerPeerId>.+?)$'), ['route-server-peer']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):route-table/(?P<RouteTableId>.+?)$'), ['route-table']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):security-group/(?P<SecurityGroupId>.+?)$'), ['security-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):security-group-rule/(?P<SecurityGroupRuleId>.+?)$'), ['security-group-rule']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):spot-fleet-request/(?P<SpotFleetRequestId>.+?)$'), ['spot-fleet-request']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):spot-instances-request/(?P<SpotInstanceRequestId>.+?)$'), ['spot-instances-request']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):subnet/(?P<SubnetId>.+?)$'), ['subnet']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):subnet-cidr-reservation/(?P<SubnetCidrReservationId>.+?)$'), ['subnet-cidr-reservation']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):traffic-mirror-filter/(?P<TrafficMirrorFilterId>.+?)$'), ['traffic-mirror-filter']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):traffic-mirror-filter-rule/(?P<TrafficMirrorFilterRuleId>.+?)$'), ['traffic-mirror-filter-rule']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):traffic-mirror-session/(?P<TrafficMirrorSessionId>.+?)$'), ['traffic-mirror-session']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):traffic-mirror-target/(?P<TrafficMirrorTargetId>.+?)$'), ['traffic-mirror-target']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):transit-gateway/(?P<TransitGatewayId>.+?)$'), ['transit-gateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):transit-gateway-attachment/(?P<TransitGatewayAttachmentId>.+?)$'), ['transit-gateway-attachment']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):transit-gateway-connect-peer/(?P<TransitGatewayConnectPeerId>.+?)$'), ['transit-gateway-connect-peer']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):transit-gateway-metering-policy/(?P<TransitGatewayMeteringPolicyId>.+?)$'), ['transit-gateway-metering-policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):transit-gateway-multicast-domain/(?P<TransitGatewayMulticastDomainId>.+?)$'), ['transit-gateway-multicast-domain']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):transit-gateway-policy-table/(?P<TransitGatewayPolicyTableId>.+?)$'), ['transit-gateway-policy-table']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):transit-gateway-route-table/(?P<TransitGatewayRouteTableId>.+?)$'), ['transit-gateway-route-table']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):transit-gateway-route-table-announcement/(?P<TransitGatewayRouteTableAnnouncementId>.+?)$'), ['transit-gateway-route-table-announcement']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):verified-access-endpoint/(?P<VerifiedAccessEndpointId>.+?)$'), ['verified-access-endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):verified-access-endpoint-target/(?P<VerifiedAccessEndpointTargetId>.+?)$'), ['verified-access-endpoint-target']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):verified-access-group/(?P<VerifiedAccessGroupId>.+?)$'), ['verified-access-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):verified-access-instance/(?P<VerifiedAccessInstanceId>.+?)$'), ['verified-access-instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):verified-access-policy/(?P<VerifiedAccessPolicyId>.+?)$'), ['verified-access-policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):verified-access-trust-provider/(?P<VerifiedAccessTrustProviderId>.+?)$'), ['verified-access-trust-provider']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):volume/(?P<VolumeId>.+?)$'), ['volume']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):vpc/(?P<VpcId>.+?)$'), ['vpc']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):vpc-block-public-access-exclusion/(?P<VpcBlockPublicAccessExclusionId>.+?)$'), ['vpc-block-public-access-exclusion']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):vpc-encryption-control/(?P<VpcEncryptionControlId>.+?)$'), ['vpc-encryption-control']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):vpc-endpoint/(?P<VpcEndpointId>.+?)$'), ['vpc-endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):vpc-endpoint-connection/(?P<VpcEndpointConnectionId>.+?)$'), ['vpc-endpoint-connection']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):vpc-endpoint-service/(?P<VpcEndpointServiceId>.+?)$'), ['vpc-endpoint-service']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):vpc-endpoint-service-permission/(?P<VpcEndpointServicePermissionId>.+?)$'), ['vpc-endpoint-service-permission']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):vpc-flow-log/(?P<VpcFlowLogId>.+?)$'), ['vpc-flow-log']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):vpc-peering-connection/(?P<VpcPeeringConnectionId>.+?)$'), ['vpc-peering-connection']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):vpn-concentrator/(?P<VpnConcentratorId>.+?)$'), ['vpn-concentrator']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):vpn-connection/(?P<VpnConnectionId>.+?)$'), ['vpn-connection']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):vpn-connection-device-type/(?P<VpnConnectionDeviceTypeId>.+?)$'), ['vpn-connection-device-type']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):vpn-gateway/(?P<VpnGatewayId>.+?)$'), ['vpn-gateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):image/(?P<ImageId>.+?)$'), ['image']),
        (re.compile(r'^arn:(?P<Partition>.+?):ec2:(?P<Region>.+?):(?P<Account>.+?):snapshot/(?P<SnapshotId>.+?)$'), ['snapshot']),
    ],
    'ecr': [
        (re.compile(r'^arn:(?P<Partition>.+?):ecr:(?P<Region>.+?):(?P<Account>.+?):repository/(?P<RepositoryName>.+?)$'), ['repository']),
    ],
    'ecr-public': [
        (re.compile(r'^arn:(?P<Partition>.+?):ecr-public::(?P<Account>.+?):registry/(?P<RegistryId>.+?)$'), ['registry']),
        (re.compile(r'^arn:(?P<Partition>.+?):ecr-public::(?P<Account>.+?):repository/(?P<RepositoryName>.+?)$'), ['repository']),
    ],
    'ecs': [
        (re.compile(r'^arn:(?P<Partition>.+?):ecs:(?P<Region>.+?):(?P<Account>.+?):service-deployment/(?P<ClusterName>.+?)/(?P<ServiceName>.+?)/(?P<ServiceDeploymentId>.+?)$'), ['service-deployment']),
        (re.compile(r'^arn:(?P<Partition>.+?):ecs:(?P<Region>.+?):(?P<Account>.+?):service-revision/(?P<ClusterName>.+?)/(?P<ServiceName>.+?)/(?P<ServiceRevisionId>.+?)$'), ['service-revision']),
        (re.compile(r'^arn:(?P<Partition>.+?):ecs:(?P<Region>.+?):(?P<Account>.+?):task-set/(?P<ClusterName>.+?)/(?P<ServiceName>.+?)/(?P<TaskSetId>.+?)$'), ['task-set']),
        (re.compile(r'^arn:(?P<Partition>.+?):ecs:(?P<Region>.+?):(?P<Account>.+?):container-instance/(?P<ClusterName>.+?)/(?P<ContainerInstanceId>.+?)$'), ['container-instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):ecs:(?P<Region>.+?):(?P<Account>.+?):service/(?P<ClusterName>.+?)/(?P<ServiceName>.+?)$'), ['service']),
        (re.compile(r'^arn:(?P<Partition>.+?):ecs:(?P<Region>.+?):(?P<Account>.+?):task/(?P<ClusterName>.+?)/(?P<TaskId>.+?)$'), ['task']),
        (re.compile(r'^arn:(?P<Partition>.+?):ecs:(?P<Region>.+?):(?P<Account>.+?):task-definition/(?P<TaskDefinitionFamilyName>.+?):(?P<TaskDefinitionRevisionNumber>.+?)$'), ['task-definition']),
        (re.compile(r'^arn:(?P<Partition>.+?):ecs:(?P<Region>.+?):(?P<Account>.+?):capacity-provider/(?P<CapacityProviderName>.+?)$'), ['capacity-provider']),
        (re.compile(r'^arn:(?P<Partition>.+?):ecs:(?P<Region>.+?):(?P<Account>.+?):cluster/(?P<ClusterName>.+?)$'), ['cluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):ecs:(?P<Region>.+?):(?P<Account>.+?):task/(?P<TaskId>.+?)$'), ['task']),
    ],
    'eks': [
        (re.compile(r'^arn:(?P<Partition>.+?):eks::aws:cluster-access-policy/(?P<AccessPolicyName>.+?)$'), ['access-policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):access-entry/(?P<ClusterName>.+?)/(?P<IamIdentityType>.+?)/(?P<IamIdentityAccountID>.+?)/(?P<IamIdentityName>.+?)/(?P<UUID>.+?)$'), ['access-entry']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):capability/(?P<ClusterName>.+?)/(?P<CapabilityType>.+?)/(?P<CapabilityName>.+?)/(?P<UUID>.+?)$'), ['capability']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):identityproviderconfig/(?P<ClusterName>.+?)/(?P<IdentityProviderType>.+?)/(?P<IdentityProviderConfigName>.+?)/(?P<UUID>.+?)$'), ['identityproviderconfig']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):addon/(?P<ClusterName>.+?)/(?P<AddonName>.+?)/(?P<UUID>.+?)$'), ['addon']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):fargateprofile/(?P<ClusterName>.+?)/(?P<FargateProfileName>.+?)/(?P<UUID>.+?)$'), ['fargateprofile']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):nodegroup/(?P<ClusterName>.+?)/(?P<NodegroupName>.+?)/(?P<UUID>.+?)$'), ['nodegroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):podidentityassociation/(?P<ClusterName>.+?)/(?P<UUID>.+?)$'), ['podidentityassociation']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):cluster/(?P<ClusterName>.+?)$'), ['cluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):dashboard/(?P<DashboardName>.+?)$'), ['dashboard']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):eks-anywhere-subscription/(?P<UUID>.+?)$'), ['eks-anywhere-subscription']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):deployment/(?P<ClusterName>.+?)/(?P<Namespace>.+?)/(?P<DeploymentName>.+?)/(?P<UUID>.+?)$'), ['deployment']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):replicaset/(?P<ClusterName>.+?)/(?P<Namespace>.+?)/(?P<ReplicaSetName>.+?)/(?P<UUID>.+?)$'), ['replicaset']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):service/(?P<ClusterName>.+?)/(?P<Namespace>.+?)/(?P<ServiceName>.+?)/(?P<UUID>.+?)$'), ['service']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):endpointslice/(?P<ClusterName>.+?)/(?P<Namespace>.+?)/(?P<EndpointSliceName>.+?)/(?P<UUID>.+?)$'), ['endpointslice']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):namespace/(?P<ClusterName>.+?)/(?P<NamespaceName>.+?)/(?P<UUID>.+?)$'), ['namespace']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):ingress/(?P<ClusterName>.+?)/(?P<Namespace>.+?)/(?P<IngressName>.+?)/(?P<UUID>.+?)$'), ['ingress']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):statefulset/(?P<ClusterName>.+?)/(?P<Namespace>.+?)/(?P<StatefulSetName>.+?)/(?P<UUID>.+?)$'), ['statefulset']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):persistentvolume/(?P<ClusterName>.+?)/(?P<PersistentVolumeName>.+?)/(?P<UUID>.+?)$'), ['persistentvolume']),
        (re.compile(r'^arn:(?P<Partition>.+?):eks:(?P<Region>.+?):(?P<Account>.+?):daemonset/(?P<ClusterName>.+?)/(?P<Namespace>.+?)/(?P<DaemonSetName>.+?)/(?P<UUID>.+?)$'), ['daemonset']),
    ],
    'elastic-inference': [
        (re.compile(r'^arn:(?P<Partition>.+?):elastic-inference:(?P<Region>.+?):(?P<Account>.+?):elastic-inference-accelerator/(?P<AcceleratorId>.+?)$'), ['elastic-inference']),
    ],
    'elasticache': [
        (re.compile(r'^arn:(?P<Partition>.+?):elasticache::(?P<Account>.+?):globalreplicationgroup:(?P<GlobalReplicationGroupId>.+?)$'), ['globalreplicationgroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticache:(?P<Region>.+?):(?P<Account>.+?):cluster:(?P<CacheClusterId>.+?)$'), ['cluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticache:(?P<Region>.+?):(?P<Account>.+?):parametergroup:(?P<CacheParameterGroupName>.+?)$'), ['parametergroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticache:(?P<Region>.+?):(?P<Account>.+?):replicationgroup:(?P<ReplicationGroupId>.+?)$'), ['replicationgroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticache:(?P<Region>.+?):(?P<Account>.+?):reserved-instance:(?P<ReservedCacheNodeId>.+?)$'), ['reserved-instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticache:(?P<Region>.+?):(?P<Account>.+?):securitygroup:(?P<CacheSecurityGroupName>.+?)$'), ['securitygroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticache:(?P<Region>.+?):(?P<Account>.+?):serverlesscache:(?P<ServerlessCacheName>.+?)$'), ['serverlesscache']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticache:(?P<Region>.+?):(?P<Account>.+?):serverlesscachesnapshot:(?P<ServerlessCacheSnapshotName>.+?)$'), ['serverlesscachesnapshot']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticache:(?P<Region>.+?):(?P<Account>.+?):snapshot:(?P<SnapshotName>.+?)$'), ['snapshot']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticache:(?P<Region>.+?):(?P<Account>.+?):subnetgroup:(?P<CacheSubnetGroupName>.+?)$'), ['subnetgroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticache:(?P<Region>.+?):(?P<Account>.+?):user:(?P<UserId>.+?)$'), ['user']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticache:(?P<Region>.+?):(?P<Account>.+?):usergroup:(?P<UserGroupId>.+?)$'), ['usergroup']),
    ],
    'elasticbeanstalk': [
        (re.compile(r'^arn:(?P<Partition>.+?):elasticbeanstalk:(?P<Region>.+?)::platform/(?P<PlatformNameWithVersion>.+?)$'), ['platform']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticbeanstalk:(?P<Region>.+?)::solutionstack/(?P<SolutionStackName>.+?)$'), ['solutionstack']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticbeanstalk:(?P<Region>.+?):(?P<Account>.+?):applicationversion/(?P<ApplicationName>.+?)/(?P<VersionLabel>.+?)$'), ['applicationversion']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticbeanstalk:(?P<Region>.+?):(?P<Account>.+?):configurationtemplate/(?P<ApplicationName>.+?)/(?P<TemplateName>.+?)$'), ['configurationtemplate']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticbeanstalk:(?P<Region>.+?):(?P<Account>.+?):environment/(?P<ApplicationName>.+?)/(?P<EnvironmentName>.+?)$'), ['environment']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticbeanstalk:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationName>.+?)$'), ['application']),
    ],
    'elasticfilesystem': [
        (re.compile(r'^arn:(?P<Partition>.+?):elasticfilesystem:(?P<Region>.+?):(?P<Account>.+?):access-point/(?P<AccessPointId>.+?)$'), ['access-point']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticfilesystem:(?P<Region>.+?):(?P<Account>.+?):file-system/(?P<FileSystemId>.+?)$'), ['file-system']),
    ],
    'elasticloadbalancing': [
        (re.compile(r'^arn:(?P<Partition>.+?):elasticloadbalancing:(?P<Region>.+?):(?P<Account>.+?):listener-rule/app/(?P<LoadBalancerName>.+?)/(?P<LoadBalancerId>.+?)/(?P<ListenerId>.+?)/(?P<ListenerRuleId>.+?)$'), ['listener-rule/app']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticloadbalancing:(?P<Region>.+?):(?P<Account>.+?):listener-rule/net/(?P<LoadBalancerName>.+?)/(?P<LoadBalancerId>.+?)/(?P<ListenerId>.+?)/(?P<ListenerRuleId>.+?)$'), ['listener-rule/net']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticloadbalancing:(?P<Region>.+?):(?P<Account>.+?):listener/app/(?P<LoadBalancerName>.+?)/(?P<LoadBalancerId>.+?)/(?P<ListenerId>.+?)$'), ['listener/app']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticloadbalancing:(?P<Region>.+?):(?P<Account>.+?):listener/gwy/(?P<LoadBalancerName>.+?)/(?P<LoadBalancerId>.+?)/(?P<ListenerId>.+?)$'), ['listener/gwy']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticloadbalancing:(?P<Region>.+?):(?P<Account>.+?):listener/net/(?P<LoadBalancerName>.+?)/(?P<LoadBalancerId>.+?)/(?P<ListenerId>.+?)$'), ['listener/net']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticloadbalancing:(?P<Region>.+?):(?P<Account>.+?):loadbalancer/app/(?P<LoadBalancerName>.+?)/(?P<LoadBalancerId>.+?)$'), ['loadbalancer/app/', 'loadbalancer/app']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticloadbalancing:(?P<Region>.+?):(?P<Account>.+?):loadbalancer/gwy/(?P<LoadBalancerName>.+?)/(?P<LoadBalancerId>.+?)$'), ['loadbalancer/gwy/', 'loadbalancer/gwy']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticloadbalancing:(?P<Region>.+?):(?P<Account>.+?):loadbalancer/net/(?P<LoadBalancerName>.+?)/(?P<LoadBalancerId>.+?)$'), ['loadbalancer/net/', 'loadbalancer/net']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticloadbalancing:(?P<Region>.+?):(?P<Account>.+?):targetgroup/(?P<TargetGroupName>.+?)/(?P<TargetGroupId>.+?)$'), ['targetgroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticloadbalancing:(?P<Region>.+?):(?P<Account>.+?):truststore/(?P<TrustStoreName>.+?)/(?P<TrustStoreId>.+?)$'), ['truststore']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticloadbalancing:(?P<Region>.+?):(?P<Account>.+?):loadbalancer/(?P<LoadBalancerName>.+?)$'), ['loadbalancer']),
    ],
    'elasticmapreduce': [
        (re.compile(r'^arn:(?P<Partition>.+?):elasticmapreduce:(?P<Region>.+?):(?P<Account>.+?):cluster/(?P<ClusterId>.+?)$'), ['cluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticmapreduce:(?P<Region>.+?):(?P<Account>.+?):editor/(?P<EditorId>.+?)$'), ['editor']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticmapreduce:(?P<Region>.+?):(?P<Account>.+?):notebook-execution/(?P<NotebookExecutionId>.+?)$'), ['notebook-execution']),
        (re.compile(r'^arn:(?P<Partition>.+?):elasticmapreduce:(?P<Region>.+?):(?P<Account>.+?):studio/(?P<StudioId>.+?)$'), ['studio']),
    ],
    'elastictranscoder': [
        (re.compile(r'^arn:(?P<Partition>.+?):elastictranscoder:(?P<Region>.+?):(?P<Account>.+?):job/(?P<JobId>.+?)$'), ['job']),
        (re.compile(r'^arn:(?P<Partition>.+?):elastictranscoder:(?P<Region>.+?):(?P<Account>.+?):pipeline/(?P<PipelineId>.+?)$'), ['pipeline']),
        (re.compile(r'^arn:(?P<Partition>.+?):elastictranscoder:(?P<Region>.+?):(?P<Account>.+?):preset/(?P<PresetId>.+?)$'), ['preset']),
    ],
    'elemental-appliances-software': [
        (re.compile(r'^arn:(?P<Partition>.+?):elemental-appliances-software:(?P<Region>.+?):(?P<Account>.+?):quote/(?P<ResourceId>.+?)$'), ['quote']),
    ],
    'elemental-support-cases': [
        (re.compile(r'^arn:(?P<Partition>.+?):elemental-support-cases::(?P<Account>.+?):case/(?P<ResourceId>.+?)$'), ['case']),
    ],
    'emr-containers': [
        (re.compile(r'^arn:(?P<Partition>.+?):emr-containers:(?P<Region>.+?):(?P<Account>.+?):/virtualclusters/(?P<VirtualClusterId>.+?)/endpoints/(?P<EndpointId>.+?)$'), ['managedEndpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):emr-containers:(?P<Region>.+?):(?P<Account>.+?):/virtualclusters/(?P<VirtualClusterId>.+?)/jobruns/(?P<JobRunId>.+?)$'), ['jobRun']),
        (re.compile(r'^arn:(?P<Partition>.+?):emr-containers:(?P<Region>.+?):(?P<Account>.+?):/jobtemplates/(?P<JobTemplateId>.+?)$'), ['jobTemplate']),
        (re.compile(r'^arn:(?P<Partition>.+?):emr-containers:(?P<Region>.+?):(?P<Account>.+?):/securityconfigurations/(?P<SecurityConfigurationId>.+?)$'), ['securityConfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):emr-containers:(?P<Region>.+?):(?P<Account>.+?):/virtualclusters/(?P<VirtualClusterId>.+?)$'), ['virtualCluster']),
    ],
    'emr-serverless': [
        (re.compile(r'^arn:(?P<Partition>.+?):emr-serverless:(?P<Region>.+?):(?P<Account>.+?):/applications/(?P<ApplicationId>.+?)/jobruns/(?P<JobRunId>.+?)$'), ['jobRun']),
        (re.compile(r'^arn:(?P<Partition>.+?):emr-serverless:(?P<Region>.+?):(?P<Account>.+?):/applications/(?P<ApplicationId>.+?)$'), ['application']),
    ],
    'entityresolution': [
        (re.compile(r'^arn:(?P<Partition>.+?):entityresolution:(?P<Region>.+?):(?P<Account>.+?):providerservice/(?P<ProviderName>.+?)/(?P<ProviderServiceName>.+?)$'), ['ProviderService']),
        (re.compile(r'^arn:(?P<Partition>.+?):entityresolution:(?P<Region>.+?):(?P<Account>.+?):idmappingworkflow/(?P<WorkflowName>.+?)$'), ['IdMappingWorkflow']),
        (re.compile(r'^arn:(?P<Partition>.+?):entityresolution:(?P<Region>.+?):(?P<Account>.+?):idnamespace/(?P<IdNamespaceName>.+?)$'), ['IdNamespace']),
        (re.compile(r'^arn:(?P<Partition>.+?):entityresolution:(?P<Region>.+?):(?P<Account>.+?):matchingworkflow/(?P<WorkflowName>.+?)$'), ['MatchingWorkflow']),
        (re.compile(r'^arn:(?P<Partition>.+?):entityresolution:(?P<Region>.+?):(?P<Account>.+?):schemamapping/(?P<SchemaName>.+?)$'), ['SchemaMapping']),
    ],
    'es': [
        (re.compile(r'^arn:(?P<Partition>.+?):es:(?P<Region>.+?):(?P<Account>.+?):domain/(?P<DomainName>.+?)$'), ['domain']),
    ],
    'events': [
        (re.compile(r'^arn:(?P<Partition>.+?):events:(?P<Region>.+?)::event-source/(?P<EventSourceName>.+?)$'), ['event-source']),
        (re.compile(r'^arn:(?P<Partition>.+?):events:(?P<Region>.+?):(?P<Account>.+?):rule/(?P<EventBusName>.+?)/(?P<RuleName>.+?)$'), ['rule-on-custom-event-bus']),
        (re.compile(r'^arn:(?P<Partition>.+?):events:(?P<Region>.+?):(?P<Account>.+?):api-destination/(?P<ApiDestinationName>.+?)$'), ['api-destination']),
        (re.compile(r'^arn:(?P<Partition>.+?):events:(?P<Region>.+?):(?P<Account>.+?):archive/(?P<ArchiveName>.+?)$'), ['archive']),
        (re.compile(r'^arn:(?P<Partition>.+?):events:(?P<Region>.+?):(?P<Account>.+?):connection/(?P<ConnectionName>.+?)$'), ['connection']),
        (re.compile(r'^arn:(?P<Partition>.+?):events:(?P<Region>.+?):(?P<Account>.+?):endpoint/(?P<EndpointName>.+?)$'), ['endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):events:(?P<Region>.+?):(?P<Account>.+?):event-bus/(?P<EventBusName>.+?)$'), ['event-bus']),
        (re.compile(r'^arn:(?P<Partition>.+?):events:(?P<Region>.+?):(?P<Account>.+?):replay/(?P<ReplayName>.+?)$'), ['replay']),
        (re.compile(r'^arn:(?P<Partition>.+?):events:(?P<Region>.+?):(?P<Account>.+?):rule/(?P<RuleName>.+?)$'), ['rule-on-default-event-bus', 'rule']),
        (re.compile(r'^arn:(?P<Partition>.+?):events:(?P<Region>.+?):(?P<Account>.+?):target/create-snapshot$'), ['create-snapshot']),
        (re.compile(r'^arn:(?P<Partition>.+?):events:(?P<Region>.+?):(?P<Account>.+?):target/reboot-instance$'), ['reboot-instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):events:(?P<Region>.+?):(?P<Account>.+?):target/stop-instance$'), ['stop-instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):events:(?P<Region>.+?):(?P<Account>.+?):target/terminate-instance$'), ['terminate-instance']),
    ],
    'evidently': [
        (re.compile(r'^arn:(?P<Partition>.+?):evidently:(?P<Region>.+?):(?P<Account>.+?):project/(?P<ProjectName>.+?)/experiment/(?P<ExperimentName>.+?)$'), ['Experiment']),
        (re.compile(r'^arn:(?P<Partition>.+?):evidently:(?P<Region>.+?):(?P<Account>.+?):project/(?P<ProjectName>.+?)/feature/(?P<FeatureName>.+?)$'), ['Feature']),
        (re.compile(r'^arn:(?P<Partition>.+?):evidently:(?P<Region>.+?):(?P<Account>.+?):project/(?P<ProjectName>.+?)/launch/(?P<LaunchName>.+?)$'), ['Launch']),
        (re.compile(r'^arn:(?P<Partition>.+?):evidently:(?P<Region>.+?):(?P<Account>.+?):project/(?P<ProjectName>.+?)$'), ['Project']),
        (re.compile(r'^arn:(?P<Partition>.+?):evidently:(?P<Region>.+?):(?P<Account>.+?):segment/(?P<SegmentName>.+?)$'), ['Segment']),
    ],
    'evs': [
        (re.compile(r'^arn:(?P<Partition>.+?):evs:(?P<Region>.+?):(?P<Account>.+?):environment/(?P<EnvironmentIdentifier>.+?)$'), ['environment']),
    ],
    'execute-api': [
        (re.compile(r'^arn:(?P<Partition>.+?):execute-api:(?P<Region>.+?):(?P<Account>.+?):/domainnames/(?P<DomainName>.+?)\\+(?P<DomainIdentifier>.+?)$'), ['execute-api-domain']),
        (re.compile(r'^arn:(?P<Partition>.+?):execute-api:(?P<Region>.+?):(?P<Account>.+?):(?P<ApiId>.+?)/(?P<Stage>.+?)/(?P<Method>.+?)/(?P<ApiSpecificResourcePath>.+?)$'), ['execute-api-general']),
    ],
    'finspace': [
        (re.compile(r'^arn:(?P<Partition>.+?):finspace:(?P<Region>.+?):(?P<Account>.+?):kxEnvironment/(?P<EnvironmentId>.+?)/kxDatabase/(?P<KxDatabase>.+?)/kxDataview/(?P<KxDataview>.+?)$'), ['kxDataview']),
        (re.compile(r'^arn:(?P<Partition>.+?):finspace:(?P<Region>.+?):(?P<Account>.+?):kxEnvironment/(?P<EnvironmentId>.+?)/kxCluster/(?P<KxCluster>.+?)$'), ['kxCluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):finspace:(?P<Region>.+?):(?P<Account>.+?):kxEnvironment/(?P<EnvironmentId>.+?)/kxDatabase/(?P<KxDatabase>.+?)$'), ['kxDatabase']),
        (re.compile(r'^arn:(?P<Partition>.+?):finspace:(?P<Region>.+?):(?P<Account>.+?):kxEnvironment/(?P<EnvironmentId>.+?)/kxScalingGroup/(?P<KxScalingGroup>.+?)$'), ['kxScalingGroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):finspace:(?P<Region>.+?):(?P<Account>.+?):kxEnvironment/(?P<EnvironmentId>.+?)/kxUser/(?P<UserName>.+?)$'), ['kxUser']),
        (re.compile(r'^arn:(?P<Partition>.+?):finspace:(?P<Region>.+?):(?P<Account>.+?):kxEnvironment/(?P<EnvironmentId>.+?)/kxVolume/(?P<KxVolume>.+?)$'), ['kxVolume']),
        (re.compile(r'^arn:(?P<Partition>.+?):finspace:(?P<Region>.+?):(?P<Account>.+?):environment/(?P<EnvironmentId>.+?)$'), ['environment']),
        (re.compile(r'^arn:(?P<Partition>.+?):finspace:(?P<Region>.+?):(?P<Account>.+?):kxEnvironment/(?P<EnvironmentId>.+?)$'), ['kxEnvironment']),
        (re.compile(r'^arn:(?P<Partition>.+?):finspace:(?P<Region>.+?):(?P<Account>.+?):user/(?P<UserId>.+?)$'), ['user']),
    ],
    'finspace-api': [
        (re.compile(r'^arn:(?P<Partition>.+?):finspace-api:(?P<Region>.+?):(?P<Account>.+?):/credentials/programmatic$'), ['credential']),
    ],
    'firehose': [
        (re.compile(r'^arn:(?P<Partition>.+?):firehose:(?P<Region>.+?):(?P<Account>.+?):deliverystream/(?P<DeliveryStreamName>.+?)$'), ['deliverystream']),
    ],
    'fis': [
        (re.compile(r'^arn:(?P<Partition>.+?):fis:(?P<Region>.+?):(?P<Account>.+?):action/(?P<Id>.+?)$'), ['action']),
        (re.compile(r'^arn:(?P<Partition>.+?):fis:(?P<Region>.+?):(?P<Account>.+?):experiment/(?P<Id>.+?)$'), ['experiment']),
        (re.compile(r'^arn:(?P<Partition>.+?):fis:(?P<Region>.+?):(?P<Account>.+?):experiment-template/(?P<Id>.+?)$'), ['experiment-template']),
        (re.compile(r'^arn:(?P<Partition>.+?):fis:(?P<Region>.+?):(?P<Account>.+?):safety-lever/(?P<Id>.+?)$'), ['safety-lever']),
    ],
    'fms': [
        (re.compile(r'^arn:(?P<Partition>.+?):fms:(?P<Region>.+?):(?P<Account>.+?):applications-list/(?P<Id>.+?)$'), ['applications-list']),
        (re.compile(r'^arn:(?P<Partition>.+?):fms:(?P<Region>.+?):(?P<Account>.+?):policy/(?P<Id>.+?)$'), ['policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):fms:(?P<Region>.+?):(?P<Account>.+?):protocols-list/(?P<Id>.+?)$'), ['protocols-list']),
        (re.compile(r'^arn:(?P<Partition>.+?):fms:(?P<Region>.+?):(?P<Account>.+?):resource-set/(?P<Id>.+?)$'), ['resource-set']),
    ],
    'forecast': [
        (re.compile(r'^arn:(?P<Partition>.+?):forecast:::algorithm/(?P<ResourceId>.+?)$'), ['algorithm']),
        (re.compile(r'^arn:(?P<Partition>.+?):forecast:(?P<Region>.+?):(?P<Account>.+?):dataset/(?P<ResourceId>.+?)$'), ['dataset']),
        (re.compile(r'^arn:(?P<Partition>.+?):forecast:(?P<Region>.+?):(?P<Account>.+?):dataset-group/(?P<ResourceId>.+?)$'), ['datasetGroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):forecast:(?P<Region>.+?):(?P<Account>.+?):dataset-import-job/(?P<ResourceId>.+?)$'), ['datasetImportJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):forecast:(?P<Region>.+?):(?P<Account>.+?):explainability/(?P<ResourceId>.+?)$'), ['explainability']),
        (re.compile(r'^arn:(?P<Partition>.+?):forecast:(?P<Region>.+?):(?P<Account>.+?):explainability-export/(?P<ResourceId>.+?)$'), ['explainabilityExport']),
        (re.compile(r'^arn:(?P<Partition>.+?):forecast:(?P<Region>.+?):(?P<Account>.+?):forecast/(?P<ResourceId>.+?)$'), ['forecast']),
        (re.compile(r'^arn:(?P<Partition>.+?):forecast:(?P<Region>.+?):(?P<Account>.+?):forecast-endpoint/(?P<ResourceId>.+?)$'), ['endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):forecast:(?P<Region>.+?):(?P<Account>.+?):forecast-export-job/(?P<ResourceId>.+?)$'), ['forecastExport']),
        (re.compile(r'^arn:(?P<Partition>.+?):forecast:(?P<Region>.+?):(?P<Account>.+?):monitor/(?P<ResourceId>.+?)$'), ['monitor']),
        (re.compile(r'^arn:(?P<Partition>.+?):forecast:(?P<Region>.+?):(?P<Account>.+?):predictor/(?P<ResourceId>.+?)$'), ['predictor']),
        (re.compile(r'^arn:(?P<Partition>.+?):forecast:(?P<Region>.+?):(?P<Account>.+?):predictor-backtest-export-job/(?P<ResourceId>.+?)$'), ['predictorBacktestExportJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):forecast:(?P<Region>.+?):(?P<Account>.+?):what-if-analysis/(?P<ResourceId>.+?)$'), ['whatIfAnalysis']),
        (re.compile(r'^arn:(?P<Partition>.+?):forecast:(?P<Region>.+?):(?P<Account>.+?):what-if-forecast/(?P<ResourceId>.+?)$'), ['whatIfForecast']),
        (re.compile(r'^arn:(?P<Partition>.+?):forecast:(?P<Region>.+?):(?P<Account>.+?):what-if-forecast-export/(?P<ResourceId>.+?)$'), ['whatIfForecastExport']),
    ],
    'frauddetector': [
        (re.compile(r'^arn:(?P<Partition>.+?):frauddetector:(?P<Region>.+?):(?P<Account>.+?):batch-import/(?P<ResourcePath>.+?)$'), ['batch-import']),
        (re.compile(r'^arn:(?P<Partition>.+?):frauddetector:(?P<Region>.+?):(?P<Account>.+?):batch-prediction/(?P<ResourcePath>.+?)$'), ['batch-prediction']),
        (re.compile(r'^arn:(?P<Partition>.+?):frauddetector:(?P<Region>.+?):(?P<Account>.+?):detector/(?P<ResourcePath>.+?)$'), ['detector']),
        (re.compile(r'^arn:(?P<Partition>.+?):frauddetector:(?P<Region>.+?):(?P<Account>.+?):detector-version/(?P<ResourcePath>.+?)$'), ['detector-version']),
        (re.compile(r'^arn:(?P<Partition>.+?):frauddetector:(?P<Region>.+?):(?P<Account>.+?):entity-type/(?P<ResourcePath>.+?)$'), ['entity-type']),
        (re.compile(r'^arn:(?P<Partition>.+?):frauddetector:(?P<Region>.+?):(?P<Account>.+?):event-type/(?P<ResourcePath>.+?)$'), ['event-type']),
        (re.compile(r'^arn:(?P<Partition>.+?):frauddetector:(?P<Region>.+?):(?P<Account>.+?):external-model/(?P<ResourcePath>.+?)$'), ['external-model']),
        (re.compile(r'^arn:(?P<Partition>.+?):frauddetector:(?P<Region>.+?):(?P<Account>.+?):label/(?P<ResourcePath>.+?)$'), ['label']),
        (re.compile(r'^arn:(?P<Partition>.+?):frauddetector:(?P<Region>.+?):(?P<Account>.+?):list/(?P<ResourcePath>.+?)$'), ['list']),
        (re.compile(r'^arn:(?P<Partition>.+?):frauddetector:(?P<Region>.+?):(?P<Account>.+?):model/(?P<ResourcePath>.+?)$'), ['model']),
        (re.compile(r'^arn:(?P<Partition>.+?):frauddetector:(?P<Region>.+?):(?P<Account>.+?):model-version/(?P<ResourcePath>.+?)$'), ['model-version']),
        (re.compile(r'^arn:(?P<Partition>.+?):frauddetector:(?P<Region>.+?):(?P<Account>.+?):outcome/(?P<ResourcePath>.+?)$'), ['outcome']),
        (re.compile(r'^arn:(?P<Partition>.+?):frauddetector:(?P<Region>.+?):(?P<Account>.+?):rule/(?P<ResourcePath>.+?)$'), ['rule']),
        (re.compile(r'^arn:(?P<Partition>.+?):frauddetector:(?P<Region>.+?):(?P<Account>.+?):variable/(?P<ResourcePath>.+?)$'), ['variable']),
    ],
    'freertos': [
        (re.compile(r'^arn:(?P<Partition>.+?):freertos:(?P<Region>.+?):(?P<Account>.+?):configuration/(?P<ConfigurationName>.+?)$'), ['configuration']),
        (re.compile(r'^arn:(?P<Partition>.+?):freertos:(?P<Region>.+?):(?P<Account>.+?):subscription/(?P<SubscriptionID>.+?)$'), ['subscription']),
    ],
    'fsx': [
        (re.compile(r'^arn:(?P<Partition>.+?):fsx:(?P<Region>.+?):(?P<Account>.+?):association/(?P<FileSystemIdOrFileCacheId>.+?)/(?P<DataRepositoryAssociationId>.+?)$'), ['association']),
        (re.compile(r'^arn:(?P<Partition>.+?):fsx:(?P<Region>.+?):(?P<Account>.+?):snapshot/(?P<VolumeId>.+?)/(?P<SnapshotId>.+?)$'), ['snapshot']),
        (re.compile(r'^arn:(?P<Partition>.+?):fsx:(?P<Region>.+?):(?P<Account>.+?):storage-virtual-machine/(?P<FileSystemId>.+?)/(?P<StorageVirtualMachineId>.+?)$'), ['storage-virtual-machine']),
        (re.compile(r'^arn:(?P<Partition>.+?):fsx:(?P<Region>.+?):(?P<Account>.+?):volume/(?P<FileSystemId>.+?)/(?P<VolumeId>.+?)$'), ['volume']),
        (re.compile(r'^arn:(?P<Partition>.+?):fsx:(?P<Region>.+?):(?P<Account>.+?):backup/(?P<BackupId>.+?)$'), ['backup']),
        (re.compile(r'^arn:(?P<Partition>.+?):fsx:(?P<Region>.+?):(?P<Account>.+?):file-cache/(?P<FileCacheId>.+?)$'), ['file-cache']),
        (re.compile(r'^arn:(?P<Partition>.+?):fsx:(?P<Region>.+?):(?P<Account>.+?):file-system/(?P<FileSystemId>.+?)$'), ['file-system']),
        (re.compile(r'^arn:(?P<Partition>.+?):fsx:(?P<Region>.+?):(?P<Account>.+?):task/(?P<TaskId>.+?)$'), ['task']),
    ],
    'gamelift': [
        (re.compile(r'^arn:(?P<Partition>.+?):gamelift:(?P<Region>.+?)::alias/(?P<AliasId>.+?)$'), ['alias']),
        (re.compile(r'^arn:(?P<Partition>.+?):gamelift:(?P<Region>.+?):(?P<Account>.+?):build/(?P<BuildId>.+?)$'), ['build']),
        (re.compile(r'^arn:(?P<Partition>.+?):gamelift:(?P<Region>.+?):(?P<Account>.+?):containerfleet/(?P<FleetId>.+?)$'), ['containerFleet']),
        (re.compile(r'^arn:(?P<Partition>.+?):gamelift:(?P<Region>.+?):(?P<Account>.+?):containergroupdefinition/(?P<Name>.+?)$'), ['containerGroupDefinition']),
        (re.compile(r'^arn:(?P<Partition>.+?):gamelift:(?P<Region>.+?):(?P<Account>.+?):fleet/(?P<FleetId>.+?)$'), ['fleet']),
        (re.compile(r'^arn:(?P<Partition>.+?):gamelift:(?P<Region>.+?):(?P<Account>.+?):gameservergroup/(?P<GameServerGroupName>.+?)$'), ['gameServerGroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):gamelift:(?P<Region>.+?):(?P<Account>.+?):gamesessionqueue/(?P<GameSessionQueueName>.+?)$'), ['gameSessionQueue']),
        (re.compile(r'^arn:(?P<Partition>.+?):gamelift:(?P<Region>.+?):(?P<Account>.+?):location/(?P<LocationId>.+?)$'), ['location']),
        (re.compile(r'^arn:(?P<Partition>.+?):gamelift:(?P<Region>.+?):(?P<Account>.+?):matchmakingconfiguration/(?P<MatchmakingConfigurationName>.+?)$'), ['matchmakingConfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):gamelift:(?P<Region>.+?):(?P<Account>.+?):matchmakingruleset/(?P<MatchmakingRuleSetName>.+?)$'), ['matchmakingRuleSet']),
        (re.compile(r'^arn:(?P<Partition>.+?):gamelift:(?P<Region>.+?):(?P<Account>.+?):script/(?P<ScriptId>.+?)$'), ['script']),
    ],
    'gameliftstreams': [
        (re.compile(r'^arn:(?P<Partition>.+?):gameliftstreams:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)$'), ['application']),
        (re.compile(r'^arn:(?P<Partition>.+?):gameliftstreams:(?P<Region>.+?):(?P<Account>.+?):streamgroup/(?P<StreamGroupId>.+?)$'), ['stream group']),
    ],
    'geo': [
        (re.compile(r'^arn:(?P<Partition>.+?):geo:(?P<Region>.+?):(?P<Account>.+?):api-key/(?P<KeyName>.+?)$'), ['api-key']),
        (re.compile(r'^arn:(?P<Partition>.+?):geo:(?P<Region>.+?):(?P<Account>.+?):geofence-collection/(?P<GeofenceCollectionName>.+?)$'), ['geofence-collection']),
        (re.compile(r'^arn:(?P<Partition>.+?):geo:(?P<Region>.+?):(?P<Account>.+?):map/(?P<MapName>.+?)$'), ['map']),
        (re.compile(r'^arn:(?P<Partition>.+?):geo:(?P<Region>.+?):(?P<Account>.+?):place-index/(?P<IndexName>.+?)$'), ['place-index']),
        (re.compile(r'^arn:(?P<Partition>.+?):geo:(?P<Region>.+?):(?P<Account>.+?):route-calculator/(?P<CalculatorName>.+?)$'), ['route-calculator']),
        (re.compile(r'^arn:(?P<Partition>.+?):geo:(?P<Region>.+?):(?P<Account>.+?):tracker/(?P<TrackerName>.+?)$'), ['tracker']),
    ],
    'geo-maps': [
        (re.compile(r'^arn:(?P<Partition>.+?):geo-maps:(?P<Region>.+?)::provider/default$'), ['provider']),
    ],
    'geo-places': [
        (re.compile(r'^arn:(?P<Partition>.+?):geo-places:(?P<Region>.+?)::provider/default$'), ['provider']),
    ],
    'geo-routes': [
        (re.compile(r'^arn:(?P<Partition>.+?):geo-routes:(?P<Region>.+?)::provider/default$'), ['provider']),
    ],
    'glacier': [
        (re.compile(r'^arn:(?P<Partition>.+?):glacier:(?P<Region>.+?):(?P<Account>.+?):vaults/(?P<VaultName>.+?)$'), ['vault']),
    ],
    'globalaccelerator': [
        (re.compile(r'^arn:(?P<Partition>.+?):globalaccelerator::(?P<Account>.+?):accelerator/(?P<ResourceId>.+?)/listener/(?P<ListenerId>.+?)/endpoint-group/(?P<EndpointGroupId>.+?)$'), ['endpointgroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):globalaccelerator::(?P<Account>.+?):accelerator/(?P<ResourceId>.+?)/listener/(?P<ListenerId>.+?)$'), ['listener']),
        (re.compile(r'^arn:(?P<Partition>.+?):globalaccelerator::(?P<Account>.+?):accelerator/(?P<ResourceId>.+?)$'), ['accelerator']),
        (re.compile(r'^arn:(?P<Partition>.+?):globalaccelerator::(?P<Account>.+?):attachment/(?P<ResourceId>.+?)$'), ['attachment']),
    ],
    'glue': [
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):tableVersion/(?P<DatabaseName>.+?)/(?P<TableName>.+?)/(?P<TableVersionName>.+?)$'), ['tableversion']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):table/(?P<DatabaseName>.+?)/(?P<TableName>.+?)$'), ['table']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):userDefinedFunction/(?P<DatabaseName>.+?)/(?P<UserDefinedFunctionName>.+?)$'), ['userdefinedfunction']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):blueprint/(?P<BlueprintName>.+?)$'), ['blueprint']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):catalog/(?P<CatalogName>.+?)$'), ['catalog']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):completion/(?P<CompletionId>.+?)$'), ['completion']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):connection/(?P<ConnectionName>.+?)$'), ['connection']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):crawler/(?P<CrawlerName>.+?)$'), ['crawler']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):customEntityType/(?P<CustomEntityTypeId>.+?)$'), ['customEntityType']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):dataQualityRuleset/(?P<RulesetName>.+?)$'), ['dataQualityRuleset']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):database/(?P<DatabaseName>.+?)$'), ['database']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):devEndpoint/(?P<DevEndpointName>.+?)$'), ['devendpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):integration:(?P<IntegrationId>.+?)$'), ['integration']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):job/(?P<JobName>.+?)$'), ['job']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):mlTransform/(?P<TransformId>.+?)$'), ['mlTransform']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):registry/(?P<RegistryName>.+?)$'), ['registry']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):schema/(?P<SchemaName>.+?)$'), ['schema']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):session/(?P<SessionId>.+?)$'), ['session']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):trigger/(?P<TriggerName>.+?)$'), ['trigger']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):usageProfile/(?P<UsageProfileId>.+?)$'), ['usageProfile']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):workflow/(?P<WorkflowName>.+?)$'), ['workflow']),
        (re.compile(r'^arn:(?P<Partition>.+?):glue:(?P<Region>.+?):(?P<Account>.+?):catalog$'), ['rootcatalog']),
    ],
    'grafana': [
        (re.compile(r'^arn:(?P<Partition>.+?):grafana:(?P<Region>.+?):(?P<Account>.+?):/workspaces/(?P<ResourceId>.+?)$'), ['workspace']),
    ],
    'greengrass': [
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/definition/connectors/(?P<ConnectorDefinitionId>.+?)/versions/(?P<VersionId>.+?)$'), ['connectorDefinitionVersion']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/definition/cores/(?P<CoreDefinitionId>.+?)/versions/(?P<VersionId>.+?)$'), ['coreDefinitionVersion']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/definition/devices/(?P<DeviceDefinitionId>.+?)/versions/(?P<VersionId>.+?)$'), ['deviceDefinitionVersion']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/definition/functions/(?P<FunctionDefinitionId>.+?)/versions/(?P<VersionId>.+?)$'), ['functionDefinitionVersion']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/definition/loggers/(?P<LoggerDefinitionId>.+?)/versions/(?P<VersionId>.+?)$'), ['loggerDefinitionVersion']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/definition/resources/(?P<ResourceDefinitionId>.+?)/versions/(?P<VersionId>.+?)$'), ['resourceDefinitionVersion']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/definition/subscriptions/(?P<SubscriptionDefinitionId>.+?)/versions/(?P<VersionId>.+?)$'), ['subscriptionDefinitionVersion']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/groups/(?P<GroupId>.+?)/certificateauthorities/(?P<CertificateAuthorityId>.+?)$'), ['certificateAuthority']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/groups/(?P<GroupId>.+?)/deployments/(?P<DeploymentId>.+?)$'), ['deployment']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/groups/(?P<GroupId>.+?)/versions/(?P<VersionId>.+?)$'), ['groupVersion']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):components:(?P<ComponentName>.+?):versions:(?P<ComponentVersion>.+?)$'), ['componentVersion']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/bulk/deployments/(?P<BulkDeploymentId>.+?)$'), ['bulkDeployment']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/definition/connectors/(?P<ConnectorDefinitionId>.+?)$'), ['connectorDefinition']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/definition/cores/(?P<CoreDefinitionId>.+?)$'), ['coreDefinition']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/definition/devices/(?P<DeviceDefinitionId>.+?)$'), ['deviceDefinition']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/definition/functions/(?P<FunctionDefinitionId>.+?)$'), ['functionDefinition']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/definition/loggers/(?P<LoggerDefinitionId>.+?)$'), ['loggerDefinition']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/definition/resources/(?P<ResourceDefinitionId>.+?)$'), ['resourceDefinition']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/definition/subscriptions/(?P<SubscriptionDefinitionId>.+?)$'), ['subscriptionDefinition']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/things/(?P<ThingName>.+?)/connectivityInfo$'), ['connectivityInfo']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/things/(?P<ThingName>.+?)/runtimeconfig$'), ['thingRuntimeConfig']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):/greengrass/groups/(?P<GroupId>.+?)$'), ['group']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):components:(?P<ComponentName>.+?)$'), ['component']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):coreDevices:(?P<CoreDeviceThingName>.+?)$'), ['coreDevice']),
        (re.compile(r'^arn:(?P<Partition>.+?):greengrass:(?P<Region>.+?):(?P<Account>.+?):deployments:(?P<DeploymentId>.+?)$'), ['deployment']),
    ],
    'groundstation': [
        (re.compile(r'^arn:(?P<Partition>.+?):groundstation:(?P<Region>.+?):(?P<Account>.+?):config/(?P<ConfigType>.+?)/(?P<ConfigId>.+?)$'), ['Config']),
        (re.compile(r'^arn:(?P<Partition>.+?):groundstation:(?P<Region>.+?):(?P<Account>.+?):agent/(?P<AgentId>.+?)$'), ['Agent']),
        (re.compile(r'^arn:(?P<Partition>.+?):groundstation:(?P<Region>.+?):(?P<Account>.+?):contact/(?P<ContactId>.+?)$'), ['Contact']),
        (re.compile(r'^arn:(?P<Partition>.+?):groundstation:(?P<Region>.+?):(?P<Account>.+?):dataflow-endpoint-group/(?P<DataflowEndpointGroupId>.+?)$'), ['DataflowEndpointGroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):groundstation:(?P<Region>.+?):(?P<Account>.+?):ephemeris/(?P<EphemerisId>.+?)$'), ['EphemerisItem']),
        (re.compile(r'^arn:(?P<Partition>.+?):groundstation:(?P<Region>.+?):(?P<Account>.+?):groundstation:(?P<GroundStationId>.+?)$'), ['GroundStationResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):groundstation:(?P<Region>.+?):(?P<Account>.+?):mission-profile/(?P<MissionProfileId>.+?)$'), ['MissionProfile']),
        (re.compile(r'^arn:(?P<Partition>.+?):groundstation:(?P<Region>.+?):(?P<Account>.+?):satellite/(?P<SatelliteId>.+?)$'), ['Satellite']),
    ],
    'guardduty': [
        (re.compile(r'^arn:(?P<Partition>.+?):guardduty:(?P<Region>.+?):(?P<Account>.+?):detector/(?P<DetectorId>.+?)/filter/(?P<FilterName>.+?)$'), ['filter']),
        (re.compile(r'^arn:(?P<Partition>.+?):guardduty:(?P<Region>.+?):(?P<Account>.+?):detector/(?P<DetectorId>.+?)/ipset/(?P<IPSetId>.+?)$'), ['ipset']),
        (re.compile(r'^arn:(?P<Partition>.+?):guardduty:(?P<Region>.+?):(?P<Account>.+?):detector/(?P<DetectorId>.+?)/publishingdestination/(?P<PublishingDestinationId>.+?)$'), ['publishingDestination']),
        (re.compile(r'^arn:(?P<Partition>.+?):guardduty:(?P<Region>.+?):(?P<Account>.+?):detector/(?P<DetectorId>.+?)/threatentityset/(?P<ThreatEntitySetId>.+?)$'), ['threatentityset']),
        (re.compile(r'^arn:(?P<Partition>.+?):guardduty:(?P<Region>.+?):(?P<Account>.+?):detector/(?P<DetectorId>.+?)/threatintelset/(?P<ThreatIntelSetId>.+?)$'), ['threatintelset']),
        (re.compile(r'^arn:(?P<Partition>.+?):guardduty:(?P<Region>.+?):(?P<Account>.+?):detector/(?P<DetectorId>.+?)/trustedentityset/(?P<TrustedEntitySetId>.+?)$'), ['trustedentityset']),
        (re.compile(r'^arn:(?P<Partition>.+?):guardduty:(?P<Region>.+?):(?P<Account>.+?):detector/(?P<DetectorId>.+?)$'), ['detector']),
        (re.compile(r'^arn:(?P<Partition>.+?):guardduty:(?P<Region>.+?):(?P<Account>.+?):malware-protection-plan/(?P<MalwareProtectionPlanId>.+?)$'), ['malwareprotectionplan']),
    ],
    'healthlake': [
        (re.compile(r'^arn:(?P<Partition>.+?):healthlake:(?P<Region>.+?):(?P<Account>.+?):datastore/fhir/(?P<DatastoreId>.+?)$'), ['datastore']),
    ],
    'honeycode': [
        (re.compile(r'^arn:(?P<Partition>.+?):honeycode:(?P<Region>.+?):(?P<Account>.+?):screen-automation:workbook/(?P<WorkbookId>.+?)/app/(?P<AppId>.+?)/screen/(?P<ScreenId>.+?)/automation/(?P<AutomationId>.+?)$'), ['screen-automation']),
        (re.compile(r'^arn:(?P<Partition>.+?):honeycode:(?P<Region>.+?):(?P<Account>.+?):screen:workbook/(?P<WorkbookId>.+?)/app/(?P<AppId>.+?)/screen/(?P<ScreenId>.+?)$'), ['screen']),
        (re.compile(r'^arn:(?P<Partition>.+?):honeycode:(?P<Region>.+?):(?P<Account>.+?):table:workbook/(?P<WorkbookId>.+?)/table/(?P<TableId>.+?)$'), ['table']),
        (re.compile(r'^arn:(?P<Partition>.+?):honeycode:(?P<Region>.+?):(?P<Account>.+?):workbook:workbook/(?P<WorkbookId>.+?)$'), ['workbook']),
    ],
    'iam': [
        (re.compile(r'^arn:(?P<Partition>.+?):iam::aws:contextProvider/(?P<ContextProviderName>.+?)$'), ['context-provider']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):role/aws-service-role/es\\.amazonaws\\.com/AWSServiceRoleForAmazonOpenSearchService$'), ['es_role']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):role/aws-service-role/opensearchservice\\.amazonaws\\.com/AWSServiceRoleForAmazonOpenSearchService$'), ['opensearchservice_role']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):assumed-role/(?P<RoleName>.+?)/(?P<RoleSessionName>.+?)$'), ['assumed-role']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):access-report/(?P<EntityPath>.+?)$'), ['access-report']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):delegation-request/(?P<DelegationRequestId>.+?)$'), ['delegation-request']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):federated-user/(?P<UserName>.+?)$'), ['federated-user']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):group/(?P<GroupNameWithPath>.+?)$'), ['group']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):instance-profile/(?P<InstanceProfileNameWithPath>.+?)$'), ['instance-profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):mfa/(?P<MfaTokenIdWithPath>.+?)$'), ['mfa']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):oidc-provider/(?P<OidcProviderName>.+?)$'), ['oidc-provider']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):policy/(?P<PolicyNameWithPath>.+?)$'), ['policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):role/(?P<RoleNameWithPath>.+?)$'), ['role']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):role/(?P<RoleName>.+?)$'), ['iam-role']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):saml-provider/(?P<SamlProviderName>.+?)$'), ['saml-provider']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):server-certificate/(?P<CertificateNameWithPath>.+?)$'), ['server-certificate']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):sms-mfa/(?P<MfaTokenIdWithPath>.+?)$'), ['sms-mfa']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):user/(?P<AwsUserName>.+?)$'), ['user']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):user/(?P<UserNameWithPath>.+?)$'), ['user']),
        (re.compile(r'^arn:(?P<Partition>.+?):iam::(?P<Account>.+?):root$'), ['root-user']),
    ],
    'identity-sync': [
        (re.compile(r'^arn:(?P<Partition>.+?):identity-sync:(?P<Region>.+?):(?P<Account>.+?):target/(?P<SyncProfileName>.+?)/(?P<SyncTargetName>.+?)$'), ['SyncTargetResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):identity-sync:(?P<Region>.+?):(?P<Account>.+?):profile/(?P<SyncProfileName>.+?)$'), ['SyncProfileResource']),
    ],
    'identitystore': [
        (re.compile(r'^arn:(?P<Partition>.+?):identitystore:::group/(?P<GroupId>.+?)$'), ['Group']),
        (re.compile(r'^arn:(?P<Partition>.+?):identitystore:::membership/(?P<MembershipId>.+?)$'), ['GroupMembership']),
        (re.compile(r'^arn:(?P<Partition>.+?):identitystore:::user/(?P<UserId>.+?)$'), ['User']),
        (re.compile(r'^arn:(?P<Partition>.+?):identitystore::(?P<Account>.+?):identitystore/(?P<IdentityStoreId>.+?)$'), ['Identitystore']),
    ],
    'imagebuilder': [
        (re.compile(r'^arn:(?P<Partition>.+?):imagebuilder:(?P<Region>.+?):(?P<Account>.+?):workflow/(?P<WorkflowType>.+?)/(?P<WorkflowName>.+?)/(?P<WorkflowVersion>.+?)/(?P<WorkflowBuildVersion>.+?)$'), ['workflow']),
        (re.compile(r'^arn:(?P<Partition>.+?):imagebuilder:(?P<Region>.+?):(?P<Account>.+?):component/(?P<ComponentName>.+?)/(?P<ComponentVersion>.+?)/(?P<ComponentBuildVersion>.+?)$'), ['component']),
        (re.compile(r'^arn:(?P<Partition>.+?):imagebuilder:(?P<Region>.+?):(?P<Account>.+?):image/(?P<ImageName>.+?)/(?P<ImageVersion>.+?)/(?P<ImageBuildVersion>.+?)$'), ['image']),
        (re.compile(r'^arn:(?P<Partition>.+?):imagebuilder:(?P<Region>.+?):(?P<Account>.+?):container-recipe/(?P<ContainerRecipeName>.+?)/(?P<ContainerRecipeVersion>.+?)$'), ['containerRecipe']),
        (re.compile(r'^arn:(?P<Partition>.+?):imagebuilder:(?P<Region>.+?):(?P<Account>.+?):image/(?P<ImageName>.+?)/(?P<ImageVersion>.+?)$'), ['imageVersion']),
        (re.compile(r'^arn:(?P<Partition>.+?):imagebuilder:(?P<Region>.+?):(?P<Account>.+?):image-recipe/(?P<ImageRecipeName>.+?)/(?P<ImageRecipeVersion>.+?)$'), ['imageRecipe']),
        (re.compile(r'^arn:(?P<Partition>.+?):imagebuilder:(?P<Region>.+?):(?P<Account>.+?):distribution-configuration/(?P<DistributionConfigurationName>.+?)$'), ['distributionConfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):imagebuilder:(?P<Region>.+?):(?P<Account>.+?):image-pipeline/(?P<ImagePipelineName>.+?)$'), ['imagePipeline']),
        (re.compile(r'^arn:(?P<Partition>.+?):imagebuilder:(?P<Region>.+?):(?P<Account>.+?):infrastructure-configuration/(?P<ResourceId>.+?)$'), ['infrastructureConfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):imagebuilder:(?P<Region>.+?):(?P<Account>.+?):lifecycle-execution/(?P<LifecycleExecutionId>.+?)$'), ['lifecycleExecution']),
        (re.compile(r'^arn:(?P<Partition>.+?):imagebuilder:(?P<Region>.+?):(?P<Account>.+?):lifecycle-policy/(?P<LifecyclePolicyName>.+?)$'), ['lifecyclePolicy']),
        (re.compile(r'^arn:(?P<Partition>.+?):imagebuilder:(?P<Region>.+?):(?P<Account>.+?):workflow-execution/(?P<WorkflowExecutionId>.+?)$'), ['workflowExecution']),
        (re.compile(r'^arn:(?P<Partition>.+?):imagebuilder:(?P<Region>.+?):(?P<Account>.+?):workflow-step-execution/(?P<WorkflowStepExecutionId>.+?)$'), ['workflowStepExecution']),
    ],
    'inspector2': [
        (re.compile(r'^arn:(?P<Partition>.+?):inspector2:(?P<Region>.+?):(?P<Account>.+?):owner/(?P<OwnerId>.+?)/cis-configuration/(?P<CISScanConfigurationId>.+?)$'), ['CIS Scan Configuration']),
        (re.compile(r'^arn:(?P<Partition>.+?):inspector2:(?P<Region>.+?):(?P<Account>.+?):owner/(?P<OwnerId>.+?)/codesecurity-configuration/(?P<CodeSecurityScanConfigurationId>.+?)$'), ['Code Security Scan Configuration']),
        (re.compile(r'^arn:(?P<Partition>.+?):inspector2:(?P<Region>.+?):(?P<Account>.+?):owner/(?P<OwnerId>.+?)/filter/(?P<FilterId>.+?)$'), ['Filter']),
        (re.compile(r'^arn:(?P<Partition>.+?):inspector2:(?P<Region>.+?):(?P<Account>.+?):codesecurity-integration/(?P<CodeSecurityIntegrationId>.+?)$'), ['Code Security Integration']),
        (re.compile(r'^arn:(?P<Partition>.+?):inspector2:(?P<Region>.+?):(?P<Account>.+?):finding/(?P<FindingId>.+?)$'), ['Finding']),
    ],
    'internetmonitor': [
        (re.compile(r'^arn:(?P<Partition>.+?):internetmonitor::(?P<Account>.+?):internet-event/(?P<InternetEventId>.+?)$'), ['InternetEvent']),
        (re.compile(r'^arn:(?P<Partition>.+?):internetmonitor:(?P<Region>.+?):(?P<Account>.+?):monitor/(?P<MonitorName>.+?)/health-event/(?P<EventId>.+?)$'), ['HealthEvent']),
        (re.compile(r'^arn:(?P<Partition>.+?):internetmonitor:(?P<Region>.+?):(?P<Account>.+?):monitor/(?P<MonitorName>.+?)$'), ['Monitor']),
    ],
    'invoicing': [
        (re.compile(r'^arn:(?P<Partition>.+?):invoicing::(?P<Account>.+?):invoice-unit/(?P<Identifier>.+?)$'), ['invoice-unit']),
        (re.compile(r'^arn:(?P<Partition>.+?):invoicing::(?P<Account>.+?):procurement-portal-preference/(?P<Identifier>.+?)$'), ['procurement-portal-preference']),
    ],
    'iot': [
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):package/(?P<PackageName>.+?)/version/(?P<VersionName>.+?)$'), ['packageversion']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):domainconfiguration/(?P<DomainConfigurationName>.+?)/(?P<Id>.+?)$'), ['domainconfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):ruledestination/(?P<DestinationType>.+?)/(?P<Uuid>.+?)$'), ['destination']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):authorizer/(?P<AuthorizerName>.+?)$'), ['authorizer']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):billinggroup/(?P<BillingGroupName>.+?)$'), ['billinggroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):cacert/(?P<CACertificate>.+?)$'), ['cacert']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):cert/(?P<Certificate>.+?)$'), ['cert']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):certificateprovider/(?P<CertificateProviderName>.+?)$'), ['certificateprovider']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):client/(?P<ClientId>.+?)$'), ['client']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):command/(?P<CommandId>.+?)$'), ['command']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):custommetric/(?P<MetricName>.+?)$'), ['custommetric']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):dimension/(?P<DimensionName>.+?)$'), ['dimension']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):fleetmetric/(?P<FleetMetricName>.+?)$'), ['fleetmetric']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):index/(?P<IndexName>.+?)$'), ['index']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):job/(?P<JobId>.+?)$'), ['job']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):jobtemplate/(?P<JobTemplateId>.+?)$'), ['jobtemplate']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):mitigationaction/(?P<MitigationActionName>.+?)$'), ['mitigationaction']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):otaupdate/(?P<OtaUpdateId>.+?)$'), ['otaupdate']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):package/(?P<PackageName>.+?)$'), ['package']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):policy/(?P<PolicyName>.+?)$'), ['policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):provisioningtemplate/(?P<ProvisioningTemplate>.+?)$'), ['provisioningtemplate']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):rolealias/(?P<RoleAlias>.+?)$'), ['rolealias']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):rule/(?P<RuleName>.+?)$'), ['rule']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):scheduledaudit/(?P<ScheduleName>.+?)$'), ['scheduledaudit']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):securityprofile/(?P<SecurityProfileName>.+?)$'), ['securityprofile']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):stream/(?P<StreamId>.+?)$'), ['stream']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):thing/(?P<ThingName>.+?)$'), ['thing']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):thingtype/(?P<ThingTypeName>.+?)$'), ['thingtype']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):topic/(?P<TopicName>.+?)$'), ['topic']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):topicfilter/(?P<TopicFilter>.+?)$'), ['topicfilter']),
        (re.compile(r'^arn:(?P<Partition>.+?):iot:(?P<Region>.+?):(?P<Account>.+?):tunnel/(?P<TunnelId>.+?)$'), ['tunnel']),
    ],
    'iotanalytics': [
        (re.compile(r'^arn:(?P<Partition>.+?):iotanalytics:(?P<Region>.+?):(?P<Account>.+?):channel/(?P<ChannelName>.+?)$'), ['channel']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotanalytics:(?P<Region>.+?):(?P<Account>.+?):dataset/(?P<DatasetName>.+?)$'), ['dataset']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotanalytics:(?P<Region>.+?):(?P<Account>.+?):datastore/(?P<DatastoreName>.+?)$'), ['datastore']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotanalytics:(?P<Region>.+?):(?P<Account>.+?):pipeline/(?P<PipelineName>.+?)$'), ['pipeline']),
    ],
    'iotdeviceadvisor': [
        (re.compile(r'^arn:(?P<Partition>.+?):iotdeviceadvisor:(?P<Region>.+?):(?P<Account>.+?):suiterun/(?P<SuiteDefinitionId>.+?)/(?P<SuiteRunId>.+?)$'), ['Suiterun']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotdeviceadvisor:(?P<Region>.+?):(?P<Account>.+?):suitedefinition/(?P<SuiteDefinitionId>.+?)$'), ['Suitedefinition']),
    ],
    'iotevents': [
        (re.compile(r'^arn:(?P<Partition>.+?):iotevents:(?P<Region>.+?):(?P<Account>.+?):alarmModel/(?P<AlarmModelName>.+?)$'), ['alarmModel']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotevents:(?P<Region>.+?):(?P<Account>.+?):detectorModel/(?P<DetectorModelName>.+?)$'), ['detectorModel']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotevents:(?P<Region>.+?):(?P<Account>.+?):input/(?P<InputName>.+?)$'), ['input']),
    ],
    'iotfleethub': [
        (re.compile(r'^arn:(?P<Partition>.+?):iotfleethub:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)$'), ['application']),
    ],
    'iotfleetwise': [
        (re.compile(r'^arn:(?P<Partition>.+?):iotfleetwise:(?P<Region>.+?):(?P<Account>.+?):campaign/(?P<CampaignName>.+?)$'), ['campaign']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotfleetwise:(?P<Region>.+?):(?P<Account>.+?):decoder-manifest/(?P<Name>.+?)$'), ['decodermanifest']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotfleetwise:(?P<Region>.+?):(?P<Account>.+?):fleet/(?P<FleetId>.+?)$'), ['fleet']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotfleetwise:(?P<Region>.+?):(?P<Account>.+?):model-manifest/(?P<Name>.+?)$'), ['modelmanifest']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotfleetwise:(?P<Region>.+?):(?P<Account>.+?):signal-catalog/(?P<Name>.+?)$'), ['signalcatalog']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotfleetwise:(?P<Region>.+?):(?P<Account>.+?):state-template/(?P<StateTemplateId>.+?)$'), ['statetemplate']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotfleetwise:(?P<Region>.+?):(?P<Account>.+?):vehicle/(?P<VehicleId>.+?)$'), ['vehicle']),
    ],
    'iotmanagedintegrations': [
        (re.compile(r'^arn:(?P<Partition>.+?):iotmanagedintegrations:(?P<Region>.+?):(?P<Account>.+?):account-association/(?P<AccountAssociationId>.+?)$'), ['account-association']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotmanagedintegrations:(?P<Region>.+?):(?P<Account>.+?):credential-locker/(?P<Identifier>.+?)$'), ['credential-locker']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotmanagedintegrations:(?P<Region>.+?):(?P<Account>.+?):managed-thing/(?P<Identifier>.+?)$'), ['managed-thing']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotmanagedintegrations:(?P<Region>.+?):(?P<Account>.+?):ota-task/(?P<Identifier>.+?)$'), ['ota-task']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotmanagedintegrations:(?P<Region>.+?):(?P<Account>.+?):provisioning-profile/(?P<Identifier>.+?)$'), ['provisioning-profile']),
    ],
    'iotsitewise': [
        (re.compile(r'^arn:(?P<Partition>.+?):iotsitewise:(?P<Region>.+?):(?P<Account>.+?):access-policy/(?P<AccessPolicyId>.+?)$'), ['access-policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotsitewise:(?P<Region>.+?):(?P<Account>.+?):asset/(?P<AssetId>.+?)$'), ['asset']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotsitewise:(?P<Region>.+?):(?P<Account>.+?):asset-model/(?P<AssetModelId>.+?)$'), ['asset-model']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotsitewise:(?P<Region>.+?):(?P<Account>.+?):computation-model/(?P<ComputationModelId>.+?)$'), ['computation-model']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotsitewise:(?P<Region>.+?):(?P<Account>.+?):dashboard/(?P<DashboardId>.+?)$'), ['dashboard']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotsitewise:(?P<Region>.+?):(?P<Account>.+?):dataset/(?P<DatasetId>.+?)$'), ['dataset']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotsitewise:(?P<Region>.+?):(?P<Account>.+?):gateway/(?P<GatewayId>.+?)$'), ['gateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotsitewise:(?P<Region>.+?):(?P<Account>.+?):portal/(?P<PortalId>.+?)$'), ['portal']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotsitewise:(?P<Region>.+?):(?P<Account>.+?):project/(?P<ProjectId>.+?)$'), ['project']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotsitewise:(?P<Region>.+?):(?P<Account>.+?):time-series/(?P<TimeSeriesId>.+?)$'), ['time-series']),
    ],
    'iottwinmaker': [
        (re.compile(r'^arn:(?P<Partition>.+?):iottwinmaker:(?P<Region>.+?):(?P<Account>.+?):workspace/(?P<WorkspaceId>.+?)/component-type/(?P<ComponentTypeId>.+?)$'), ['componentType']),
        (re.compile(r'^arn:(?P<Partition>.+?):iottwinmaker:(?P<Region>.+?):(?P<Account>.+?):workspace/(?P<WorkspaceId>.+?)/entity/(?P<EntityId>.+?)$'), ['entity']),
        (re.compile(r'^arn:(?P<Partition>.+?):iottwinmaker:(?P<Region>.+?):(?P<Account>.+?):workspace/(?P<WorkspaceId>.+?)/scene/(?P<SceneId>.+?)$'), ['scene']),
        (re.compile(r'^arn:(?P<Partition>.+?):iottwinmaker:(?P<Region>.+?):(?P<Account>.+?):workspace/(?P<WorkspaceId>.+?)/sync-job/(?P<SyncJobId>.+?)$'), ['syncJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):iottwinmaker:(?P<Region>.+?):(?P<Account>.+?):metadata-transfer-job/(?P<MetadataTransferJobId>.+?)$'), ['metadataTransferJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):iottwinmaker:(?P<Region>.+?):(?P<Account>.+?):workspace/(?P<WorkspaceId>.+?)$'), ['workspace']),
    ],
    'iotwireless': [
        (re.compile(r'^arn:(?P<Partition>.+?):iotwireless:(?P<Region>.+?):(?P<Account>.+?):Destination/(?P<DestinationName>.+?)$'), ['Destination']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotwireless:(?P<Region>.+?):(?P<Account>.+?):DeviceProfile/(?P<DeviceProfileId>.+?)$'), ['DeviceProfile']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotwireless:(?P<Region>.+?):(?P<Account>.+?):FuotaTask/(?P<FuotaTaskId>.+?)$'), ['FuotaTask']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotwireless:(?P<Region>.+?):(?P<Account>.+?):ImportTask/(?P<ImportTaskId>.+?)$'), ['ImportTask']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotwireless:(?P<Region>.+?):(?P<Account>.+?):MulticastGroup/(?P<MulticastGroupId>.+?)$'), ['MulticastGroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotwireless:(?P<Region>.+?):(?P<Account>.+?):NetworkAnalyzerConfiguration/(?P<NetworkAnalyzerConfigurationName>.+?)$'), ['NetworkAnalyzerConfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotwireless:(?P<Region>.+?):(?P<Account>.+?):ServiceProfile/(?P<ServiceProfileId>.+?)$'), ['ServiceProfile']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotwireless:(?P<Region>.+?):(?P<Account>.+?):SidewalkAccount/(?P<SidewalkAccountId>.+?)$'), ['SidewalkAccount']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotwireless:(?P<Region>.+?):(?P<Account>.+?):WirelessDevice/(?P<WirelessDeviceId>.+?)$'), ['WirelessDevice']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotwireless:(?P<Region>.+?):(?P<Account>.+?):WirelessGateway/(?P<WirelessGatewayId>.+?)$'), ['WirelessGateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):iotwireless:(?P<Region>.+?):(?P<Account>.+?):WirelessGatewayTaskDefinition/(?P<WirelessGatewayTaskDefinitionId>.+?)$'), ['WirelessGatewayTaskDefinition']),
    ],
    'iq': [
        (re.compile(r'^arn:(?P<Partition>.+?):iq:(?P<Region>.+?)::paymentRequest/(?P<ConversationId>.+?)/(?P<ProposalId>.+?)/(?P<PaymentRequestId>.+?)$'), ['paymentRequest']),
        (re.compile(r'^arn:(?P<Partition>.+?):iq:(?P<Region>.+?)::paymentSchedule/(?P<ConversationId>.+?)/(?P<ProposalId>.+?)/(?P<VersionId>.+?)$'), ['paymentSchedule']),
        (re.compile(r'^arn:(?P<Partition>.+?):iq:(?P<Region>.+?)::proposal/(?P<ConversationId>.+?)/(?P<ProposalId>.+?)$'), ['proposal']),
        (re.compile(r'^arn:(?P<Partition>.+?):iq:(?P<Region>.+?)::attachment/(?P<AttachmentId>.+?)$'), ['attachment']),
        (re.compile(r'^arn:(?P<Partition>.+?):iq:(?P<Region>.+?)::buyer/(?P<BuyerId>.+?)$'), ['buyer']),
        (re.compile(r'^arn:(?P<Partition>.+?):iq:(?P<Region>.+?)::call/(?P<CallId>.+?)$'), ['call']),
        (re.compile(r'^arn:(?P<Partition>.+?):iq:(?P<Region>.+?)::company/(?P<CompanyId>.+?)$'), ['company']),
        (re.compile(r'^arn:(?P<Partition>.+?):iq:(?P<Region>.+?)::conversation/(?P<ConversationId>.+?)$'), ['conversation']),
        (re.compile(r'^arn:(?P<Partition>.+?):iq:(?P<Region>.+?)::expert/(?P<ExpertId>.+?)$'), ['expert']),
        (re.compile(r'^arn:(?P<Partition>.+?):iq:(?P<Region>.+?)::listing/(?P<ListingId>.+?)$'), ['listing']),
        (re.compile(r'^arn:(?P<Partition>.+?):iq:(?P<Region>.+?)::request/(?P<RequestId>.+?)$'), ['request']),
        (re.compile(r'^arn:(?P<Partition>.+?):iq:(?P<Region>.+?)::seller/(?P<SellerAwsAccountId>.+?)$'), ['seller']),
        (re.compile(r'^arn:(?P<Partition>.+?):iq:(?P<Region>.+?)::token/(?P<TokenId>.+?)$'), ['token']),
    ],
    'iq-permission': [
        (re.compile(r'^arn:(?P<Partition>.+?):iq-permission:(?P<Region>.+?)::permission/(?P<PermissionRequestId>.+?)$'), ['permission']),
    ],
    'ivs': [
        (re.compile(r'^arn:(?P<Partition>.+?):ivs:(?P<Region>.+?):(?P<Account>.+?):channel/(?P<ResourceId>.+?)$'), ['Channel']),
        (re.compile(r'^arn:(?P<Partition>.+?):ivs:(?P<Region>.+?):(?P<Account>.+?):composition/(?P<ResourceId>.+?)$'), ['Composition']),
        (re.compile(r'^arn:(?P<Partition>.+?):ivs:(?P<Region>.+?):(?P<Account>.+?):encoder-configuration/(?P<ResourceId>.+?)$'), ['Encoder-Configuration']),
        (re.compile(r'^arn:(?P<Partition>.+?):ivs:(?P<Region>.+?):(?P<Account>.+?):ingest-configuration/(?P<ResourceId>.+?)$'), ['Ingest-Configuration']),
        (re.compile(r'^arn:(?P<Partition>.+?):ivs:(?P<Region>.+?):(?P<Account>.+?):playback-key/(?P<ResourceId>.+?)$'), ['Playback-Key-Pair']),
        (re.compile(r'^arn:(?P<Partition>.+?):ivs:(?P<Region>.+?):(?P<Account>.+?):playback-restriction-policy/(?P<ResourceId>.+?)$'), ['Playback-Restriction-Policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):ivs:(?P<Region>.+?):(?P<Account>.+?):public-key/(?P<ResourceId>.+?)$'), ['Public-Key']),
        (re.compile(r'^arn:(?P<Partition>.+?):ivs:(?P<Region>.+?):(?P<Account>.+?):recording-configuration/(?P<ResourceId>.+?)$'), ['Recording-Configuration']),
        (re.compile(r'^arn:(?P<Partition>.+?):ivs:(?P<Region>.+?):(?P<Account>.+?):stage/(?P<ResourceId>.+?)$'), ['Stage']),
        (re.compile(r'^arn:(?P<Partition>.+?):ivs:(?P<Region>.+?):(?P<Account>.+?):storage-configuration/(?P<ResourceId>.+?)$'), ['Storage-Configuration']),
        (re.compile(r'^arn:(?P<Partition>.+?):ivs:(?P<Region>.+?):(?P<Account>.+?):stream-key/(?P<ResourceId>.+?)$'), ['Stream-Key']),
    ],
    'ivschat': [
        (re.compile(r'^arn:(?P<Partition>.+?):ivschat:(?P<Region>.+?):(?P<Account>.+?):logging-configuration/(?P<ResourceId>.+?)$'), ['Logging-Configuration']),
        (re.compile(r'^arn:(?P<Partition>.+?):ivschat:(?P<Region>.+?):(?P<Account>.+?):room/(?P<ResourceId>.+?)$'), ['Room']),
    ],
    'kafka': [
        (re.compile(r'^arn:(?P<Partition>.+?):kafka:(?P<Region>.+?):(?P<Account>.+?):group/(?P<ClusterName>.+?)/(?P<ClusterUuid>.+?)/(?P<GroupName>.+?)$'), ['group']),
        (re.compile(r'^arn:(?P<Partition>.+?):kafka:(?P<Region>.+?):(?P<Account>.+?):topic/(?P<ClusterName>.+?)/(?P<ClusterUuid>.+?)/(?P<TopicName>.+?)$'), ['topic']),
        (re.compile(r'^arn:(?P<Partition>.+?):kafka:(?P<Region>.+?):(?P<Account>.+?):transactional-id/(?P<ClusterName>.+?)/(?P<ClusterUuid>.+?)/(?P<TransactionalId>.+?)$'), ['transactional-id']),
        (re.compile(r'^arn:(?P<Partition>.+?):kafka:(?P<Region>.+?):(?P<VpcOwnerAccount>.+?):vpc-connection/(?P<ClusterOwnerAccount>.+?)/(?P<ClusterName>.+?)/(?P<Uuid>.+?)$'), ['vpc-connection']),
        (re.compile(r'^arn:(?P<Partition>.+?):kafka:(?P<Region>.+?):(?P<Account>.+?):cluster/(?P<ClusterName>.+?)/(?P<ClusterUuid>.+?)$'), ['cluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):kafka:(?P<Region>.+?):(?P<Account>.+?):cluster/(?P<ClusterName>.+?)/(?P<Uuid>.+?)$'), ['cluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):kafka:(?P<Region>.+?):(?P<Account>.+?):configuration/(?P<ConfigurationName>.+?)/(?P<Uuid>.+?)$'), ['configuration']),
        (re.compile(r'^arn:(?P<Partition>.+?):kafka:(?P<Region>.+?):(?P<Account>.+?):replicator/(?P<ReplicatorName>.+?)/(?P<Uuid>.+?)$'), ['replicator']),
    ],
    'kafkaconnect': [
        (re.compile(r'^arn:(?P<Partition>.+?):kafkaconnect:(?P<Region>.+?):(?P<Account>.+?):connector-operation/(?P<ConnectorName>.+?)/(?P<ConnectorUUID>.+?)/(?P<UUID>.+?)$'), ['connector operation']),
        (re.compile(r'^arn:(?P<Partition>.+?):kafkaconnect:(?P<Region>.+?):(?P<Account>.+?):connector/(?P<ConnectorName>.+?)/(?P<UUID>.+?)$'), ['connector']),
        (re.compile(r'^arn:(?P<Partition>.+?):kafkaconnect:(?P<Region>.+?):(?P<Account>.+?):custom-plugin/(?P<CustomPluginName>.+?)/(?P<UUID>.+?)$'), ['custom plugin']),
        (re.compile(r'^arn:(?P<Partition>.+?):kafkaconnect:(?P<Region>.+?):(?P<Account>.+?):worker-configuration/(?P<WorkerConfigurationName>.+?)/(?P<UUID>.+?)$'), ['worker configuration']),
    ],
    'kendra': [
        (re.compile(r'^arn:(?P<Partition>.+?):kendra:(?P<Region>.+?):(?P<Account>.+?):index/(?P<IndexId>.+?)/access-control-configuration/(?P<AccessControlConfigurationId>.+?)$'), ['access-control-configuration']),
        (re.compile(r'^arn:(?P<Partition>.+?):kendra:(?P<Region>.+?):(?P<Account>.+?):index/(?P<IndexId>.+?)/data-source/(?P<DataSourceId>.+?)$'), ['data-source']),
        (re.compile(r'^arn:(?P<Partition>.+?):kendra:(?P<Region>.+?):(?P<Account>.+?):index/(?P<IndexId>.+?)/experience/(?P<ExperienceId>.+?)$'), ['experience']),
        (re.compile(r'^arn:(?P<Partition>.+?):kendra:(?P<Region>.+?):(?P<Account>.+?):index/(?P<IndexId>.+?)/faq/(?P<FaqId>.+?)$'), ['faq']),
        (re.compile(r'^arn:(?P<Partition>.+?):kendra:(?P<Region>.+?):(?P<Account>.+?):index/(?P<IndexId>.+?)/featured-results-set/(?P<FeaturedResultsSetId>.+?)$'), ['featured-results-set']),
        (re.compile(r'^arn:(?P<Partition>.+?):kendra:(?P<Region>.+?):(?P<Account>.+?):index/(?P<IndexId>.+?)/query-suggestions-block-list/(?P<QuerySuggestionsBlockListId>.+?)$'), ['query-suggestions-block-list']),
        (re.compile(r'^arn:(?P<Partition>.+?):kendra:(?P<Region>.+?):(?P<Account>.+?):index/(?P<IndexId>.+?)/thesaurus/(?P<ThesaurusId>.+?)$'), ['thesaurus']),
        (re.compile(r'^arn:(?P<Partition>.+?):kendra:(?P<Region>.+?):(?P<Account>.+?):index/(?P<IndexId>.+?)$'), ['index']),
    ],
    'kendra-ranking': [
        (re.compile(r'^arn:(?P<Partition>.+?):kendra-ranking:(?P<Region>.+?):(?P<Account>.+?):rescore-execution-plan/(?P<RescoreExecutionPlanId>.+?)$'), ['rescore-execution-plan']),
    ],
    'kinesis': [
        (re.compile(r'^arn:(?P<Partition>.+?):kinesis:(?P<Region>.+?):(?P<Account>.+?):(?P<StreamType>.+?)/(?P<StreamName>.+?)/consumer/(?P<ConsumerName>.+?):(?P<ConsumerCreationTimpstamp>.+?)$'), ['consumer']),
        (re.compile(r'^arn:(?P<Partition>.+?):kinesis:(?P<Region>.+?):(?P<Account>.+?):stream/(?P<StreamName>.+?)$'), ['stream']),
    ],
    'kinesisanalytics': [
        (re.compile(r'^arn:(?P<Partition>.+?):kinesisanalytics:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationName>.+?)$'), ['application']),
    ],
    'kinesisvideo': [
        (re.compile(r'^arn:(?P<Partition>.+?):kinesisvideo:(?P<Region>.+?):(?P<Account>.+?):channel/(?P<ChannelName>.+?)/(?P<CreationTime>.+?)$'), ['channel']),
        (re.compile(r'^arn:(?P<Partition>.+?):kinesisvideo:(?P<Region>.+?):(?P<Account>.+?):stream/(?P<StreamName>.+?)/(?P<CreationTime>.+?)$'), ['stream']),
    ],
    'kms': [
        (re.compile(r'^arn:(?P<Partition>.+?):kms:(?P<Region>.+?):(?P<Account>.+?):alias/(?P<Alias>.+?)$'), ['alias']),
        (re.compile(r'^arn:(?P<Partition>.+?):kms:(?P<Region>.+?):(?P<Account>.+?):key/(?P<KeyId>.+?)$'), ['key']),
    ],
    'lambda': [
        (re.compile(r'^arn:(?P<Partition>.+?):lambda:(?P<Region>.+?):(?P<Account>.+?):function:(?P<FunctionName>.+?):(?P<Version>.+?)/durable-execution/(?P<ExecutionName>.+?)/(?P<ExecutionId>.+?)$'), ['durable execution']),
        (re.compile(r'^arn:(?P<Partition>.+?):lambda:(?P<Region>.+?):(?P<Account>.+?):function:(?P<FunctionName>.+?):(?P<Alias>.+?)$'), ['function alias']),
        (re.compile(r'^arn:(?P<Partition>.+?):lambda:(?P<Region>.+?):(?P<Account>.+?):function:(?P<FunctionName>.+?):(?P<Version>.+?)$'), ['function version']),
        (re.compile(r'^arn:(?P<Partition>.+?):lambda:(?P<Region>.+?):(?P<Account>.+?):layer:(?P<LayerName>.+?):(?P<LayerVersion>.+?)$'), ['layerVersion']),
        (re.compile(r'^arn:(?P<Partition>.+?):lambda:(?P<Region>.+?):(?P<Account>.+?):capacity-provider:(?P<CapacityProviderName>.+?)$'), ['capacityProvider']),
        (re.compile(r'^arn:(?P<Partition>.+?):lambda:(?P<Region>.+?):(?P<Account>.+?):code-signing-config:(?P<CodeSigningConfigId>.+?)$'), ['code signing config']),
        (re.compile(r'^arn:(?P<Partition>.+?):lambda:(?P<Region>.+?):(?P<Account>.+?):event-source-mapping:(?P<UUID>.+?)$'), ['eventSourceMapping']),
        (re.compile(r'^arn:(?P<Partition>.+?):lambda:(?P<Region>.+?):(?P<Account>.+?):function:(?P<FunctionName>.+?)$'), ['function']),
        (re.compile(r'^arn:(?P<Partition>.+?):lambda:(?P<Region>.+?):(?P<Account>.+?):layer:(?P<LayerName>.+?)$'), ['layer']),
    ],
    'launchwizard': [
        (re.compile(r'^arn:(?P<Partition>.+?):launchwizard:(?P<Region>.+?):(?P<Account>.+?):deployment/(?P<DeploymentId>.+?)$'), ['deployment']),
    ],
    'lex': [
        (re.compile(r'^arn:(?P<Partition>.+?):lex:(?P<Region>.+?):(?P<Account>.+?):bot-channel:(?P<BotName>.+?):(?P<BotAlias>.+?):(?P<ChannelName>.+?)$'), ['channel']),
        (re.compile(r'^arn:(?P<Partition>.+?):lex:(?P<Region>.+?):(?P<Account>.+?):bot:(?P<BotName>.+?):(?P<BotAlias>.+?)$'), ['bot alias']),
        (re.compile(r'^arn:(?P<Partition>.+?):lex:(?P<Region>.+?):(?P<Account>.+?):bot:(?P<BotName>.+?):(?P<BotVersion>.+?)$'), ['bot version']),
        (re.compile(r'^arn:(?P<Partition>.+?):lex:(?P<Region>.+?):(?P<Account>.+?):bot-alias/(?P<BotId>.+?)/(?P<BotAliasId>.+?)$'), ['bot alias']),
        (re.compile(r'^arn:(?P<Partition>.+?):lex:(?P<Region>.+?):(?P<Account>.+?):intent:(?P<IntentName>.+?):(?P<IntentVersion>.+?)$'), ['intent version']),
        (re.compile(r'^arn:(?P<Partition>.+?):lex:(?P<Region>.+?):(?P<Account>.+?):slottype:(?P<SlotName>.+?):(?P<SlotVersion>.+?)$'), ['slottype version']),
        (re.compile(r'^arn:(?P<Partition>.+?):lex:(?P<Region>.+?):(?P<Account>.+?):bot/(?P<BotId>.+?)$'), ['bot']),
        (re.compile(r'^arn:(?P<Partition>.+?):lex:(?P<Region>.+?):(?P<Account>.+?):bot:(?P<BotName>.+?)$'), ['bot']),
        (re.compile(r'^arn:(?P<Partition>.+?):lex:(?P<Region>.+?):(?P<Account>.+?):test-set/(?P<TestSetId>.+?)$'), ['test set']),
    ],
    'license-manager': [
        (re.compile(r'^arn:(?P<Partition>.+?):license-manager::(?P<Account>.+?):grant:(?P<GrantId>.+?)$'), ['grant']),
        (re.compile(r'^arn:(?P<Partition>.+?):license-manager::(?P<Account>.+?):license:(?P<LicenseId>.+?)$'), ['license']),
        (re.compile(r'^arn:(?P<Partition>.+?):license-manager:(?P<Region>.+?):(?P<Account>.+?):license-asset-group:(?P<LicenseAssetGroupId>.+?)$'), ['license-asset-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):license-manager:(?P<Region>.+?):(?P<Account>.+?):license-asset-ruleset:(?P<LicenseAssetRulesetId>.+?)$'), ['license-asset-ruleset']),
        (re.compile(r'^arn:(?P<Partition>.+?):license-manager:(?P<Region>.+?):(?P<Account>.+?):license-configuration:(?P<LicenseConfigurationId>.+?)$'), ['license-configuration']),
        (re.compile(r'^arn:(?P<Partition>.+?):license-manager:(?P<Region>.+?):(?P<Account>.+?):report-generator:(?P<ReportGeneratorId>.+?)$'), ['report-generator']),
    ],
    'license-manager-linux-subscriptions': [
        (re.compile(r'^arn:(?P<Partition>.+?):license-manager-linux-subscriptions:(?P<Region>.+?):(?P<Account>.+?):subscription-provider/(?P<SubscriptionProviderId>.+?)$'), ['subscription-provider']),
    ],
    'license-manager-user-subscriptions': [
        (re.compile(r'^arn:(?P<Partition>.+?):license-manager-user-subscriptions:(?P<Region>.+?):(?P<Account>.+?):identity-provider/(?P<IdentityProviderId>.+?)$'), ['identity-provider']),
        (re.compile(r'^arn:(?P<Partition>.+?):license-manager-user-subscriptions:(?P<Region>.+?):(?P<Account>.+?):instance-user/(?P<InstanceUserId>.+?)$'), ['instance-user']),
        (re.compile(r'^arn:(?P<Partition>.+?):license-manager-user-subscriptions:(?P<Region>.+?):(?P<Account>.+?):license-server-endpoint/(?P<LicenseServerEndpointId>.+?)$'), ['license-server-endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):license-manager-user-subscriptions:(?P<Region>.+?):(?P<Account>.+?):product-subscription/(?P<ProductSubscriptionId>.+?)$'), ['product-subscription']),
    ],
    'lightsail': [
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):Alarm/(?P<Id>.+?)$'), ['Alarm']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):Bucket/(?P<Id>.+?)$'), ['Bucket']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):Certificate/(?P<Id>.+?)$'), ['Certificate']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):CloudFormationStackRecord/(?P<Id>.+?)$'), ['CloudFormationStackRecord']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):ContactMethod/(?P<Id>.+?)$'), ['ContactMethod']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):ContainerService/(?P<Id>.+?)$'), ['ContainerService']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):Disk/(?P<Id>.+?)$'), ['Disk']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):DiskSnapshot/(?P<Id>.+?)$'), ['DiskSnapshot']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):Distribution/(?P<Id>.+?)$'), ['Distribution']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):Domain/(?P<Id>.+?)$'), ['Domain']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):ExportSnapshotRecord/(?P<Id>.+?)$'), ['ExportSnapshotRecord']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):Instance/(?P<Id>.+?)$'), ['Instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):InstanceSnapshot/(?P<Id>.+?)$'), ['InstanceSnapshot']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):KeyPair/(?P<Id>.+?)$'), ['KeyPair']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):LoadBalancer/(?P<Id>.+?)$'), ['LoadBalancer']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):LoadBalancerTlsCertificate/(?P<Id>.+?)$'), ['LoadBalancerTlsCertificate']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):RelationalDatabase/(?P<Id>.+?)$'), ['RelationalDatabase']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):RelationalDatabaseSnapshot/(?P<Id>.+?)$'), ['RelationalDatabaseSnapshot']),
        (re.compile(r'^arn:(?P<Partition>.+?):lightsail:(?P<Region>.+?):(?P<Account>.+?):StaticIp/(?P<Id>.+?)$'), ['StaticIp']),
    ],
    'logs': [
        (re.compile(r'^arn:(?P<Partition>.+?):logs:(?P<Region>.+?):(?P<Account>.+?):log-group:(?P<LogGroupName>.+?):log-stream:(?P<LogStreamName>.+?)$'), ['log-stream']),
        (re.compile(r'^arn:(?P<Partition>.+?):logs:(?P<Region>.+?):(?P<Account>.+?):anomaly-detector:(?P<DetectorId>.+?)$'), ['anomaly-detector']),
        (re.compile(r'^arn:(?P<Partition>.+?):logs:(?P<Region>.+?):(?P<Account>.+?):delivery:(?P<DeliveryName>.+?)$'), ['delivery']),
        (re.compile(r'^arn:(?P<Partition>.+?):logs:(?P<Region>.+?):(?P<Account>.+?):delivery-destination:(?P<DeliveryDestinationName>.+?)$'), ['delivery-destination']),
        (re.compile(r'^arn:(?P<Partition>.+?):logs:(?P<Region>.+?):(?P<Account>.+?):delivery-source:(?P<DeliverySourceName>.+?)$'), ['delivery-source']),
        (re.compile(r'^arn:(?P<Partition>.+?):logs:(?P<Region>.+?):(?P<Account>.+?):destination:(?P<DestinationName>.+?)$'), ['destination']),
        (re.compile(r'^arn:(?P<Partition>.+?):logs:(?P<Region>.+?):(?P<Account>.+?):log-group:(?P<LogGroupName>.+?)$'), ['log-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):logs:(?P<Region>.+?):(?P<Account>.+?):scheduled-query:(?P<ScheduledQueryId>.+?)$'), ['scheduled-query']),
    ],
    'lookoutequipment': [
        (re.compile(r'^arn:(?P<Partition>.+?):lookoutequipment:(?P<Region>.+?):(?P<Account>.+?):model/(?P<ModelName>.+?)/(?P<ModelId>.+?)/model-version/(?P<ModelVersionNumber>.+?)$'), ['model-version']),
        (re.compile(r'^arn:(?P<Partition>.+?):lookoutequipment:(?P<Region>.+?):(?P<Account>.+?):dataset/(?P<DatasetName>.+?)/(?P<DatasetId>.+?)$'), ['dataset']),
        (re.compile(r'^arn:(?P<Partition>.+?):lookoutequipment:(?P<Region>.+?):(?P<Account>.+?):inference-scheduler/(?P<InferenceSchedulerName>.+?)/(?P<InferenceSchedulerId>.+?)$'), ['inference-scheduler']),
        (re.compile(r'^arn:(?P<Partition>.+?):lookoutequipment:(?P<Region>.+?):(?P<Account>.+?):label-group/(?P<LabelGroupName>.+?)/(?P<LabelGroupId>.+?)$'), ['label-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):lookoutequipment:(?P<Region>.+?):(?P<Account>.+?):model/(?P<ModelName>.+?)/(?P<ModelId>.+?)$'), ['model']),
    ],
    'lookoutmetrics': [
        (re.compile(r'^arn:(?P<Partition>.+?):lookoutmetrics:(?P<Region>.+?):(?P<Account>.+?):MetricSet/(?P<AnomalyDetectorName>.+?)/(?P<MetricSetName>.+?)$'), ['MetricSet']),
        (re.compile(r'^arn:(?P<Partition>.+?):lookoutmetrics:(?P<Region>.+?):(?P<Account>.+?):Alert:(?P<AlertName>.+?)$'), ['Alert']),
        (re.compile(r'^arn:(?P<Partition>.+?):lookoutmetrics:(?P<Region>.+?):(?P<Account>.+?):AnomalyDetector:(?P<AnomalyDetectorName>.+?)$'), ['AnomalyDetector']),
    ],
    'lookoutvision': [
        (re.compile(r'^arn:(?P<Partition>.+?):lookoutvision:(?P<Region>.+?):(?P<Account>.+?):model/(?P<ProjectName>.+?)/(?P<ModelVersion>.+?)$'), ['model']),
        (re.compile(r'^arn:(?P<Partition>.+?):lookoutvision:(?P<Region>.+?):(?P<Account>.+?):project/(?P<ProjectName>.+?)$'), ['project']),
    ],
    'm2': [
        (re.compile(r'^arn:(?P<Partition>.+?):m2:(?P<Region>.+?):(?P<Account>.+?):app/(?P<ApplicationId>.+?)$'), ['Application']),
        (re.compile(r'^arn:(?P<Partition>.+?):m2:(?P<Region>.+?):(?P<Account>.+?):env/(?P<EnvironmentId>.+?)$'), ['Environment']),
    ],
    'machinelearning': [
        (re.compile(r'^arn:(?P<Partition>.+?):machinelearning:(?P<Region>.+?):(?P<Account>.+?):batchprediction/(?P<BatchPredictionId>.+?)$'), ['batchprediction']),
        (re.compile(r'^arn:(?P<Partition>.+?):machinelearning:(?P<Region>.+?):(?P<Account>.+?):datasource/(?P<DatasourceId>.+?)$'), ['datasource']),
        (re.compile(r'^arn:(?P<Partition>.+?):machinelearning:(?P<Region>.+?):(?P<Account>.+?):evaluation/(?P<EvaluationId>.+?)$'), ['evaluation']),
        (re.compile(r'^arn:(?P<Partition>.+?):machinelearning:(?P<Region>.+?):(?P<Account>.+?):mlmodel/(?P<MlModelId>.+?)$'), ['mlmodel']),
    ],
    'macie2': [
        (re.compile(r'^arn:(?P<Partition>.+?):macie2:(?P<Region>.+?):(?P<Account>.+?):allow-list/(?P<ResourceId>.+?)$'), ['AllowList']),
        (re.compile(r'^arn:(?P<Partition>.+?):macie2:(?P<Region>.+?):(?P<Account>.+?):classification-job/(?P<ResourceId>.+?)$'), ['ClassificationJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):macie2:(?P<Region>.+?):(?P<Account>.+?):custom-data-identifier/(?P<ResourceId>.+?)$'), ['CustomDataIdentifier']),
        (re.compile(r'^arn:(?P<Partition>.+?):macie2:(?P<Region>.+?):(?P<Account>.+?):findings-filter/(?P<ResourceId>.+?)$'), ['FindingsFilter']),
        (re.compile(r'^arn:(?P<Partition>.+?):macie2:(?P<Region>.+?):(?P<Account>.+?):member/(?P<ResourceId>.+?)$'), ['Member']),
    ],
    'managedblockchain': [
        (re.compile(r'^arn:(?P<Partition>.+?):managedblockchain:(?P<Region>.+?)::networks/(?P<NetworkId>.+?)$'), ['network']),
        (re.compile(r'^arn:(?P<Partition>.+?):managedblockchain:(?P<Region>.+?)::proposals/(?P<ProposalId>.+?)$'), ['proposal']),
        (re.compile(r'^arn:(?P<Partition>.+?):managedblockchain:(?P<Region>.+?):(?P<Account>.+?):accessors/(?P<AccessorId>.+?)$'), ['accessor']),
        (re.compile(r'^arn:(?P<Partition>.+?):managedblockchain:(?P<Region>.+?):(?P<Account>.+?):invitations/(?P<InvitationId>.+?)$'), ['invitation']),
        (re.compile(r'^arn:(?P<Partition>.+?):managedblockchain:(?P<Region>.+?):(?P<Account>.+?):members/(?P<MemberId>.+?)$'), ['member']),
        (re.compile(r'^arn:(?P<Partition>.+?):managedblockchain:(?P<Region>.+?):(?P<Account>.+?):nodes/(?P<NodeId>.+?)$'), ['node']),
    ],
    'mapcredits': [
        (re.compile(r'^arn:(?P<Partition>.+?):mapcredits:::(?P<Agreement>.+?)/(?P<AgreementId>.+?)$'), ['agreement']),
    ],
    'mediaconnect': [
        (re.compile(r'^arn:(?P<Partition>.+?):mediaconnect:(?P<Region>.+?):offering:(?P<OfferingId>.+?)$'), ['Offering']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediaconnect:(?P<Region>.+?):(?P<Account>.+?):gateway:(?P<GatewayId>.+?):(?P<GatewayName>.+?):instance:(?P<InstanceId>.+?)$'), ['GatewayInstance']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediaconnect:(?P<Region>.+?):(?P<Account>.+?):bridge:(?P<BridgeId>.+?):(?P<BridgeName>.+?)$'), ['Bridge']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediaconnect:(?P<Region>.+?):(?P<Account>.+?):entitlement:(?P<FlowId>.+?):(?P<EntitlementName>.+?)$'), ['Entitlement']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediaconnect:(?P<Region>.+?):(?P<Account>.+?):flow:(?P<FlowId>.+?):(?P<FlowName>.+?)$'), ['Flow']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediaconnect:(?P<Region>.+?):(?P<Account>.+?):gateway:(?P<GatewayId>.+?):(?P<GatewayName>.+?)$'), ['Gateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediaconnect:(?P<Region>.+?):(?P<Account>.+?):output:(?P<OutputId>.+?):(?P<OutputName>.+?)$'), ['Output']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediaconnect:(?P<Region>.+?):(?P<Account>.+?):reservation:(?P<ReservationId>.+?):(?P<ReservationName>.+?)$'), ['Reservation']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediaconnect:(?P<Region>.+?):(?P<Account>.+?):source:(?P<SourceId>.+?):(?P<SourceName>.+?)$'), ['Source']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediaconnect:(?P<Region>.+?):(?P<Account>.+?):routerInput:(?P<RouterInputId>.+?)$'), ['RouterInput']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediaconnect:(?P<Region>.+?):(?P<Account>.+?):routerNetworkInterface:(?P<RouterNetworkInterfaceId>.+?)$'), ['RouterNetworkInterface']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediaconnect:(?P<Region>.+?):(?P<Account>.+?):routerOutput:(?P<RouterOutputId>.+?)$'), ['RouterOutput']),
    ],
    'mediaconvert': [
        (re.compile(r'^arn:(?P<Partition>.+?):mediaconvert:(?P<Region>.+?):(?P<Account>.+?):certificates/(?P<CertificateArn>.+?)$'), ['CertificateAssociation']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediaconvert:(?P<Region>.+?):(?P<Account>.+?):jobTemplates/(?P<JobTemplateName>.+?)$'), ['JobTemplate']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediaconvert:(?P<Region>.+?):(?P<Account>.+?):jobs/(?P<JobId>.+?)$'), ['Job']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediaconvert:(?P<Region>.+?):(?P<Account>.+?):presets/(?P<PresetName>.+?)$'), ['Preset']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediaconvert:(?P<Region>.+?):(?P<Account>.+?):queues/(?P<QueueName>.+?)$'), ['Queue']),
    ],
    'medialive': [
        (re.compile(r'^arn:(?P<Partition>.+?):medialive:(?P<Region>.+?):(?P<Account>.+?):channelPlacementGroup:(?P<ClusterId>.+?)/(?P<ChannelPlacementGroupId>.+?)$'), ['channel-placement-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):medialive:(?P<Region>.+?):(?P<Account>.+?):node:(?P<ClusterId>.+?)/(?P<NodeId>.+?)$'), ['node']),
        (re.compile(r'^arn:(?P<Partition>.+?):medialive:(?P<Region>.+?):(?P<Account>.+?):channel:(?P<ChannelId>.+?)$'), ['channel']),
        (re.compile(r'^arn:(?P<Partition>.+?):medialive:(?P<Region>.+?):(?P<Account>.+?):cloudwatch-alarm-template:(?P<CloudWatchAlarmTemplateId>.+?)$'), ['cloudwatch-alarm-template']),
        (re.compile(r'^arn:(?P<Partition>.+?):medialive:(?P<Region>.+?):(?P<Account>.+?):cloudwatch-alarm-template-group:(?P<CloudWatchAlarmTemplateGroupId>.+?)$'), ['cloudwatch-alarm-template-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):medialive:(?P<Region>.+?):(?P<Account>.+?):cluster:(?P<ClusterId>.+?)$'), ['cluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):medialive:(?P<Region>.+?):(?P<Account>.+?):eventbridge-rule-template:(?P<EventBridgeRuleTemplateId>.+?)$'), ['eventbridge-rule-template']),
        (re.compile(r'^arn:(?P<Partition>.+?):medialive:(?P<Region>.+?):(?P<Account>.+?):eventbridge-rule-template-group:(?P<EventBridgeRuleTemplateGroupId>.+?)$'), ['eventbridge-rule-template-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):medialive:(?P<Region>.+?):(?P<Account>.+?):input:(?P<InputId>.+?)$'), ['input']),
        (re.compile(r'^arn:(?P<Partition>.+?):medialive:(?P<Region>.+?):(?P<Account>.+?):inputDevice:(?P<DeviceId>.+?)$'), ['input-device']),
        (re.compile(r'^arn:(?P<Partition>.+?):medialive:(?P<Region>.+?):(?P<Account>.+?):inputSecurityGroup:(?P<InputSecurityGroupId>.+?)$'), ['input-security-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):medialive:(?P<Region>.+?):(?P<Account>.+?):multiplex:(?P<MultiplexId>.+?)$'), ['multiplex']),
        (re.compile(r'^arn:(?P<Partition>.+?):medialive:(?P<Region>.+?):(?P<Account>.+?):network:(?P<NetworkId>.+?)$'), ['network']),
        (re.compile(r'^arn:(?P<Partition>.+?):medialive:(?P<Region>.+?):(?P<Account>.+?):offering:(?P<OfferingId>.+?)$'), ['offering']),
        (re.compile(r'^arn:(?P<Partition>.+?):medialive:(?P<Region>.+?):(?P<Account>.+?):reservation:(?P<ReservationId>.+?)$'), ['reservation']),
        (re.compile(r'^arn:(?P<Partition>.+?):medialive:(?P<Region>.+?):(?P<Account>.+?):sdiSource:(?P<SdiSourceId>.+?)$'), ['sdi-source']),
        (re.compile(r'^arn:(?P<Partition>.+?):medialive:(?P<Region>.+?):(?P<Account>.+?):signal-map:(?P<SignalMapId>.+?)$'), ['signal-map']),
    ],
    'mediapackage': [
        (re.compile(r'^arn:(?P<Partition>.+?):mediapackage:(?P<Region>.+?):(?P<Account>.+?):channels/(?P<ChannelIdentifier>.+?)$'), ['channels']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediapackage:(?P<Region>.+?):(?P<Account>.+?):harvest_jobs/(?P<HarvestJobIdentifier>.+?)$'), ['harvest_jobs']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediapackage:(?P<Region>.+?):(?P<Account>.+?):origin_endpoints/(?P<OriginEndpointIdentifier>.+?)$'), ['origin_endpoints']),
    ],
    'mediapackage-vod': [
        (re.compile(r'^arn:(?P<Partition>.+?):mediapackage-vod:(?P<Region>.+?):(?P<Account>.+?):assets/(?P<AssetIdentifier>.+?)$'), ['assets']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediapackage-vod:(?P<Region>.+?):(?P<Account>.+?):packaging-configurations/(?P<PackagingConfigurationIdentifier>.+?)$'), ['packaging-configurations']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediapackage-vod:(?P<Region>.+?):(?P<Account>.+?):packaging-groups/(?P<PackagingGroupIdentifier>.+?)$'), ['packaging-groups']),
    ],
    'mediapackagev2': [
        (re.compile(r'^arn:(?P<Partition>.+?):mediapackagev2:(?P<Region>.+?):(?P<Account>.+?):channelGroup/(?P<ChannelGroupName>.+?)/channel/(?P<ChannelName>.+?)/originEndpoint/(?P<OriginEndpointName>.+?)/harvestJob/(?P<HarvestJobName>.+?)$'), ['HarvestJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediapackagev2:(?P<Region>.+?):(?P<Account>.+?):channelGroup/(?P<ChannelGroupName>.+?)$'), ['ChannelGroup']),
    ],
    'mediastore': [
        (re.compile(r'^arn:(?P<Partition>.+?):mediastore:(?P<Region>.+?):(?P<Account>.+?):container/(?P<ContainerName>.+?)/(?P<FolderPath>.+?)$'), ['folder']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediastore:(?P<Region>.+?):(?P<Account>.+?):container/(?P<ContainerName>.+?)/(?P<ObjectPath>.+?)$'), ['object']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediastore:(?P<Region>.+?):(?P<Account>.+?):container/(?P<ContainerName>.+?)$'), ['container']),
    ],
    'mediatailor': [
        (re.compile(r'^arn:(?P<Partition>.+?):mediatailor:(?P<Region>.+?):(?P<Account>.+?):liveSource/(?P<SourceLocationName>.+?)/(?P<LiveSourceName>.+?)$'), ['liveSource']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediatailor:(?P<Region>.+?):(?P<Account>.+?):program/(?P<ChannelName>.+?)/(?P<ProgramName>.+?)$'), ['program']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediatailor:(?P<Region>.+?):(?P<Account>.+?):vodSource/(?P<SourceLocationName>.+?)/(?P<VodSourceName>.+?)$'), ['vodSource']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediatailor:(?P<Region>.+?):(?P<Account>.+?):channel/(?P<ChannelName>.+?)$'), ['channel']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediatailor:(?P<Region>.+?):(?P<Account>.+?):playbackConfiguration/(?P<ResourceId>.+?)$'), ['playbackConfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediatailor:(?P<Region>.+?):(?P<Account>.+?):prefetchSchedule/(?P<ResourceId>.+?)$'), ['prefetchSchedule']),
        (re.compile(r'^arn:(?P<Partition>.+?):mediatailor:(?P<Region>.+?):(?P<Account>.+?):sourceLocation/(?P<SourceLocationName>.+?)$'), ['sourceLocation']),
    ],
    'medical-imaging': [
        (re.compile(r'^arn:(?P<Partition>.+?):medical-imaging:(?P<Region>.+?):(?P<Account>.+?):datastore/(?P<DatastoreId>.+?)/imageset/(?P<ImageSetId>.+?)$'), ['imageset']),
        (re.compile(r'^arn:(?P<Partition>.+?):medical-imaging:(?P<Region>.+?):(?P<Account>.+?):datastore/(?P<DatastoreId>.+?)$'), ['datastore']),
    ],
    'memorydb': [
        (re.compile(r'^arn:(?P<Partition>.+?):memorydb::(?P<Account>.+?):multiregioncluster/(?P<ClusterName>.+?)$'), ['multiregioncluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):memorydb::(?P<Account>.+?):multiregionparametergroup/(?P<MultiRegionParameterGroupName>.+?)$'), ['multiregionparametergroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):memorydb:(?P<Region>.+?):(?P<Account>.+?):acl/(?P<AclName>.+?)$'), ['acl']),
        (re.compile(r'^arn:(?P<Partition>.+?):memorydb:(?P<Region>.+?):(?P<Account>.+?):cluster/(?P<ClusterName>.+?)$'), ['cluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):memorydb:(?P<Region>.+?):(?P<Account>.+?):parametergroup/(?P<ParameterGroupName>.+?)$'), ['parametergroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):memorydb:(?P<Region>.+?):(?P<Account>.+?):reservednode/(?P<ReservationID>.+?)$'), ['reservednode']),
        (re.compile(r'^arn:(?P<Partition>.+?):memorydb:(?P<Region>.+?):(?P<Account>.+?):snapshot/(?P<SnapshotName>.+?)$'), ['snapshot']),
        (re.compile(r'^arn:(?P<Partition>.+?):memorydb:(?P<Region>.+?):(?P<Account>.+?):subnetgroup/(?P<SubnetGroupName>.+?)$'), ['subnetgroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):memorydb:(?P<Region>.+?):(?P<Account>.+?):user/(?P<UserName>.+?)$'), ['user']),
    ],
    'mgh': [
        (re.compile(r'^arn:(?P<Partition>.+?):mgh:(?P<Region>.+?):(?P<Account>.+?):progressUpdateStream/(?P<Stream>.+?)/migrationTask/(?P<Task>.+?)$'), ['migrationTask']),
        (re.compile(r'^arn:(?P<Partition>.+?):mgh:(?P<Region>.+?):(?P<Account>.+?):automation-run/(?P<RunID>.+?)$'), ['AutomationRunResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):mgh:(?P<Region>.+?):(?P<Account>.+?):automation-unit/(?P<AutomationUnitId>.+?)$'), ['AutomationUnitResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):mgh:(?P<Region>.+?):(?P<Account>.+?):progressUpdateStream/(?P<Stream>.+?)$'), ['progressUpdateStream']),
        (re.compile(r'^arn:(?P<Partition>.+?):mgh:(?P<Region>.+?):(?P<Account>.+?):(?P<ConnectionArn>.+?)$'), ['ConnectionResource']),
    ],
    'mgn': [
        (re.compile(r'^arn:(?P<Partition>.+?):mgn:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationID>.+?)$'), ['ApplicationResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):mgn:(?P<Region>.+?):(?P<Account>.+?):connector/(?P<ConnectorID>.+?)$'), ['ConnectorResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):mgn:(?P<Region>.+?):(?P<Account>.+?):export/(?P<ExportID>.+?)$'), ['ExportResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):mgn:(?P<Region>.+?):(?P<Account>.+?):import/(?P<ImportID>.+?)$'), ['ImportResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):mgn:(?P<Region>.+?):(?P<Account>.+?):job/(?P<JobID>.+?)$'), ['JobResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):mgn:(?P<Region>.+?):(?P<Account>.+?):launch-configuration-template/(?P<LaunchConfigurationTemplateID>.+?)$'), ['LaunchConfigurationTemplateResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):mgn:(?P<Region>.+?):(?P<Account>.+?):network-migration-definition/(?P<NetworkMigrationDefinitionID>.+?)$'), ['NetworkMigrationDefinitionResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):mgn:(?P<Region>.+?):(?P<Account>.+?):replication-configuration-template/(?P<ReplicationConfigurationTemplateID>.+?)$'), ['ReplicationConfigurationTemplateResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):mgn:(?P<Region>.+?):(?P<Account>.+?):source-server/(?P<SourceServerID>.+?)$'), ['SourceServerResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):mgn:(?P<Region>.+?):(?P<Account>.+?):vcenter-client/(?P<VcenterClientID>.+?)$'), ['VcenterClientResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):mgn:(?P<Region>.+?):(?P<Account>.+?):wave/(?P<WaveID>.+?)$'), ['WaveResource']),
    ],
    'migrationhub-orchestrator': [
        (re.compile(r'^arn:(?P<Partition>.+?):migrationhub-orchestrator:(?P<Region>.+?):(?P<Account>.+?):template/(?P<ResourceId>.+?)$'), ['template']),
        (re.compile(r'^arn:(?P<Partition>.+?):migrationhub-orchestrator:(?P<Region>.+?):(?P<Account>.+?):workflow/(?P<ResourceId>.+?)$'), ['workflow']),
    ],
    'mobiletargeting': [
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/campaigns/(?P<CampaignId>.+?)/kpis/daterange/(?P<KpiName>.+?)$'), ['campaign-metrics']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/journeys/(?P<JourneyId>.+?)/activities/(?P<JourneyActivityId>.+?)/execution-metrics$'), ['journey-execution-activity-metrics']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/journeys/(?P<JourneyId>.+?)/kpis/daterange/(?P<KpiName>.+?)$'), ['journey-metrics']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/jobs/export/(?P<JobId>.+?)$'), ['export-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/jobs/import/(?P<JobId>.+?)$'), ['import-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/journeys/(?P<JourneyId>.+?)/execution-metrics$'), ['journey-execution-metrics']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/kpis/daterange/(?P<KpiName>.+?)$'), ['application-metrics']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/attributes/(?P<AttributeType>.+?)$'), ['attribute']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/campaigns/(?P<CampaignId>.+?)$'), ['campaign']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/channels/(?P<ChannelType>.+?)$'), ['channel']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/endpoints/(?P<EndpointId>.+?)$'), ['endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/journeys/(?P<JourneyId>.+?)$'), ['journey']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/segments/(?P<SegmentId>.+?)$'), ['segment']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/users/(?P<UserId>.+?)$'), ['user']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/channels$'), ['channels']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/events$'), ['events']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/eventstream$'), ['event-stream']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/journeys$'), ['journeys']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/messages$'), ['messages']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/otp$'), ['otp']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)/verify-otp$'), ['verify-otp']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):phone/number/validate$'), ['phone-number-validate']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):templates/(?P<TemplateName>.+?)/(?P<TemplateType>.+?)$'), ['template']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):apps/(?P<AppId>.+?)$'), ['app']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):recommenders/(?P<RecommenderId>.+?)$'), ['recommender']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):reports$'), ['reports']),
        (re.compile(r'^arn:(?P<Partition>.+?):mobiletargeting:(?P<Region>.+?):(?P<Account>.+?):templates$'), ['templates']),
    ],
    'monitron': [
        (re.compile(r'^arn:(?P<Partition>.+?):monitron:(?P<Region>.+?):(?P<Account>.+?):project/(?P<ResourceId>.+?)$'), ['project']),
    ],
    'mpa': [
        (re.compile(r'^arn:(?P<Partition>.+?):mpa:(?P<Region>.+?):(?P<Account>.+?):approval-team/(?P<ApprovalTeamId>.+?)$'), ['approval-team']),
        (re.compile(r'^arn:(?P<Partition>.+?):mpa:(?P<Region>.+?):(?P<Account>.+?):identity-source/(?P<IdentitySourceId>.+?)$'), ['identity-source']),
        (re.compile(r'^arn:(?P<Partition>.+?):mpa:(?P<Region>.+?):(?P<Account>.+?):session/(?P<SessionId>.+?)$'), ['session']),
    ],
    'mq': [
        (re.compile(r'^arn:(?P<Partition>.+?):mq:(?P<Region>.+?):(?P<Account>.+?):broker:(?P<BrokerName>.+?):(?P<BrokerId>.+?)$'), ['brokers']),
        (re.compile(r'^arn:(?P<Partition>.+?):mq:(?P<Region>.+?):(?P<Account>.+?):configuration:(?P<ConfigurationId>.+?)$'), ['configurations', 'configuration']),
    ],
    'neptune-graph': [
        (re.compile(r'^arn:(?P<Partition>.+?):neptune-graph:(?P<Region>.+?):(?P<Account>.+?):export-task/(?P<ResourceId>.+?)$'), ['export-task']),
        (re.compile(r'^arn:(?P<Partition>.+?):neptune-graph:(?P<Region>.+?):(?P<Account>.+?):graph/(?P<ResourceId>.+?)$'), ['graph']),
        (re.compile(r'^arn:(?P<Partition>.+?):neptune-graph:(?P<Region>.+?):(?P<Account>.+?):graph-snapshot/(?P<ResourceId>.+?)$'), ['graph-snapshot']),
        (re.compile(r'^arn:(?P<Partition>.+?):neptune-graph:(?P<Region>.+?):(?P<Account>.+?):import-task/(?P<ResourceId>.+?)$'), ['import-task']),
    ],
    'network-firewall': [
        (re.compile(r'^arn:(?P<Partition>.+?):network-firewall:(?P<Region>.+?):(?P<Account>.+?):firewall/(?P<Name>.+?)$'), ['Firewall']),
        (re.compile(r'^arn:(?P<Partition>.+?):network-firewall:(?P<Region>.+?):(?P<Account>.+?):firewall-policy/(?P<Name>.+?)$'), ['FirewallPolicy']),
        (re.compile(r'^arn:(?P<Partition>.+?):network-firewall:(?P<Region>.+?):(?P<Account>.+?):proxy/(?P<Name>.+?)$'), ['Proxy']),
        (re.compile(r'^arn:(?P<Partition>.+?):network-firewall:(?P<Region>.+?):(?P<Account>.+?):proxy-configuration/(?P<Name>.+?)$'), ['ProxyConfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):network-firewall:(?P<Region>.+?):(?P<Account>.+?):proxy-rule-group/(?P<Name>.+?)$'), ['ProxyRuleGroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):network-firewall:(?P<Region>.+?):(?P<Account>.+?):stateful-rulegroup/(?P<Name>.+?)$'), ['StatefulRuleGroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):network-firewall:(?P<Region>.+?):(?P<Account>.+?):stateless-rulegroup/(?P<Name>.+?)$'), ['StatelessRuleGroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):network-firewall:(?P<Region>.+?):(?P<Account>.+?):tls-configuration/(?P<Name>.+?)$'), ['TLSInspectionConfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):network-firewall:(?P<Region>.+?):(?P<Account>.+?):vpc-endpoint-association/(?P<Name>.+?)$'), ['VpcEndpointAssociation']),
    ],
    'networkflowmonitor': [
        (re.compile(r'^arn:(?P<Partition>.+?):networkflowmonitor:(?P<Region>.+?):(?P<Account>.+?):monitor/(?P<MonitorName>.+?)$'), ['monitor']),
        (re.compile(r'^arn:(?P<Partition>.+?):networkflowmonitor:(?P<Region>.+?):(?P<Account>.+?):scope/(?P<ScopeId>.+?)$'), ['scope']),
    ],
    'networkmanager': [
        (re.compile(r'^arn:(?P<Partition>.+?):networkmanager::(?P<Account>.+?):connection/(?P<GlobalNetworkId>.+?)/(?P<ResourceId>.+?)$'), ['connection']),
        (re.compile(r'^arn:(?P<Partition>.+?):networkmanager::(?P<Account>.+?):device/(?P<GlobalNetworkId>.+?)/(?P<ResourceId>.+?)$'), ['device']),
        (re.compile(r'^arn:(?P<Partition>.+?):networkmanager::(?P<Account>.+?):link/(?P<GlobalNetworkId>.+?)/(?P<ResourceId>.+?)$'), ['link']),
        (re.compile(r'^arn:(?P<Partition>.+?):networkmanager::(?P<Account>.+?):site/(?P<GlobalNetworkId>.+?)/(?P<ResourceId>.+?)$'), ['site']),
        (re.compile(r'^arn:(?P<Partition>.+?):networkmanager::(?P<Account>.+?):attachment/(?P<ResourceId>.+?)$'), ['attachment']),
        (re.compile(r'^arn:(?P<Partition>.+?):networkmanager::(?P<Account>.+?):connect-peer/(?P<ResourceId>.+?)$'), ['connect-peer']),
        (re.compile(r'^arn:(?P<Partition>.+?):networkmanager::(?P<Account>.+?):core-network/(?P<ResourceId>.+?)$'), ['core-network']),
        (re.compile(r'^arn:(?P<Partition>.+?):networkmanager::(?P<Account>.+?):global-network/(?P<ResourceId>.+?)$'), ['global-network']),
        (re.compile(r'^arn:(?P<Partition>.+?):networkmanager::(?P<Account>.+?):peering/(?P<ResourceId>.+?)$'), ['peering']),
    ],
    'networkmonitor': [
        (re.compile(r'^arn:(?P<Partition>.+?):networkmonitor:(?P<Region>.+?):(?P<Account>.+?):monitor/(?P<MonitorName>.+?)$'), ['monitor']),
        (re.compile(r'^arn:(?P<Partition>.+?):networkmonitor:(?P<Region>.+?):(?P<Account>.+?):probe/(?P<ProbeId>.+?)$'), ['probe']),
    ],
    'nimble': [
        (re.compile(r'^arn:(?P<Partition>.+?):nimble:(?P<Region>.+?):(?P<Account>.+?):eula/(?P<EulaId>.+?)$'), ['eula']),
        (re.compile(r'^arn:(?P<Partition>.+?):nimble:(?P<Region>.+?):(?P<Account>.+?):eula-acceptance/(?P<EulaAcceptanceId>.+?)$'), ['eula-acceptance']),
        (re.compile(r'^arn:(?P<Partition>.+?):nimble:(?P<Region>.+?):(?P<Account>.+?):launch-profile/(?P<LaunchProfileId>.+?)$'), ['launch-profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):nimble:(?P<Region>.+?):(?P<Account>.+?):streaming-image/(?P<StreamingImageId>.+?)$'), ['streaming-image']),
        (re.compile(r'^arn:(?P<Partition>.+?):nimble:(?P<Region>.+?):(?P<Account>.+?):streaming-session/(?P<StreamingSessionId>.+?)$'), ['streaming-session']),
        (re.compile(r'^arn:(?P<Partition>.+?):nimble:(?P<Region>.+?):(?P<Account>.+?):streaming-session-backup/(?P<StreamingSessionBackupId>.+?)$'), ['streaming-session-backup']),
        (re.compile(r'^arn:(?P<Partition>.+?):nimble:(?P<Region>.+?):(?P<Account>.+?):studio/(?P<StudioId>.+?)$'), ['studio']),
        (re.compile(r'^arn:(?P<Partition>.+?):nimble:(?P<Region>.+?):(?P<Account>.+?):studio-component/(?P<StudioComponentId>.+?)$'), ['studio-component']),
    ],
    'notifications': [
        (re.compile(r'^arn:(?P<Partition>.+?):notifications::(?P<Account>.+?):managed-notification-configuration/category/(?P<Category>.+?)/sub-category/(?P<Subcategory>.+?)/event/(?P<NotificationEventId>.+?)/child-event/(?P<NotificationChildEventId>.+?)$'), ['ManagedNotificationChildEvent']),
        (re.compile(r'^arn:(?P<Partition>.+?):notifications::(?P<Account>.+?):managed-notification-configuration/category/(?P<Category>.+?)/sub-category/(?P<Subcategory>.+?)/event/(?P<NotificationEventId>.+?)$'), ['ManagedNotificationEvent']),
        (re.compile(r'^arn:(?P<Partition>.+?):notifications::(?P<Account>.+?):managed-notification-configuration/category/(?P<Category>.+?)/sub-category/(?P<Subcategory>.+?)$'), ['ManagedNotificationConfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):notifications::(?P<Account>.+?):configuration/(?P<NotificationConfigurationId>.+?)/rule/(?P<EventRuleId>.+?)$'), ['EventRule']),
        (re.compile(r'^arn:(?P<Partition>.+?):notifications::(?P<Account>.+?):configuration/(?P<NotificationConfigurationId>.+?)$'), ['NotificationConfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):notifications:(?P<Region>.+?):(?P<Account>.+?):configuration/(?P<NotificationConfigurationId>.+?)/event/(?P<NotificationEventId>.+?)$'), ['NotificationEvent']),
    ],
    'notifications-contacts': [
        (re.compile(r'^arn:(?P<Partition>.+?):notifications-contacts::(?P<Account>.+?):emailcontact/(?P<EmailContactId>.+?)$'), ['EmailContactResource']),
    ],
    'nova-act': [
        (re.compile(r'^arn:(?P<Partition>.+?):nova-act:(?P<Region>.+?):(?P<Account>.+?):workflow-definition/(?P<WorkflowDefinitionName>.+?)/workflow-run/(?P<WorkflowRunId>.+?)$'), ['workflow-run']),
        (re.compile(r'^arn:(?P<Partition>.+?):nova-act:(?P<Region>.+?):(?P<Account>.+?):workflow-definition/(?P<WorkflowDefinitionName>.+?)$'), ['workflow-definition']),
    ],
    'oam': [
        (re.compile(r'^arn:(?P<Partition>.+?):oam:(?P<Region>.+?):(?P<Account>.+?):link/(?P<ResourceId>.+?)$'), ['Link']),
        (re.compile(r'^arn:(?P<Partition>.+?):oam:(?P<Region>.+?):(?P<Account>.+?):sink/(?P<ResourceId>.+?)$'), ['Sink']),
    ],
    'observabilityadmin': [
        (re.compile(r'^arn:(?P<Partition>.+?):observabilityadmin:(?P<Region>.+?):(?P<Account>.+?):organization-centralization-rule/(?P<CentralizationRuleName>.+?)$'), ['organization-centralization-rule']),
        (re.compile(r'^arn:(?P<Partition>.+?):observabilityadmin:(?P<Region>.+?):(?P<Account>.+?):organization-telemetry-rule/(?P<TelemetryRuleName>.+?)$'), ['organization-telemetry-rule']),
        (re.compile(r'^arn:(?P<Partition>.+?):observabilityadmin:(?P<Region>.+?):(?P<Account>.+?):s3tableintegration/(?P<S3TableIntegrationIdentifier>.+?)$'), ['s3tableintegration']),
        (re.compile(r'^arn:(?P<Partition>.+?):observabilityadmin:(?P<Region>.+?):(?P<Account>.+?):telemetry-pipeline/(?P<TelemetryPipelineIdentifier>.+?)$'), ['telemetry-pipeline']),
        (re.compile(r'^arn:(?P<Partition>.+?):observabilityadmin:(?P<Region>.+?):(?P<Account>.+?):telemetry-rule/(?P<TelemetryRuleName>.+?)$'), ['telemetry-rule']),
    ],
    'odb': [
        (re.compile(r'^arn:(?P<Partition>.+?):odb:(?P<Region>.+?):(?P<Account>.+?):cloud-autonomous-vm-cluster/(?P<CloudAutonomousVmClusterId>.+?)$'), ['cloud-autonomous-vm-cluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):odb:(?P<Region>.+?):(?P<Account>.+?):cloud-exadata-infrastructure/(?P<CloudExadataInfrastructureId>.+?)$'), ['cloud-exadata-infrastructure']),
        (re.compile(r'^arn:(?P<Partition>.+?):odb:(?P<Region>.+?):(?P<Account>.+?):cloud-vm-cluster/(?P<CloudVmClusterId>.+?)$'), ['cloud-vm-cluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):odb:(?P<Region>.+?):(?P<Account>.+?):db-node/(?P<DbNodeId>.+?)$'), ['db-node']),
        (re.compile(r'^arn:(?P<Partition>.+?):odb:(?P<Region>.+?):(?P<Account>.+?):odb-network/(?P<OdbNetworkId>.+?)$'), ['odb-network']),
        (re.compile(r'^arn:(?P<Partition>.+?):odb:(?P<Region>.+?):(?P<Account>.+?):odb-peering-connection/(?P<OdbPeeringConnectionId>.+?)$'), ['odb-peering-connection']),
    ],
    'omics': [
        (re.compile(r'^arn:(?P<Partition>.+?):omics:(?P<Region>.+?):(?P<Account>.+?):annotationStore/(?P<AnnotationStoreName>.+?)/version/(?P<AnnotationStoreVersionName>.+?)$'), ['AnnotationStoreVersion']),
        (re.compile(r'^arn:(?P<Partition>.+?):omics:(?P<Region>.+?):(?P<Account>.+?):referenceStore/(?P<ReferenceStoreId>.+?)/reference/(?P<ReferenceId>.+?)$'), ['reference']),
        (re.compile(r'^arn:(?P<Partition>.+?):omics:(?P<Region>.+?):(?P<Account>.+?):sequenceStore/(?P<SequenceStoreId>.+?)/readSet/(?P<ReadSetId>.+?)$'), ['readSet']),
        (re.compile(r'^arn:(?P<Partition>.+?):omics:(?P<Region>.+?):(?P<Account>.+?):workflow/(?P<Id>.+?)/version/(?P<VersionName>.+?)$'), ['WorkflowVersion']),
        (re.compile(r'^arn:(?P<Partition>.+?):omics:(?P<Region>.+?):(?P<Account>.+?):annotationStore/(?P<AnnotationStoreName>.+?)$'), ['AnnotationStore']),
        (re.compile(r'^arn:(?P<Partition>.+?):omics:(?P<Region>.+?):(?P<Account>.+?):referenceStore/(?P<ReferenceStoreId>.+?)$'), ['referenceStore']),
        (re.compile(r'^arn:(?P<Partition>.+?):omics:(?P<Region>.+?):(?P<Account>.+?):run/(?P<Id>.+?)$'), ['run']),
        (re.compile(r'^arn:(?P<Partition>.+?):omics:(?P<Region>.+?):(?P<Account>.+?):runCache/(?P<Id>.+?)$'), ['runCache']),
        (re.compile(r'^arn:(?P<Partition>.+?):omics:(?P<Region>.+?):(?P<Account>.+?):runGroup/(?P<Id>.+?)$'), ['runGroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):omics:(?P<Region>.+?):(?P<Account>.+?):sequenceStore/(?P<SequenceStoreId>.+?)$'), ['sequenceStore']),
        (re.compile(r'^arn:(?P<Partition>.+?):omics:(?P<Region>.+?):(?P<Account>.+?):task/(?P<Id>.+?)$'), ['TaskResource']),
        (re.compile(r'^arn:(?P<Partition>.+?):omics:(?P<Region>.+?):(?P<Account>.+?):variantStore/(?P<VariantStoreName>.+?)$'), ['VariantStore']),
        (re.compile(r'^arn:(?P<Partition>.+?):omics:(?P<Region>.+?):(?P<Account>.+?):workflow/(?P<Id>.+?)$'), ['workflow']),
    ],
    'one': [
        (re.compile(r'^arn:(?P<Partition>.+?):one:(?P<Region>.+?):(?P<Account>.+?):device-instance/(?P<DeviceInstanceId>.+?)/configuration/(?P<Version>.+?)$'), ['configuration']),
        (re.compile(r'^arn:(?P<Partition>.+?):one:(?P<Region>.+?):(?P<Account>.+?):device-configuration-template/(?P<TemplateId>.+?)$'), ['device-configuration-template']),
        (re.compile(r'^arn:(?P<Partition>.+?):one:(?P<Region>.+?):(?P<Account>.+?):device-instance/(?P<DeviceInstanceId>.+?)$'), ['device-instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):one:(?P<Region>.+?):(?P<Account>.+?):site/(?P<SiteId>.+?)$'), ['site']),
        (re.compile(r'^arn:(?P<Partition>.+?):one:(?P<Region>.+?):(?P<Account>.+?):user/(?P<UserId>.+?)$'), ['user']),
    ],
    'opensearch': [
        (re.compile(r'^arn:(?P<Partition>.+?):opensearch:(?P<Region>.+?):(?P<Account>.+?):application/(?P<AppId>.+?)$'), ['application']),
        (re.compile(r'^arn:(?P<Partition>.+?):opensearch:(?P<Region>.+?):(?P<Account>.+?):datasource/(?P<DataSourceName>.+?)$'), ['datasource']),
    ],
    'opsworks': [
        (re.compile(r'^arn:(?P<Partition>.+?):opsworks:(?P<Region>.+?):(?P<Account>.+?):stack/(?P<StackId>.+?)/$'), ['stack']),
    ],
    'opsworks-cm': [
        (re.compile(r'^arn:(?P<Partition>.+?):opsworks-cm::(?P<Account>.+?):backup/(?P<ServerName>.+?)-\\{Date-and-Time-Stamp-of-Backup\\}$'), ['backup']),
        (re.compile(r'^arn:(?P<Partition>.+?):opsworks-cm::(?P<Account>.+?):server/(?P<ServerName>.+?)/(?P<UniqueId>.+?)$'), ['server']),
    ],
    'organizations': [
        (re.compile(r'^arn:(?P<Partition>.+?):organizations::aws:policy/(?P<PolicyType>.+?)/p-(?P<PolicyId>.+?)$'), ['awspolicy']),
        (re.compile(r'^arn:(?P<Partition>.+?):organizations::(?P<Account>.+?):transfer/o-(?P<OrganizationId>.+?)/(?P<TransferType>.+?)/(?P<TransferDirection>.+?)/rt-(?P<ResponsibilityTransferId>.+?)$'), ['responsibilitytransfer']),
        (re.compile(r'^arn:(?P<Partition>.+?):organizations::(?P<Account>.+?):handshake/o-(?P<OrganizationId>.+?)/(?P<HandshakeType>.+?)/h-(?P<HandshakeId>.+?)$'), ['handshake']),
        (re.compile(r'^arn:(?P<Partition>.+?):organizations::(?P<Account>.+?):policy/o-(?P<OrganizationId>.+?)/(?P<PolicyType>.+?)/p-(?P<PolicyId>.+?)$'), ['policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):organizations::(?P<Account>.+?):ou/o-(?P<OrganizationId>.+?)/ou-(?P<OrganizationalUnitId>.+?)$'), ['organizationalunit']),
        (re.compile(r'^arn:(?P<Partition>.+?):organizations::(?P<Account>.+?):resourcepolicy/o-(?P<OrganizationId>.+?)/rp-(?P<ResourcePolicyId>.+?)$'), ['resourcepolicy']),
        (re.compile(r'^arn:(?P<Partition>.+?):organizations::(?P<Account>.+?):root/o-(?P<OrganizationId>.+?)/r-(?P<RootId>.+?)$'), ['root']),
        (re.compile(r'^arn:(?P<Partition>.+?):organizations::(?P<Account>.+?):account/o-(?P<OrganizationId>.+?)/(?P<AccountId>.+?)$'), ['account']),
        (re.compile(r'^arn:(?P<Partition>.+?):organizations::(?P<Account>.+?):organization/o-(?P<OrganizationId>.+?)$'), ['organization']),
    ],
    'osis': [
        (re.compile(r'^arn:(?P<Partition>.+?):osis:(?P<Region>.+?):(?P<Account>.+?):blueprint/(?P<BlueprintName>.+?)$'), ['pipeline-blueprint']),
        (re.compile(r'^arn:(?P<Partition>.+?):osis:(?P<Region>.+?):(?P<Account>.+?):endpoint/(?P<EndpointId>.+?)$'), ['pipeline-endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):osis:(?P<Region>.+?):(?P<Account>.+?):pipeline/(?P<PipelineName>.+?)$'), ['pipeline']),
    ],
    'outposts': [
        (re.compile(r'^arn:(?P<Partition>.+?):outposts:(?P<Region>.+?):(?P<Account>.+?):outpost/(?P<OutpostId>.+?)$'), ['outpost']),
        (re.compile(r'^arn:(?P<Partition>.+?):outposts:(?P<Region>.+?):(?P<Account>.+?):site/(?P<SiteId>.+?)$'), ['site']),
    ],
    'panorama': [
        (re.compile(r'^arn:(?P<Partition>.+?):panorama:(?P<Region>.+?):(?P<Account>.+?):applicationInstance/(?P<ApplicationInstanceId>.+?)$'), ['applicationInstance']),
        (re.compile(r'^arn:(?P<Partition>.+?):panorama:(?P<Region>.+?):(?P<Account>.+?):device/(?P<DeviceId>.+?)$'), ['device']),
        (re.compile(r'^arn:(?P<Partition>.+?):panorama:(?P<Region>.+?):(?P<Account>.+?):package/(?P<PackageId>.+?)$'), ['package']),
    ],
    'partnercentral': [
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral::(?P<Account>.+?):catalog/(?P<Catalog>.+?)/ReportingData/(?P<TableId>.+?)/Dashboard/(?P<DashboardId>.+?)$'), ['Dashboard']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?)::catalog/(?P<Catalog>.+?)/benefit/(?P<Identifier>.+?)$'), ['Benefit']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?)::catalog/(?P<Catalog>.+?)/connection/(?P<Identifier>.+?)$'), ['Connection']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?)::catalog/(?P<Catalog>.+?)/connection-invitation/(?P<Identifier>.+?)$'), ['ConnectionInvitation']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?)::catalog/(?P<Catalog>.+?)/engagement/(?P<Identifier>.+?)$'), ['Engagement']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?)::catalog/(?P<Catalog>.+?)/engagement-by-accepting-invitation-task/(?P<TaskId>.+?)$'), ['engagement-by-accepting-invitation-task']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?)::catalog/(?P<Catalog>.+?)/engagement-from-opportunity-task/(?P<TaskId>.+?)$'), ['engagement-from-opportunity-task']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?)::catalog/(?P<Catalog>.+?)/engagement-invitation/(?P<Identifier>.+?)$'), ['engagement-invitation']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?)::catalog/(?P<Catalog>.+?)/opportunity-from-engagement-task/(?P<TaskId>.+?)$'), ['OpportunityFromEngagementTask']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?):(?P<Account>.+?):catalog/(?P<Catalog>.+?)/engagement/(?P<EngagementIdentifier>.+?)/resource/(?P<ResourceType>.+?)/(?P<ResourceIdentifier>.+?)/template/(?P<TemplateIdentifier>.+?)/resource-snapshot/(?P<SnapshotRevision>.+?)$'), ['ResourceSnapshot']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?):(?P<Account>.+?):catalog/(?P<Catalog>.+?)/program-management-account/(?P<ProgramManagementAccountId>.+?)/relationship/(?P<RelationshipId>.+?)$'), ['Relationship']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?):(?P<Account>.+?):catalog/(?P<Catalog>.+?)/benefit-allocation/(?P<Identifier>.+?)$'), ['BenefitAllocation']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?):(?P<Account>.+?):catalog/(?P<Catalog>.+?)/benefit-application/(?P<Identifier>.+?)$'), ['BenefitApplication']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?):(?P<Account>.+?):catalog/(?P<Catalog>.+?)/channel-handshake/(?P<Identifier>.+?)$'), ['ChannelHandshake']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?):(?P<Account>.+?):catalog/(?P<Catalog>.+?)/opportunity/(?P<Identifier>.+?)$'), ['Opportunity']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?):(?P<Account>.+?):catalog/(?P<Catalog>.+?)/partner/(?P<Identifier>.+?)$'), ['Partner']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?):(?P<Account>.+?):catalog/(?P<Catalog>.+?)/program-management-account/(?P<Identifier>.+?)$'), ['ProgramManagementAccount']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?):(?P<Account>.+?):catalog/(?P<Catalog>.+?)/resource-snapshot-job/(?P<Identifier>.+?)$'), ['resource-snapshot-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?):(?P<Account>.+?):catalog/(?P<Catalog>.+?)/solution/(?P<Identifier>.+?)$'), ['Solution']),
        (re.compile(r'^arn:(?P<Partition>.+?):partnercentral:(?P<Region>.+?):(?P<Account>.+?):catalog/(?P<Catalog>.+?)/connection-preferences$'), ['ConnectionPreferences']),
    ],
    'payment-cryptography': [
        (re.compile(r'^arn:(?P<Partition>.+?):payment-cryptography:(?P<Region>.+?):(?P<Account>.+?):alias/(?P<Alias>.+?)$'), ['alias']),
        (re.compile(r'^arn:(?P<Partition>.+?):payment-cryptography:(?P<Region>.+?):(?P<Account>.+?):key/(?P<KeyId>.+?)$'), ['key']),
    ],
    'payments': [
        (re.compile(r'^arn:(?P<Partition>.+?):payments::(?P<Account>.+?):payment-instrument:(?P<ResourceId>.+?)$'), ['payment-instrument']),
    ],
    'pca-connector-ad': [
        (re.compile(r'^arn:(?P<Partition>.+?):pca-connector-ad:(?P<Region>.+?):(?P<Account>.+?):connector/(?P<ConnectorId>.+?)/template/(?P<TemplateId>.+?)$'), ['Template']),
        (re.compile(r'^arn:(?P<Partition>.+?):pca-connector-ad:(?P<Region>.+?):(?P<Account>.+?):connector/(?P<ConnectorId>.+?)$'), ['Connector']),
        (re.compile(r'^arn:(?P<Partition>.+?):pca-connector-ad:(?P<Region>.+?):(?P<Account>.+?):directory-registration/(?P<DirectoryId>.+?)$'), ['DirectoryRegistration']),
    ],
    'pca-connector-scep': [
        (re.compile(r'^arn:(?P<Partition>.+?):pca-connector-scep:(?P<Region>.+?):(?P<Account>.+?):connector/(?P<ConnectorId>.+?)/challenge/(?P<ChallengeId>.+?)$'), ['Challenge']),
        (re.compile(r'^arn:(?P<Partition>.+?):pca-connector-scep:(?P<Region>.+?):(?P<Account>.+?):connector/(?P<ConnectorId>.+?)$'), ['Connector']),
    ],
    'pcs': [
        (re.compile(r'^arn:(?P<Partition>.+?):pcs:(?P<Region>.+?):(?P<Account>.+?):cluster/(?P<ClusterIdentifier>.+?)/computenodegroup/(?P<ComputeNodeGroupIdentifier>.+?)$'), ['computenodegroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):pcs:(?P<Region>.+?):(?P<Account>.+?):cluster/(?P<ClusterIdentifier>.+?)/queue/(?P<QueueIdentifier>.+?)$'), ['queue']),
        (re.compile(r'^arn:(?P<Partition>.+?):pcs:(?P<Region>.+?):(?P<Account>.+?):cluster/(?P<ClusterIdentifier>.+?)$'), ['cluster']),
    ],
    'personalize': [
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:::algorithm/(?P<ResourceId>.+?)$'), ['algorithm']),
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:::feature-transformation/(?P<ResourceId>.+?)$'), ['featureTransformation']),
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:::recipe/(?P<ResourceId>.+?)$'), ['recipe']),
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:(?P<Region>.+?):(?P<Account>.+?):batch-inference-job/(?P<ResourceId>.+?)$'), ['batchInferenceJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:(?P<Region>.+?):(?P<Account>.+?):batch-segment-job/(?P<ResourceId>.+?)$'), ['batchSegmentJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:(?P<Region>.+?):(?P<Account>.+?):campaign/(?P<ResourceId>.+?)$'), ['campaign']),
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:(?P<Region>.+?):(?P<Account>.+?):data-deletion-job/(?P<ResourceId>.+?)$'), ['dataDeletionJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:(?P<Region>.+?):(?P<Account>.+?):data-insights-job/(?P<ResourceId>.+?)$'), ['dataInsightsJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:(?P<Region>.+?):(?P<Account>.+?):dataset/(?P<ResourceId>.+?)$'), ['dataset']),
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:(?P<Region>.+?):(?P<Account>.+?):dataset-export-job/(?P<ResourceId>.+?)$'), ['datasetExportJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:(?P<Region>.+?):(?P<Account>.+?):dataset-group/(?P<ResourceId>.+?)$'), ['datasetGroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:(?P<Region>.+?):(?P<Account>.+?):dataset-import-job/(?P<ResourceId>.+?)$'), ['datasetImportJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:(?P<Region>.+?):(?P<Account>.+?):event-tracker/(?P<ResourceId>.+?)$'), ['eventTracker']),
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:(?P<Region>.+?):(?P<Account>.+?):filter/(?P<ResourceId>.+?)$'), ['filter']),
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:(?P<Region>.+?):(?P<Account>.+?):metric-attribution/(?P<ResourceId>.+?)$'), ['metricAttribution']),
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:(?P<Region>.+?):(?P<Account>.+?):recommender/(?P<ResourceId>.+?)$'), ['recommender']),
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:(?P<Region>.+?):(?P<Account>.+?):schema/(?P<ResourceId>.+?)$'), ['schema']),
        (re.compile(r'^arn:(?P<Partition>.+?):personalize:(?P<Region>.+?):(?P<Account>.+?):solution/(?P<ResourceId>.+?)$'), ['solution']),
    ],
    'pi': [
        (re.compile(r'^arn:(?P<Partition>.+?):pi:(?P<Region>.+?):(?P<Account>.+?):perf-reports/(?P<ServiceType>.+?)/(?P<Identifier>.+?)/(?P<ReportId>.+?)$'), ['perf-reports-resource']),
        (re.compile(r'^arn:(?P<Partition>.+?):pi:(?P<Region>.+?):(?P<Account>.+?):metrics/(?P<ServiceType>.+?)/(?P<Identifier>.+?)$'), ['metric-resource']),
    ],
    'pipes': [
        (re.compile(r'^arn:(?P<Partition>.+?):pipes:(?P<Region>.+?):(?P<Account>.+?):pipe/(?P<Name>.+?)$'), ['pipe']),
    ],
    'polly': [
        (re.compile(r'^arn:(?P<Partition>.+?):polly:(?P<Region>.+?):(?P<Account>.+?):lexicon/(?P<LexiconName>.+?)$'), ['lexicon']),
    ],
    'pricingplanmanager': [
        (re.compile(r'^arn:(?P<Partition>.+?):pricingplanmanager::(?P<Account>.+?):subscription/(?P<SubscriptionId>.+?)$'), ['subscription']),
    ],
    'private-networks': [
        (re.compile(r'^arn:(?P<Partition>.+?):private-networks:(?P<Region>.+?):(?P<Account>.+?):device-identifier/(?P<NetworkName>.+?)/(?P<DeviceId>.+?)$'), ['device-identifier']),
        (re.compile(r'^arn:(?P<Partition>.+?):private-networks:(?P<Region>.+?):(?P<Account>.+?):network-resource/(?P<NetworkName>.+?)/(?P<ResourceId>.+?)$'), ['network-resource']),
        (re.compile(r'^arn:(?P<Partition>.+?):private-networks:(?P<Region>.+?):(?P<Account>.+?):network-site/(?P<NetworkName>.+?)/(?P<NetworkSiteName>.+?)$'), ['network-site']),
        (re.compile(r'^arn:(?P<Partition>.+?):private-networks:(?P<Region>.+?):(?P<Account>.+?):order/(?P<NetworkName>.+?)/(?P<OrderId>.+?)$'), ['order']),
        (re.compile(r'^arn:(?P<Partition>.+?):private-networks:(?P<Region>.+?):(?P<Account>.+?):network/(?P<NetworkName>.+?)$'), ['network']),
    ],
    'profile': [
        (re.compile(r'^arn:(?P<Partition>.+?):profile:(?P<Region>.+?):(?P<Account>.+?):domains/(?P<DomainName>.+?)/calculated-attributes/(?P<CalculatedAttributeName>.+?)$'), ['calculated-attributes']),
        (re.compile(r'^arn:(?P<Partition>.+?):profile:(?P<Region>.+?):(?P<Account>.+?):domains/(?P<DomainName>.+?)/domain-object-types/(?P<ObjectTypeName>.+?)$'), ['domain-object-types']),
        (re.compile(r'^arn:(?P<Partition>.+?):profile:(?P<Region>.+?):(?P<Account>.+?):domains/(?P<DomainName>.+?)/event-streams/(?P<EventStreamName>.+?)$'), ['event-streams']),
        (re.compile(r'^arn:(?P<Partition>.+?):profile:(?P<Region>.+?):(?P<Account>.+?):domains/(?P<DomainName>.+?)/event-triggers/(?P<EventTriggerName>.+?)$'), ['event-triggers']),
        (re.compile(r'^arn:(?P<Partition>.+?):profile:(?P<Region>.+?):(?P<Account>.+?):domains/(?P<DomainName>.+?)/integrations/(?P<Uri>.+?)$'), ['integrations']),
        (re.compile(r'^arn:(?P<Partition>.+?):profile:(?P<Region>.+?):(?P<Account>.+?):domains/(?P<DomainName>.+?)/layouts/(?P<LayoutDefinitionName>.+?)$'), ['layouts']),
        (re.compile(r'^arn:(?P<Partition>.+?):profile:(?P<Region>.+?):(?P<Account>.+?):domains/(?P<DomainName>.+?)/object-types/(?P<ObjectTypeName>.+?)$'), ['object-types']),
        (re.compile(r'^arn:(?P<Partition>.+?):profile:(?P<Region>.+?):(?P<Account>.+?):domains/(?P<DomainName>.+?)/recommenders/(?P<RecommenderTypeName>.+?)$'), ['recommenders']),
        (re.compile(r'^arn:(?P<Partition>.+?):profile:(?P<Region>.+?):(?P<Account>.+?):domains/(?P<DomainName>.+?)/segment-definitions/(?P<SegmentDefinitionName>.+?)$'), ['segment-definitions']),
        (re.compile(r'^arn:(?P<Partition>.+?):profile:(?P<Region>.+?):(?P<Account>.+?):domains/(?P<DomainName>.+?)$'), ['domains']),
    ],
    'proton': [
        (re.compile(r'^arn:(?P<Partition>.+?):proton:(?P<Region>.+?):(?P<Account>.+?):environment-template/(?P<TemplateName>.+?):(?P<MajorVersionId>.+?)\\.(?P<MinorVersionId>.+?)$'), ['environment-template-minor-version']),
        (re.compile(r'^arn:(?P<Partition>.+?):proton:(?P<Region>.+?):(?P<Account>.+?):environment-template/(?P<TemplateName>.+?):(?P<MajorVersion>.+?)\\.(?P<MinorVersion>.+?)$'), ['environment-template-version']),
        (re.compile(r'^arn:(?P<Partition>.+?):proton:(?P<Region>.+?):(?P<Account>.+?):service-template/(?P<TemplateName>.+?):(?P<MajorVersionId>.+?)\\.(?P<MinorVersionId>.+?)$'), ['service-template-minor-version']),
        (re.compile(r'^arn:(?P<Partition>.+?):proton:(?P<Region>.+?):(?P<Account>.+?):service-template/(?P<TemplateName>.+?):(?P<MajorVersion>.+?)\\.(?P<MinorVersion>.+?)$'), ['service-template-version']),
        (re.compile(r'^arn:(?P<Partition>.+?):proton:(?P<Region>.+?):(?P<Account>.+?):service/(?P<ServiceName>.+?)/service-instance/(?P<Name>.+?)$'), ['service-instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):proton:(?P<Region>.+?):(?P<Account>.+?):environment-template/(?P<TemplateName>.+?):(?P<MajorVersionId>.+?)$'), ['environment-template-major-version']),
        (re.compile(r'^arn:(?P<Partition>.+?):proton:(?P<Region>.+?):(?P<Account>.+?):repository/(?P<Provider>.+?):(?P<Name>.+?)$'), ['repository']),
        (re.compile(r'^arn:(?P<Partition>.+?):proton:(?P<Region>.+?):(?P<Account>.+?):service-template/(?P<TemplateName>.+?):(?P<MajorVersionId>.+?)$'), ['service-template-major-version']),
        (re.compile(r'^arn:(?P<Partition>.+?):proton:(?P<Region>.+?):(?P<Account>.+?):component/(?P<Id>.+?)$'), ['component']),
        (re.compile(r'^arn:(?P<Partition>.+?):proton:(?P<Region>.+?):(?P<Account>.+?):deployment/(?P<Id>.+?)$'), ['deployment']),
        (re.compile(r'^arn:(?P<Partition>.+?):proton:(?P<Region>.+?):(?P<Account>.+?):environment/(?P<Name>.+?)$'), ['environment']),
        (re.compile(r'^arn:(?P<Partition>.+?):proton:(?P<Region>.+?):(?P<Account>.+?):environment-account-connection/(?P<Id>.+?)$'), ['environment-account-connection']),
        (re.compile(r'^arn:(?P<Partition>.+?):proton:(?P<Region>.+?):(?P<Account>.+?):environment-template/(?P<Name>.+?)$'), ['environment-template']),
        (re.compile(r'^arn:(?P<Partition>.+?):proton:(?P<Region>.+?):(?P<Account>.+?):service/(?P<Name>.+?)$'), ['service']),
        (re.compile(r'^arn:(?P<Partition>.+?):proton:(?P<Region>.+?):(?P<Account>.+?):service-template/(?P<Name>.+?)$'), ['service-template']),
    ],
    'purchase-orders': [
        (re.compile(r'^arn:(?P<Partition>.+?):purchase-orders::(?P<Account>.+?):purchase-order/(?P<ResourceName>.+?)$'), ['purchase-order']),
    ],
    'qapps': [
        (re.compile(r'^arn:(?P<Partition>.+?):qapps:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)/qapp/(?P<AppId>.+?)/session/(?P<SessionId>.+?)$'), ['qapp-session']),
        (re.compile(r'^arn:(?P<Partition>.+?):qapps:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)/qapp/(?P<AppId>.+?)$'), ['qapp']),
    ],
    'qbusiness': [
        (re.compile(r'^arn:(?P<Partition>.+?):qbusiness:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)/index/(?P<IndexId>.+?)/data-source/(?P<DataSourceId>.+?)$'), ['data-source']),
        (re.compile(r'^arn:(?P<Partition>.+?):qbusiness:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)/chat-response-configuration/(?P<ChatResponseConfigurationId>.+?)$'), ['chat-response-configuration']),
        (re.compile(r'^arn:(?P<Partition>.+?):qbusiness:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)/data-accessor/(?P<DataAccessorId>.+?)$'), ['data-accessor']),
        (re.compile(r'^arn:(?P<Partition>.+?):qbusiness:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)/index/(?P<IndexId>.+?)$'), ['index']),
        (re.compile(r'^arn:(?P<Partition>.+?):qbusiness:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)/integration/(?P<IntegrationId>.+?)$'), ['integration']),
        (re.compile(r'^arn:(?P<Partition>.+?):qbusiness:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)/plugin/(?P<PluginId>.+?)$'), ['plugin']),
        (re.compile(r'^arn:(?P<Partition>.+?):qbusiness:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)/retriever/(?P<RetrieverId>.+?)$'), ['retriever']),
        (re.compile(r'^arn:(?P<Partition>.+?):qbusiness:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)/subscription/(?P<SubscriptionId>.+?)$'), ['subscription']),
        (re.compile(r'^arn:(?P<Partition>.+?):qbusiness:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)/web-experience/(?P<WebExperienceId>.+?)$'), ['web-experience']),
        (re.compile(r'^arn:(?P<Partition>.+?):qbusiness:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)$'), ['application']),
    ],
    'qdeveloper': [
        (re.compile(r'^arn:(?P<Partition>.+?):qdeveloper:(?P<Region>.+?):(?P<Account>.+?):codeTransformation/(?P<Identifier>.+?)$'), ['codeTransformation']),
        (re.compile(r'^arn:(?P<Partition>.+?):qdeveloper:(?P<Region>.+?):(?P<Account>.+?):plugin/(?P<Identifier>.+?)$'), ['plugin']),
    ],
    'qldb': [
        (re.compile(r'^arn:(?P<Partition>.+?):qldb:(?P<Region>.+?):(?P<Account>.+?):ledger/(?P<LedgerName>.+?)/information_schema/user_tables$'), ['catalog']),
        (re.compile(r'^arn:(?P<Partition>.+?):qldb:(?P<Region>.+?):(?P<Account>.+?):ledger/(?P<LedgerName>.+?)/table/(?P<TableId>.+?)$'), ['table']),
        (re.compile(r'^arn:(?P<Partition>.+?):qldb:(?P<Region>.+?):(?P<Account>.+?):stream/(?P<LedgerName>.+?)/(?P<StreamId>.+?)$'), ['stream']),
        (re.compile(r'^arn:(?P<Partition>.+?):qldb:(?P<Region>.+?):(?P<Account>.+?):ledger/(?P<LedgerName>.+?)$'), ['ledger']),
    ],
    'quicksight': [
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight::(?P<Account>.+?):assignment/(?P<ResourceId>.+?)$'), ['assignment']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):dashboard/(?P<DashboardId>.+?)/snapshot-job/(?P<ResourceId>.+?)$'), ['dashboardSnapshotJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):dataset/(?P<DatasetId>.+?)/ingestion/(?P<ResourceId>.+?)$'), ['ingestion']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):dataset/(?P<DatasetId>.+?)/refresh-schedule/(?P<ResourceId>.+?)$'), ['refreshschedule']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):account/(?P<ResourceId>.+?)$'), ['account']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):action-connector/(?P<ResourceId>.+?)$'), ['actionconnector']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):agent/(?P<ResourceId>.+?)$'), ['agent']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):analysis/(?P<ResourceId>.+?)$'), ['analysis']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):asset-bundle-export-job/(?P<ResourceId>.+?)$'), ['assetBundleExportJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):asset-bundle-import-job/(?P<ResourceId>.+?)$'), ['assetBundleImportJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):brand/(?P<ResourceId>.+?)$'), ['brand']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):customization/(?P<ResourceId>.+?)$'), ['customization']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):custompermissions/(?P<ResourceId>.+?)$'), ['custompermissions']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):dashboard/(?P<ResourceId>.+?)$'), ['dashboard']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):dataset/(?P<ResourceId>.+?)$'), ['dataset']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):datasource/(?P<ResourceId>.+?)$'), ['datasource']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):email-customization-template/(?P<ResourceId>.+?)$'), ['emailCustomizationTemplate']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):extension-access/(?P<ResourceId>.+?)$'), ['extensionaccess']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):flow/(?P<ResourceId>.+?)$'), ['flow']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):folder/(?P<ResourceId>.+?)$'), ['folder']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):group/(?P<ResourceId>.+?)$'), ['group']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):namespace/(?P<ResourceId>.+?)$'), ['namespace']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):template/(?P<ResourceId>.+?)$'), ['template']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):theme/(?P<ResourceId>.+?)$'), ['theme']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):topic/(?P<ResourceId>.+?)$'), ['topic']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):user/(?P<ResourceId>.+?)$'), ['user']),
        (re.compile(r'^arn:(?P<Partition>.+?):quicksight:(?P<Region>.+?):(?P<Account>.+?):vpcConnection/(?P<ResourceId>.+?)$'), ['vpcconnection']),
    ],
    'ram': [
        (re.compile(r'^arn:(?P<Partition>.+?):ram::(?P<Account>.+?):permission/(?P<ResourcePath>.+?)$'), ['permission']),
        (re.compile(r'^arn:(?P<Partition>.+?):ram:(?P<Region>.+?):(?P<Account>.+?):permission/(?P<ResourcePath>.+?)$'), ['customer-managed-permission']),
        (re.compile(r'^arn:(?P<Partition>.+?):ram:(?P<Region>.+?):(?P<Account>.+?):resource-share/(?P<ResourcePath>.+?)$'), ['resource-share']),
        (re.compile(r'^arn:(?P<Partition>.+?):ram:(?P<Region>.+?):(?P<Account>.+?):resource-share-invitation/(?P<ResourcePath>.+?)$'), ['resource-share-invitation']),
    ],
    'rbin': [
        (re.compile(r'^arn:(?P<Partition>.+?):rbin:(?P<Region>.+?):(?P<Account>.+?):rule/(?P<ResourceName>.+?)$'), ['rule']),
    ],
    'rds': [
        (re.compile(r'^arn:(?P<Partition>.+?):rds::(?P<Account>.+?):global-cluster:(?P<GlobalCluster>.+?)$'), ['global-cluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):cev:(?P<Engine>.+?)/(?P<EngineVersion>.+?)/(?P<CustomDbEngineVersionId>.+?)$'), ['cev']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):snapshot-tenant-database:(?P<SnapshotName>.+?):(?P<TenantResourceId>.+?)$'), ['snapshot-tenant-database']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):auto-backup:(?P<DbInstanceAutomatedBackupId>.+?)$'), ['auto-backup']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):cluster:(?P<DbClusterInstanceName>.+?)$'), ['cluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):cluster-auto-backup:(?P<DbClusterAutomatedBackupId>.+?)$'), ['cluster-auto-backup']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):cluster-endpoint:(?P<DbClusterEndpoint>.+?)$'), ['cluster-endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):cluster-pg:(?P<ClusterParameterGroupName>.+?)$'), ['cluster-pg']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):cluster-snapshot:(?P<ClusterSnapshotName>.+?)$'), ['cluster-snapshot']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):db:(?P<DbInstanceName>.+?)$'), ['db']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):db-proxy:(?P<DbProxyId>.+?)$'), ['proxy']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):db-proxy-endpoint:(?P<DbProxyEndpointId>.+?)$'), ['proxy-endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):deployment:(?P<BlueGreenDeploymentIdentifier>.+?)$'), ['deployment']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):es:(?P<SubscriptionName>.+?)$'), ['es']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):integration:(?P<IntegrationIdentifier>.+?)$'), ['integration']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):og:(?P<OptionGroupName>.+?)$'), ['og']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):pg:(?P<ParameterGroupName>.+?)$'), ['pg']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):ri:(?P<ReservedDbInstanceName>.+?)$'), ['ri']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):secgrp:(?P<SecurityGroupName>.+?)$'), ['secgrp']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):shard-group:(?P<DbShardGroupResourceId>.+?)$'), ['shardgrp']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):snapshot:(?P<SnapshotName>.+?)$'), ['snapshot']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):subgrp:(?P<SubnetGroupName>.+?)$'), ['subgrp']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):target-group:(?P<TargetGroupId>.+?)$'), ['target-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):rds:(?P<Region>.+?):(?P<Account>.+?):tenant-database:(?P<TenantResourceId>.+?)$'), ['tenant-database']),
    ],
    'rds-db': [
        (re.compile(r'^arn:(?P<Partition>.+?):rds-db:(?P<Region>.+?):(?P<Account>.+?):dbuser:(?P<DbiResourceId>.+?)/(?P<DbUserName>.+?)$'), ['db-user']),
    ],
    'redshift': [
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):securitygroup:(?P<SecurityGroupName>.+?)/ec2securitygroup/(?P<Owner>.+?)/(?P<Ec2SecurityGroupId>.+?)$'), ['securitygroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):securitygroupingress:(?P<SecurityGroupName>.+?)/ec2securitygroup/(?P<Owner>.+?)/(?P<Ece2SecuritygroupId>.+?)$'), ['securitygroupingress-ec2securitygroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):securitygroupingress:(?P<SecurityGroupName>.+?)/cidrip/(?P<IpRange>.+?)$'), ['securitygroupingress-cidr']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):datashare:(?P<ProducerClusterNamespace>.+?)/(?P<DataShareName>.+?)$'), ['datashare']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):dbgroup:(?P<ClusterName>.+?)/(?P<DbGroup>.+?)$'), ['dbgroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):dbname:(?P<ClusterName>.+?)/(?P<DbName>.+?)$'), ['dbname']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):dbuser:(?P<ClusterName>.+?)/(?P<DbUser>.+?)$'), ['dbuser']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):snapshot:(?P<ClusterName>.+?)/(?P<SnapshotName>.+?)$'), ['snapshot']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):cluster:(?P<ClusterName>.+?)$'), ['cluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):eventsubscription:(?P<EventSubscriptionName>.+?)$'), ['eventsubscription']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):hsmclientcertificate:(?P<HSMClientCertificateId>.+?)$'), ['hsmclientcertificate']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):hsmconfiguration:(?P<HSMConfigurationId>.+?)$'), ['hsmconfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):integration:(?P<IntegrationIdentifier>.+?)$'), ['integration']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):namespace:(?P<ClusterNamespace>.+?)$'), ['namespace']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):parametergroup:(?P<ParameterGroupName>.+?)$'), ['parametergroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):qev2idcapplication:(?P<Qev2IdcApplicationId>.+?)$'), ['qev2idcapplication']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):redshiftidcapplication:(?P<RedshiftIdcApplicationId>.+?)$'), ['redshiftidcapplication']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):snapshotcopygrant:(?P<SnapshotCopyGrantName>.+?)$'), ['snapshotcopygrant']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):snapshotschedule:(?P<ScheduleIdentifier>.+?)$'), ['snapshotschedule']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):subnetgroup:(?P<SubnetGroupName>.+?)$'), ['subnetgroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift:(?P<Region>.+?):(?P<Account>.+?):usagelimit:(?P<UsageLimitId>.+?)$'), ['usagelimit']),
    ],
    'redshift-serverless': [
        (re.compile(r'^arn:(?P<Partition>.+?):redshift-serverless:(?P<Region>.+?):(?P<Account>.+?):managed-workgroup/(?P<ManagedWorkgroupId>.+?)$'), ['managed-workgroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift-serverless:(?P<Region>.+?):(?P<Account>.+?):managed-workgroup/(?P<ManagedWorkgroupName>.+?)$'), ['managed-workgroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift-serverless:(?P<Region>.+?):(?P<Account>.+?):managedvpcendpoint/(?P<EndpointAccessId>.+?)$'), ['endpointAccess']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift-serverless:(?P<Region>.+?):(?P<Account>.+?):namespace/(?P<NamespaceId>.+?)$'), ['namespace']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift-serverless:(?P<Region>.+?):(?P<Account>.+?):recoverypoint/(?P<RecoveryPointId>.+?)$'), ['recoveryPoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift-serverless:(?P<Region>.+?):(?P<Account>.+?):snapshot/(?P<SnapshotId>.+?)$'), ['snapshot']),
        (re.compile(r'^arn:(?P<Partition>.+?):redshift-serverless:(?P<Region>.+?):(?P<Account>.+?):workgroup/(?P<WorkgroupId>.+?)$'), ['workgroup']),
    ],
    'refactor-spaces': [
        (re.compile(r'^arn:(?P<Partition>.+?):refactor-spaces:(?P<Region>.+?):(?P<Account>.+?):environment/(?P<EnvironmentId>.+?)/application/(?P<ApplicationId>.+?)/route/(?P<RouteId>.+?)$'), ['route']),
        (re.compile(r'^arn:(?P<Partition>.+?):refactor-spaces:(?P<Region>.+?):(?P<Account>.+?):environment/(?P<EnvironmentId>.+?)/application/(?P<ApplicationId>.+?)/service/(?P<ServiceId>.+?)$'), ['service']),
        (re.compile(r'^arn:(?P<Partition>.+?):refactor-spaces:(?P<Region>.+?):(?P<Account>.+?):environment/(?P<EnvironmentId>.+?)/application/(?P<ApplicationId>.+?)$'), ['application']),
        (re.compile(r'^arn:(?P<Partition>.+?):refactor-spaces:(?P<Region>.+?):(?P<Account>.+?):environment/(?P<EnvironmentId>.+?)$'), ['environment']),
    ],
    'rekognition': [
        (re.compile(r'^arn:(?P<Partition>.+?):rekognition:(?P<Region>.+?):(?P<Account>.+?):project/(?P<ProjectName>.+?)/dataset/(?P<DatasetType>.+?)/(?P<CreationTimestamp>.+?)$'), ['dataset']),
        (re.compile(r'^arn:(?P<Partition>.+?):rekognition:(?P<Region>.+?):(?P<Account>.+?):project/(?P<ProjectName>.+?)/version/(?P<VersionName>.+?)/(?P<CreationTimestamp>.+?)$'), ['projectversion']),
        (re.compile(r'^arn:(?P<Partition>.+?):rekognition:(?P<Region>.+?):(?P<Account>.+?):project/(?P<ProjectName>.+?)/(?P<CreationTimestamp>.+?)$'), ['project']),
        (re.compile(r'^arn:(?P<Partition>.+?):rekognition:(?P<Region>.+?):(?P<Account>.+?):collection/(?P<CollectionId>.+?)$'), ['collection']),
        (re.compile(r'^arn:(?P<Partition>.+?):rekognition:(?P<Region>.+?):(?P<Account>.+?):streamprocessor/(?P<StreamprocessorId>.+?)$'), ['streamprocessor']),
    ],
    'repostspace': [
        (re.compile(r'^arn:(?P<Partition>.+?):repostspace:(?P<Region>.+?):(?P<Account>.+?):space/(?P<ResourceId>.+?)$'), ['space']),
    ],
    'resiliencehub': [
        (re.compile(r'^arn:(?P<Partition>.+?):resiliencehub:(?P<Region>.+?):(?P<Account>.+?):app/(?P<AppId>.+?)$'), ['application']),
        (re.compile(r'^arn:(?P<Partition>.+?):resiliencehub:(?P<Region>.+?):(?P<Account>.+?):app-assessment/(?P<AppAssessmentId>.+?)$'), ['app-assessment']),
        (re.compile(r'^arn:(?P<Partition>.+?):resiliencehub:(?P<Region>.+?):(?P<Account>.+?):recommendation-template/(?P<RecommendationTemplateId>.+?)$'), ['recommendation-template']),
        (re.compile(r'^arn:(?P<Partition>.+?):resiliencehub:(?P<Region>.+?):(?P<Account>.+?):resiliency-policy/(?P<ResiliencyPolicyId>.+?)$'), ['resiliency-policy']),
    ],
    'resource-explorer-2': [
        (re.compile(r'^arn:(?P<Partition>.+?):resource-explorer-2:(?P<Region>.+?):(?P<Account>.+?):managed-view/(?P<ManagedViewName>.+?)/(?P<ManagedViewUuid>.+?)$'), ['managed-view']),
        (re.compile(r'^arn:(?P<Partition>.+?):resource-explorer-2:(?P<Region>.+?):(?P<Account>.+?):view/(?P<ViewName>.+?)/(?P<ViewUuid>.+?)$'), ['view']),
        (re.compile(r'^arn:(?P<Partition>.+?):resource-explorer-2:(?P<Region>.+?):(?P<Account>.+?):index/(?P<IndexUuid>.+?)$'), ['index']),
    ],
    'resource-groups': [
        (re.compile(r'^arn:(?P<Partition>.+?):resource-groups:(?P<Region>.+?):(?P<Account>.+?):group/(?P<GroupName>.+?)/tag-sync-task/(?P<TaskId>.+?)$'), ['tagSyncTask']),
        (re.compile(r'^arn:(?P<Partition>.+?):resource-groups:(?P<Region>.+?):(?P<Account>.+?):group/(?P<GroupName>.+?)$'), ['group']),
    ],
    'robomaker': [
        (re.compile(r'^arn:(?P<Partition>.+?):robomaker:(?P<Region>.+?):(?P<Account>.+?):deployment-fleet/(?P<FleetName>.+?)/(?P<CreatedOnEpoch>.+?)$'), ['deploymentFleet']),
        (re.compile(r'^arn:(?P<Partition>.+?):robomaker:(?P<Region>.+?):(?P<Account>.+?):robot/(?P<RobotName>.+?)/(?P<CreatedOnEpoch>.+?)$'), ['robot']),
        (re.compile(r'^arn:(?P<Partition>.+?):robomaker:(?P<Region>.+?):(?P<Account>.+?):robot-application/(?P<ApplicationName>.+?)/(?P<CreatedOnEpoch>.+?)$'), ['robotApplication']),
        (re.compile(r'^arn:(?P<Partition>.+?):robomaker:(?P<Region>.+?):(?P<Account>.+?):simulation-application/(?P<ApplicationName>.+?)/(?P<CreatedOnEpoch>.+?)$'), ['simulationApplication']),
        (re.compile(r'^arn:(?P<Partition>.+?):robomaker:(?P<Region>.+?):(?P<Account>.+?):deployment-job/(?P<DeploymentJobId>.+?)$'), ['deploymentJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):robomaker:(?P<Region>.+?):(?P<Account>.+?):simulation-job/(?P<SimulationJobId>.+?)$'), ['simulationJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):robomaker:(?P<Region>.+?):(?P<Account>.+?):simulation-job-batch/(?P<SimulationJobBatchId>.+?)$'), ['simulationJobBatch']),
        (re.compile(r'^arn:(?P<Partition>.+?):robomaker:(?P<Region>.+?):(?P<Account>.+?):world/(?P<WorldId>.+?)$'), ['world']),
        (re.compile(r'^arn:(?P<Partition>.+?):robomaker:(?P<Region>.+?):(?P<Account>.+?):world-export-job/(?P<WorldExportJobId>.+?)$'), ['worldExportJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):robomaker:(?P<Region>.+?):(?P<Account>.+?):world-generation-job/(?P<WorldGenerationJobId>.+?)$'), ['worldGenerationJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):robomaker:(?P<Region>.+?):(?P<Account>.+?):world-template/(?P<WorldTemplateJobId>.+?)$'), ['worldTemplate']),
    ],
    'rolesanywhere': [
        (re.compile(r'^arn:(?P<Partition>.+?):rolesanywhere:(?P<Region>.+?):(?P<Account>.+?):crl/(?P<CrlId>.+?)$'), ['crl']),
        (re.compile(r'^arn:(?P<Partition>.+?):rolesanywhere:(?P<Region>.+?):(?P<Account>.+?):profile/(?P<ProfileId>.+?)$'), ['profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):rolesanywhere:(?P<Region>.+?):(?P<Account>.+?):subject/(?P<SubjectId>.+?)$'), ['subject']),
        (re.compile(r'^arn:(?P<Partition>.+?):rolesanywhere:(?P<Region>.+?):(?P<Account>.+?):trust-anchor/(?P<TrustAnchorId>.+?)$'), ['trust-anchor']),
    ],
    'route53': [
        (re.compile(r'^arn:(?P<Partition>.+?):route53:::change/(?P<Id>.+?)$'), ['change']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53:::cidrcollection/(?P<Id>.+?)$'), ['cidrcollection']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53:::delegationset/(?P<Id>.+?)$'), ['delegationset']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53:::healthcheck/(?P<Id>.+?)$'), ['healthcheck']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53:::hostedzone/(?P<Id>.+?)$'), ['hostedzone']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53:::queryloggingconfig/(?P<Id>.+?)$'), ['queryloggingconfig']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53:::trafficpolicy/(?P<Id>.+?)$'), ['trafficpolicy']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53:::trafficpolicyinstance/(?P<Id>.+?)$'), ['trafficpolicyinstance']),
    ],
    'route53-recovery-control': [
        (re.compile(r'^arn:(?P<Partition>.+?):route53-recovery-control::(?P<Account>.+?):controlpanel/(?P<ControlPanelId>.+?)/routingcontrol/(?P<RoutingControlId>.+?)$'), ['routingcontrol']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53-recovery-control::(?P<Account>.+?):controlpanel/(?P<ControlPanelId>.+?)/safetyrule/(?P<SafetyRuleId>.+?)$'), ['safetyrule']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53-recovery-control::(?P<Account>.+?):cluster/(?P<ResourceId>.+?)$'), ['cluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53-recovery-control::(?P<Account>.+?):controlpanel/(?P<ControlPanelId>.+?)$'), ['controlpanel']),
    ],
    'route53-recovery-readiness': [
        (re.compile(r'^arn:(?P<Partition>.+?):route53-recovery-readiness::(?P<Account>.+?):cell/(?P<ResourceId>.+?)$'), ['cell']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53-recovery-readiness::(?P<Account>.+?):readiness-check/(?P<ResourceId>.+?)$'), ['readinesscheck']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53-recovery-readiness::(?P<Account>.+?):recovery-group/(?P<ResourceId>.+?)$'), ['recoverygroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53-recovery-readiness::(?P<Account>.+?):resource-set/(?P<ResourceId>.+?)$'), ['resourceset']),
    ],
    'route53globalresolver': [
        (re.compile(r'^arn:(?P<Partition>.+?):route53globalresolver::(?P<Account>.+?):access-source/(?P<Id>.+?)$'), ['access-source']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53globalresolver::(?P<Account>.+?):access-token/(?P<Id>.+?)$'), ['access-token']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53globalresolver::(?P<Account>.+?):dns-view/(?P<Id>.+?)$'), ['dns-view']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53globalresolver::(?P<Account>.+?):firewall-domain-list/(?P<Id>.+?)$'), ['firewall-domain-list']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53globalresolver::(?P<Account>.+?):global-resolver/(?P<Id>.+?)$'), ['global-resolver']),
    ],
    'route53profiles': [
        (re.compile(r'^arn:(?P<Partition>.+?):route53profiles:(?P<Region>.+?):(?P<Account>.+?):profile/(?P<ResourceId>.+?)$'), ['profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53profiles:(?P<Region>.+?):(?P<Account>.+?):profile-association/(?P<ResourceId>.+?)$'), ['profile-association']),
    ],
    'route53resolver': [
        (re.compile(r'^arn:(?P<Partition>.+?):route53resolver:(?P<Region>.+?):(?P<Account>.+?):autodefined-rule/(?P<ResourceId>.+?)$'), ['autodefined-rule']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53resolver:(?P<Region>.+?):(?P<Account>.+?):firewall-config/(?P<ResourceId>.+?)$'), ['firewall-config']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53resolver:(?P<Region>.+?):(?P<Account>.+?):firewall-domain-list/(?P<ResourceId>.+?)$'), ['firewall-domain-list']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53resolver:(?P<Region>.+?):(?P<Account>.+?):firewall-rule-group/(?P<ResourceId>.+?)$'), ['firewall-rule-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53resolver:(?P<Region>.+?):(?P<Account>.+?):firewall-rule-group-association/(?P<ResourceId>.+?)$'), ['firewall-rule-group-association']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53resolver:(?P<Region>.+?):(?P<Account>.+?):outpost-resolver/(?P<ResourceId>.+?)$'), ['outpost-resolver']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53resolver:(?P<Region>.+?):(?P<Account>.+?):resolver-config/(?P<ResourceId>.+?)$'), ['resolver-config']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53resolver:(?P<Region>.+?):(?P<Account>.+?):resolver-dnssec-config/(?P<ResourceId>.+?)$'), ['resolver-dnssec-config']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53resolver:(?P<Region>.+?):(?P<Account>.+?):resolver-endpoint/(?P<ResourceId>.+?)$'), ['resolver-endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53resolver:(?P<Region>.+?):(?P<Account>.+?):resolver-query-log-config/(?P<ResourceId>.+?)$'), ['resolver-query-log-config']),
        (re.compile(r'^arn:(?P<Partition>.+?):route53resolver:(?P<Region>.+?):(?P<Account>.+?):resolver-rule/(?P<ResourceId>.+?)$'), ['resolver-rule']),
    ],
    'rum': [
        (re.compile(r'^arn:(?P<Partition>.+?):rum:(?P<Region>.+?):(?P<Account>.+?):appmonitor/(?P<Name>.+?)$'), ['AppMonitorResource']),
    ],
    's3': [
        (re.compile(r'^arn:(?P<Partition>.+?):s3:::(?P<BucketName>.+?)/(?P<ObjectName>.+?)$'), ['object']),
        (re.compile(r'^arn:(?P<Partition>.+?):s3:::(?P<BucketName>.+?)$'), ['bucket']),
        (re.compile(r'^arn:(?P<Partition>.+?):s3::(?P<Account>.+?):accesspoint/(?P<AccessPointAlias>.+?)$'), ['multiregionaccesspoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):s3:us-west-2:(?P<Account>.+?):async-request/mrap/(?P<Operation>.+?)/(?P<Token>.+?)$'), ['multiregionaccesspointrequestarn']),
        (re.compile(r'^arn:(?P<Partition>.+?):s3:(?P<Region>.+?):(?P<Account>.+?):access-grants/default/grant/(?P<Token>.+?)$'), ['accessgrant']),
        (re.compile(r'^arn:(?P<Partition>.+?):s3:(?P<Region>.+?):(?P<Account>.+?):access-grants/default/location/(?P<Token>.+?)$'), ['accessgrantslocation']),
        (re.compile(r'^arn:(?P<Partition>.+?):s3:(?P<Region>.+?):(?P<Account>.+?):accesspoint/(?P<AccessPointName>.+?)/object/(?P<ObjectName>.+?)$'), ['accesspointobject']),
        (re.compile(r'^arn:(?P<Partition>.+?):s3:(?P<Region>.+?):(?P<Account>.+?):access-grants/default$'), ['accessgrantsinstance']),
        (re.compile(r'^arn:(?P<Partition>.+?):s3:(?P<Region>.+?):(?P<Account>.+?):accesspoint/(?P<AccessPointName>.+?)$'), ['accesspoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):s3:(?P<Region>.+?):(?P<Account>.+?):job/(?P<JobId>.+?)$'), ['job']),
        (re.compile(r'^arn:(?P<Partition>.+?):s3:(?P<Region>.+?):(?P<Account>.+?):storage-lens/(?P<ConfigId>.+?)$'), ['storagelensconfiguration', 'storage-lens']),
        (re.compile(r'^arn:(?P<Partition>.+?):s3:(?P<Region>.+?):(?P<Account>.+?):storage-lens-group/(?P<Name>.+?)$'), ['storagelensgroup']),
    ],
    's3-object-lambda': [
        (re.compile(r'^arn:(?P<Partition>.+?):s3-object-lambda:(?P<Region>.+?):(?P<Account>.+?):accesspoint/(?P<AccessPointName>.+?)$'), ['objectlambdaaccesspoint']),
    ],
    's3-outposts': [
        (re.compile(r'^arn:(?P<Partition>.+?):s3-outposts:(?P<Region>.+?):(?P<Account>.+?):outpost/(?P<OutpostId>.+?)/bucket/(?P<BucketName>.+?)/object/(?P<ObjectName>.+?)$'), ['object']),
        (re.compile(r'^arn:(?P<Partition>.+?):s3-outposts:(?P<Region>.+?):(?P<Account>.+?):outpost/(?P<OutpostId>.+?)/accesspoint/(?P<AccessPointName>.+?)$'), ['accesspoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):s3-outposts:(?P<Region>.+?):(?P<Account>.+?):outpost/(?P<OutpostId>.+?)/bucket/(?P<BucketName>.+?)$'), ['bucket']),
        (re.compile(r'^arn:(?P<Partition>.+?):s3-outposts:(?P<Region>.+?):(?P<Account>.+?):outpost/(?P<OutpostId>.+?)/endpoint/(?P<EndpointId>.+?)$'), ['endpoint']),
    ],
    's3express': [
        (re.compile(r'^arn:(?P<Partition>.+?):s3express:(?P<Region>.+?):(?P<Account>.+?):accesspoint/(?P<AccessPointName>.+?)$'), ['accesspoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):s3express:(?P<Region>.+?):(?P<Account>.+?):bucket/(?P<BucketName>.+?)$'), ['bucket']),
    ],
    's3tables': [
        (re.compile(r'^arn:(?P<Partition>.+?):s3tables:(?P<Region>.+?):(?P<Account>.+?):bucket/(?P<TableBucketName>.+?)/table/(?P<TableID>.+?)$'), ['Table']),
        (re.compile(r'^arn:(?P<Partition>.+?):s3tables:(?P<Region>.+?):(?P<Account>.+?):bucket/(?P<TableBucketName>.+?)$'), ['TableBucket']),
    ],
    's3vectors': [
        (re.compile(r'^arn:(?P<Partition>.+?):s3vectors:(?P<Region>.+?):(?P<Account>.+?):bucket/(?P<BucketName>.+?)/index/(?P<IndexName>.+?)$'), ['Index']),
        (re.compile(r'^arn:(?P<Partition>.+?):s3vectors:(?P<Region>.+?):(?P<Account>.+?):bucket/(?P<BucketName>.+?)$'), ['VectorBucket']),
    ],
    'sagemaker': [
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):app/(?P<DomainId>.+?)/(?P<UserProfileName>.+?)/(?P<AppType>.+?)/(?P<AppName>.+?)$'), ['app']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):device-fleet/(?P<DeviceFleetName>.+?)/device/(?P<DeviceName>.+?)$'), ['device']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):hub-content/(?P<HubName>.+?)/(?P<HubContentType>.+?)/(?P<HubContentName>.+?)$'), ['hub-content']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):model-card/(?P<ModelCardName>.+?)/export-job/(?P<ExportJobName>.+?)$'), ['model-card-export-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):monitoring-schedule/(?P<MonitoringScheduleName>.+?)/alert/(?P<MonitoringScheduleAlertName>.+?)$'), ['monitoring-schedule-alert']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):pipeline/(?P<PipelineName>.+?)/execution/(?P<RandomString>.+?)$'), ['pipeline-execution']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):image-version/(?P<ImageName>.+?)/(?P<Version>.+?)$'), ['image-version']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):space/(?P<DomainId>.+?)/(?P<SpaceName>.+?)$'), ['space']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):user-profile/(?P<DomainId>.+?)/(?P<UserProfileName>.+?)$'), ['user-profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):action/(?P<ActionName>.+?)$'), ['action']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):algorithm/(?P<AlgorithmName>.+?)$'), ['algorithm']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):app-image-config/(?P<AppImageConfigName>.+?)$'), ['app-image-config']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):artifact/(?P<HashOfArtifactSource>.+?)$'), ['artifact']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):automl-job/(?P<AutoMLJobJobName>.+?)$'), ['automl-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):cluster/(?P<ClusterId>.+?)$'), ['cluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):cluster-scheduler-config/(?P<ClusterSchedulerConfigId>.+?)$'), ['cluster-scheduler-config']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):code-repository/(?P<CodeRepositoryName>.+?)$'), ['code-repository']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):compilation-job/(?P<CompilationJobName>.+?)$'), ['compilation-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):compute-quota/(?P<ComputeQuotaId>.+?)$'), ['compute-quota']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):context/(?P<ContextName>.+?)$'), ['context']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):data-quality-job-definition/(?P<DataQualityJobDefinitionName>.+?)$'), ['data-quality-job-definition']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):device-fleet/(?P<DeviceFleetName>.+?)$'), ['device-fleet']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):domain/(?P<DomainId>.+?)$'), ['domain']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):edge-deployment/(?P<EdgeDeploymentPlanName>.+?)$'), ['edge-deployment-plan']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):edge-packaging-job/(?P<EdgePackagingJobName>.+?)$'), ['edge-packaging-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):endpoint/(?P<EndpointName>.+?)$'), ['endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):endpoint-config/(?P<EndpointConfigName>.+?)$'), ['endpoint-config']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):experiment/(?P<ExperimentName>.+?)$'), ['experiment']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):experiment-trial/(?P<TrialName>.+?)$'), ['experiment-trial']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):experiment-trial-component/(?P<TrialComponentName>.+?)$'), ['experiment-trial-component']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):feature-group/(?P<FeatureGroupName>.+?)$'), ['feature-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):flow-definition/(?P<FlowDefinitionName>.+?)$'), ['flow-definition']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):hub/(?P<HubName>.+?)$'), ['hub']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):human-loop/(?P<HumanLoopName>.+?)$'), ['human-loop']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):human-task-ui/(?P<HumanTaskUiName>.+?)$'), ['human-task-ui']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):hyper-parameter-tuning-job/(?P<HyperParameterTuningJobName>.+?)$'), ['hyper-parameter-tuning-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):image/(?P<ImageName>.+?)$'), ['image']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):inference-component/(?P<InferenceComponentName>.+?)$'), ['inference-component']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):inference-experiment/(?P<InferenceExperimentName>.+?)$'), ['inference-experiment']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):inference-recommendations-job/(?P<InferenceRecommendationsJobName>.+?)$'), ['inference-recommendations-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):labeling-job/(?P<LabelingJobName>.+?)$'), ['labeling-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):lineage-group/(?P<LineageGroupName>.+?)$'), ['lineage-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):mlflow-app/(?P<MLflowAppId>.+?)$'), ['mlflow-app']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):mlflow-tracking-server/(?P<MlflowTrackingServerName>.+?)$'), ['mlflow-tracking-server']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):model/(?P<ModelName>.+?)$'), ['model']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):model-bias-job-definition/(?P<ModelBiasJobDefinitionName>.+?)$'), ['model-bias-job-definition']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):model-card/(?P<ModelCardName>.+?)$'), ['model-card']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):model-explainability-job-definition/(?P<ModelExplainabilityJobDefinitionName>.+?)$'), ['model-explainability-job-definition']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):model-package/(?P<ModelPackageName>.+?)$'), ['model-package']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):model-package-group/(?P<ModelPackageGroupName>.+?)$'), ['model-package-group']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):model-quality-job-definition/(?P<ModelQualityJobDefinitionName>.+?)$'), ['model-quality-job-definition']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):monitoring-schedule/(?P<MonitoringScheduleName>.+?)$'), ['monitoring-schedule']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):notebook-instance/(?P<NotebookInstanceName>.+?)$'), ['notebook-instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):notebook-instance-lifecycle-config/(?P<NotebookInstanceLifecycleConfigName>.+?)$'), ['notebook-instance-lifecycle-config']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):optimization-job/(?P<OptimizationJobName>.+?)$'), ['optimization-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):partner-app/(?P<AppId>.+?)$'), ['partner-app']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):pipeline/(?P<PipelineName>.+?)$'), ['pipeline']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):processing-job/(?P<ProcessingJobName>.+?)$'), ['processing-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):project/(?P<ProjectName>.+?)$'), ['project']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):reserved-capacity/(?P<RandomString>.+?)$'), ['reserved-capacity']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):sagemaker-catalog/(?P<ResourceCatalogName>.+?)$'), ['sagemaker-catalog']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):shared-model/(?P<SharedModelId>.+?)$'), ['shared-model']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):shared-model-event/(?P<EventId>.+?)$'), ['shared-model-event']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):studio-lifecycle-config/(?P<StudioLifecycleConfigName>.+?)$'), ['studio-lifecycle-config']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):training-job/(?P<TrainingJobName>.+?)$'), ['training-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):training-plan/(?P<TrainingPlanName>.+?)$'), ['training-plan']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):transform-job/(?P<TransformJobName>.+?)$'), ['transform-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):workforce/(?P<WorkforceName>.+?)$'), ['workforce']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker:(?P<Region>.+?):(?P<Account>.+?):workteam/(?P<WorkteamName>.+?)$'), ['workteam']),
    ],
    'sagemaker-geospatial': [
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker-geospatial:(?P<Region>.+?):(?P<Account>.+?):earth-observation-job/(?P<JobID>.+?)$'), ['EarthObservationJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker-geospatial:(?P<Region>.+?):(?P<Account>.+?):raster-data-collection/(?P<CollectionID>.+?)$'), ['RasterDataCollection']),
        (re.compile(r'^arn:(?P<Partition>.+?):sagemaker-geospatial:(?P<Region>.+?):(?P<Account>.+?):vector-enrichment-job/(?P<JobID>.+?)$'), ['VectorEnrichmentJob']),
    ],
    'savingsplans': [
        (re.compile(r'^arn:(?P<Partition>.+?):savingsplans::(?P<Account>.+?):savingsplan/(?P<ResourceId>.+?)$'), ['savingsplan']),
    ],
    'scheduler': [
        (re.compile(r'^arn:(?P<Partition>.+?):scheduler:(?P<Region>.+?):(?P<Account>.+?):schedule/(?P<GroupName>.+?)/(?P<ScheduleName>.+?)$'), ['schedule']),
        (re.compile(r'^arn:(?P<Partition>.+?):scheduler:(?P<Region>.+?):(?P<Account>.+?):schedule-group/(?P<GroupName>.+?)$'), ['schedule-group']),
    ],
    'schemas': [
        (re.compile(r'^arn:(?P<Partition>.+?):schemas:(?P<Region>.+?):(?P<Account>.+?):schema/(?P<RegistryName>.+?)/(?P<SchemaName>.+?)$'), ['schema']),
        (re.compile(r'^arn:(?P<Partition>.+?):schemas:(?P<Region>.+?):(?P<Account>.+?):discoverer/(?P<DiscovererId>.+?)$'), ['discoverer']),
        (re.compile(r'^arn:(?P<Partition>.+?):schemas:(?P<Region>.+?):(?P<Account>.+?):registry/(?P<RegistryName>.+?)$'), ['registry']),
    ],
    'scn': [
        (re.compile(r'^arn:(?P<Partition>.+?):scn:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/namespaces/(?P<Namespace>.+?)/datasets/(?P<DatasetName>.+?)$'), ['dataset']),
        (re.compile(r'^arn:(?P<Partition>.+?):scn:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/bill-of-materials-import-job/(?P<JobId>.+?)$'), ['bill-of-materials-import-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):scn:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/data-integration-flows/(?P<FlowName>.+?)$'), ['data-integration-flow']),
        (re.compile(r'^arn:(?P<Partition>.+?):scn:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)/namespaces/(?P<Namespace>.+?)$'), ['namespace']),
        (re.compile(r'^arn:(?P<Partition>.+?):scn:(?P<Region>.+?):(?P<Account>.+?):instance/(?P<InstanceId>.+?)$'), ['instance']),
    ],
    'sdb': [
        (re.compile(r'^arn:(?P<Partition>.+?):sdb:(?P<Region>.+?):(?P<Account>.+?):domain/(?P<DomainName>.+?)$'), ['domain']),
    ],
    'secretsmanager': [
        (re.compile(r'^arn:(?P<Partition>.+?):secretsmanager:(?P<Region>.+?):(?P<Account>.+?):secret:(?P<SecretId>.+?)$'), ['Secret', 'secret']),
    ],
    'security-ir': [
        (re.compile(r'^arn:(?P<Partition>.+?):security-ir:(?P<Region>.+?):(?P<Account>.+?):case/(?P<CaseId>.+?)$'), ['case']),
        (re.compile(r'^arn:(?P<Partition>.+?):security-ir:(?P<Region>.+?):(?P<Account>.+?):membership/(?P<MembershipId>.+?)$'), ['membership']),
    ],
    'securityagent': [
        (re.compile(r'^arn:(?P<Partition>.+?):securityagent:(?P<Region>.+?):(?P<Account>.+?):agent-instance/(?P<AgentId>.+?)/artifact/(?P<ArtifactId>.+?)$'), ['Artifact']),
        (re.compile(r'^arn:(?P<Partition>.+?):securityagent:(?P<Region>.+?):(?P<Account>.+?):agent-instance/(?P<AgentId>.+?)/finding/(?P<FindingId>.+?)$'), ['Finding']),
        (re.compile(r'^arn:(?P<Partition>.+?):securityagent:(?P<Region>.+?):(?P<Account>.+?):agent-instance/(?P<AgentId>.+?)/pentest/(?P<PentestId>.+?)$'), ['Pentest']),
        (re.compile(r'^arn:(?P<Partition>.+?):securityagent:(?P<Region>.+?):(?P<Account>.+?):agent-instance/(?P<AgentId>.+?)/pentest-job/(?P<JobId>.+?)$'), ['PentestJob']),
        (re.compile(r'^arn:(?P<Partition>.+?):securityagent:(?P<Region>.+?):(?P<Account>.+?):agent-instance/(?P<AgentId>.+?)/pentest-task/(?P<TaskId>.+?)$'), ['PentestTask']),
        (re.compile(r'^arn:(?P<Partition>.+?):securityagent:(?P<Region>.+?):(?P<Account>.+?):agent-instance/(?P<AgentId>.+?)$'), ['AgentInstance']),
        (re.compile(r'^arn:(?P<Partition>.+?):securityagent:(?P<Region>.+?):(?P<Account>.+?):application/(?P<ApplicationId>.+?)$'), ['Application']),
        (re.compile(r'^arn:(?P<Partition>.+?):securityagent:(?P<Region>.+?):(?P<Account>.+?):control/(?P<ControlId>.+?)$'), ['Control']),
        (re.compile(r'^arn:(?P<Partition>.+?):securityagent:(?P<Region>.+?):(?P<Account>.+?):integration/(?P<IntegrationId>.+?)$'), ['Integration']),
    ],
    'securityhub': [
        (re.compile(r'^arn:(?P<Partition>.+?):securityhub:(?P<Region>.+?):(?P<Account>.+?):product/(?P<Company>.+?)/(?P<ProductId>.+?)$'), ['product']),
        (re.compile(r'^arn:(?P<Partition>.+?):securityhub:(?P<Region>.+?):(?P<Account>.+?):aggregatorv2/(?P<AggregatorV2Id>.+?)$'), ['aggregatorv2']),
        (re.compile(r'^arn:(?P<Partition>.+?):securityhub:(?P<Region>.+?):(?P<Account>.+?):automation-rule/(?P<AutomationRuleId>.+?)$'), ['automation-rule']),
        (re.compile(r'^arn:(?P<Partition>.+?):securityhub:(?P<Region>.+?):(?P<Account>.+?):automation-rulev2/(?P<AutomationRuleV2Id>.+?)$'), ['automation-rulev2']),
        (re.compile(r'^arn:(?P<Partition>.+?):securityhub:(?P<Region>.+?):(?P<Account>.+?):configuration-policy/(?P<ConfigurationPolicyId>.+?)$'), ['configuration-policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):securityhub:(?P<Region>.+?):(?P<Account>.+?):connectorv2/(?P<ConnectorV2Id>.+?)$'), ['connectorv2']),
        (re.compile(r'^arn:(?P<Partition>.+?):securityhub:(?P<Region>.+?):(?P<Account>.+?):finding-aggregator/(?P<FindingAggregatorId>.+?)$'), ['finding-aggregator']),
        (re.compile(r'^arn:(?P<Partition>.+?):securityhub:(?P<Region>.+?):(?P<Account>.+?):hub/default$'), ['hub']),
        (re.compile(r'^arn:(?P<Partition>.+?):securityhub:(?P<Region>.+?):(?P<Account>.+?):hubv2/(?P<HubV2Id>.+?)$'), ['hubv2']),
    ],
    'securitylake': [
        (re.compile(r'^arn:(?P<Partition>.+?):securitylake:(?P<Region>.+?):(?P<Account>.+?):data-lake/default$'), ['data-lake']),
        (re.compile(r'^arn:(?P<Partition>.+?):securitylake:(?P<Region>.+?):(?P<Account>.+?):subscriber/(?P<SubscriberId>.+?)$'), ['subscriber']),
    ],
    'serverlessrepo': [
        (re.compile(r'^arn:(?P<Partition>.+?):serverlessrepo:(?P<Region>.+?):(?P<Account>.+?):applications/(?P<ResourceId>.+?)$'), ['applications']),
    ],
    'servicecatalog': [
        (re.compile(r'^arn:(?P<Partition>.+?):servicecatalog:(?P<Region>.+?):(?P<Account>.+?):/applications/(?P<ApplicationId>.+?)$'), ['Application']),
        (re.compile(r'^arn:(?P<Partition>.+?):servicecatalog:(?P<Region>.+?):(?P<Account>.+?):/attribute-groups/(?P<AttributeGroupId>.+?)$'), ['AttributeGroup']),
    ],
    'servicediscovery': [
        (re.compile(r'^arn:(?P<Partition>.+?):servicediscovery:(?P<Region>.+?):(?P<Account>.+?):namespace/(?P<NamespaceId>.+?)$'), ['namespace']),
        (re.compile(r'^arn:(?P<Partition>.+?):servicediscovery:(?P<Region>.+?):(?P<Account>.+?):service/(?P<ServiceId>.+?)$'), ['service']),
    ],
    'servicequotas': [
        (re.compile(r'^arn:(?P<Partition>.+?):servicequotas:(?P<Region>.+?):(?P<Account>.+?):(?P<ServiceCode>.+?)/(?P<QuotaCode>.+?)$'), ['quota']),
    ],
    'ses': [
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):aws:reputation-policy/(?P<ReputationPolicyName>.+?)$'), ['reputation-policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):tenant/(?P<TenantName>.+?)/(?P<TenantId>.+?)$'), ['tenant']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):addon-instance/(?P<AddonInstanceId>.+?)$'), ['addon-instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):addon-subscription/(?P<AddonSubscriptionId>.+?)$'), ['addon-subscription']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):configuration-set/(?P<ConfigurationSetName>.+?)$'), ['configuration-set']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):contact-list/(?P<ContactListName>.+?)$'), ['contact-list']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):custom-verification-email-template/(?P<TemplateName>.+?)$'), ['custom-verification-email-template']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):dedicated-ip-pool/(?P<DedicatedIPPool>.+?)$'), ['dedicated-ip-pool']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):deliverability-test-report/(?P<ReportId>.+?)$'), ['deliverability-test-report']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):export-job/(?P<ExportJobId>.+?)$'), ['export-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):identity/(?P<IdentityName>.+?)$'), ['identity']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):import-job/(?P<ImportJobId>.+?)$'), ['import-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):mailmanager-address-list/(?P<AddressListId>.+?)$'), ['mailmanager-address-list']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):mailmanager-archive/(?P<ArchiveId>.+?)$'), ['mailmanager-archive']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):mailmanager-ingress-point/(?P<IngressPointId>.+?)$'), ['mailmanager-ingress-point']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):mailmanager-rule-set/(?P<RuleSetId>.+?)$'), ['mailmanager-rule-set']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):mailmanager-smtp-relay/(?P<RelayId>.+?)$'), ['mailmanager-smtp-relay']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):mailmanager-traffic-policy/(?P<TrafficPolicyId>.+?)$'), ['mailmanager-traffic-policy']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):multi-region-endpoint/(?P<EndpointName>.+?)$'), ['multi-region-endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):ses:(?P<Region>.+?):(?P<Account>.+?):template/(?P<TemplateName>.+?)$'), ['template']),
    ],
    'shield': [
        (re.compile(r'^arn:(?P<Partition>.+?):shield::(?P<Account>.+?):attack/(?P<Id>.+?)$'), ['attack']),
        (re.compile(r'^arn:(?P<Partition>.+?):shield::(?P<Account>.+?):protection/(?P<Id>.+?)$'), ['protection']),
        (re.compile(r'^arn:(?P<Partition>.+?):shield::(?P<Account>.+?):protection-group/(?P<Id>.+?)$'), ['protection-group']),
    ],
    'signer': [
        (re.compile(r'^arn:(?P<Partition>.+?):signer:(?P<Region>.+?):(?P<Account>.+?):/signing-jobs/(?P<JobId>.+?)$'), ['signing-job']),
        (re.compile(r'^arn:(?P<Partition>.+?):signer:(?P<Region>.+?):(?P<Account>.+?):/signing-profiles/(?P<ProfileName>.+?)$'), ['signing-profile']),
    ],
    'simspaceweaver': [
        (re.compile(r'^arn:(?P<Partition>.+?):simspaceweaver:(?P<Region>.+?):(?P<Account>.+?):simulation/(?P<SimulationName>.+?)$'), ['Simulation']),
    ],
    'sms-voice': [
        (re.compile(r'^arn:(?P<Partition>.+?):sms-voice:(?P<Region>.+?):(?P<Account>.+?):sender-id/(?P<SenderId>.+?)/(?P<IsoCountryCode>.+?)$'), ['SenderId']),
        (re.compile(r'^arn:(?P<Partition>.+?):sms-voice:(?P<Region>.+?):(?P<Account>.+?):configuration-set/(?P<ConfigurationSetName>.+?)$'), ['ConfigurationSet']),
        (re.compile(r'^arn:(?P<Partition>.+?):sms-voice:(?P<Region>.+?):(?P<Account>.+?):message/(?P<MessageId>.+?)$'), ['Message']),
        (re.compile(r'^arn:(?P<Partition>.+?):sms-voice:(?P<Region>.+?):(?P<Account>.+?):opt-out-list/(?P<OptOutListName>.+?)$'), ['OptOutList']),
        (re.compile(r'^arn:(?P<Partition>.+?):sms-voice:(?P<Region>.+?):(?P<Account>.+?):phone-number/(?P<PhoneNumberId>.+?)$'), ['PhoneNumber']),
        (re.compile(r'^arn:(?P<Partition>.+?):sms-voice:(?P<Region>.+?):(?P<Account>.+?):pool/(?P<PoolId>.+?)$'), ['Pool']),
        (re.compile(r'^arn:(?P<Partition>.+?):sms-voice:(?P<Region>.+?):(?P<Account>.+?):protect-configuration/(?P<ProtectConfigurationId>.+?)$'), ['ProtectConfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):sms-voice:(?P<Region>.+?):(?P<Account>.+?):registration/(?P<RegistrationId>.+?)$'), ['Registration']),
        (re.compile(r'^arn:(?P<Partition>.+?):sms-voice:(?P<Region>.+?):(?P<Account>.+?):registration-attachment/(?P<RegistrationAttachmentId>.+?)$'), ['RegistrationAttachment']),
        (re.compile(r'^arn:(?P<Partition>.+?):sms-voice:(?P<Region>.+?):(?P<Account>.+?):verified-destination-number/(?P<VerifiedDestinationNumberId>.+?)$'), ['VerifiedDestinationNumber']),
    ],
    'snow-device-management': [
        (re.compile(r'^arn:(?P<Partition>.+?):snow-device-management:(?P<Region>.+?):(?P<Account>.+?):managed-device/(?P<ResourceId>.+?)$'), ['managed-device']),
        (re.compile(r'^arn:(?P<Partition>.+?):snow-device-management:(?P<Region>.+?):(?P<Account>.+?):task/(?P<ResourceId>.+?)$'), ['task']),
    ],
    'sns': [
        (re.compile(r'^arn:(?P<Partition>.+?):sns:(?P<Region>.+?):(?P<Account>.+?):(?P<TopicName>.+?)$'), ['topic']),
    ],
    'social-messaging': [
        (re.compile(r'^arn:(?P<Partition>.+?):social-messaging:(?P<Region>.+?):(?P<Account>.+?):phone-number-id/(?P<OriginationPhoneNumberId>.+?)$'), ['phone-number-id']),
        (re.compile(r'^arn:(?P<Partition>.+?):social-messaging:(?P<Region>.+?):(?P<Account>.+?):waba/(?P<WabaId>.+?)$'), ['waba']),
    ],
    'sqlworkbench': [
        (re.compile(r'^arn:(?P<Partition>.+?):sqlworkbench:(?P<Region>.+?):(?P<Account>.+?):chart/(?P<ResourceId>.+?)$'), ['chart']),
        (re.compile(r'^arn:(?P<Partition>.+?):sqlworkbench:(?P<Region>.+?):(?P<Account>.+?):connection/(?P<ResourceId>.+?)$'), ['connection']),
        (re.compile(r'^arn:(?P<Partition>.+?):sqlworkbench:(?P<Region>.+?):(?P<Account>.+?):notebook/(?P<ResourceId>.+?)$'), ['notebook']),
        (re.compile(r'^arn:(?P<Partition>.+?):sqlworkbench:(?P<Region>.+?):(?P<Account>.+?):query/(?P<ResourceId>.+?)$'), ['query']),
    ],
    'sqs': [
        (re.compile(r'^arn:(?P<Partition>.+?):sqs:(?P<Region>.+?):(?P<Account>.+?):(?P<QueueName>.+?)$'), ['queue']),
    ],
    'ssm': [
        (re.compile(r'^arn:(?P<Partition>.+?):ssm:(?P<Region>.+?):(?P<Account>.+?):automation-definition/(?P<AutomationDefinitionName>.+?):(?P<VersionId>.+?)$'), ['automation-definition']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm:(?P<Region>.+?):(?P<Account>.+?):association/(?P<AssociationId>.+?)$'), ['association']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm:(?P<Region>.+?):(?P<Account>.+?):automation-execution/(?P<AutomationExecutionId>.+?)$'), ['automation-execution']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm:(?P<Region>.+?):(?P<Account>.+?):document/(?P<DocumentName>.+?)$'), ['document']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm:(?P<Region>.+?):(?P<Account>.+?):maintenancewindow/(?P<ResourceId>.+?)$'), ['maintenancewindow']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm:(?P<Region>.+?):(?P<Account>.+?):managed-instance/(?P<InstanceId>.+?)$'), ['managed-instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm:(?P<Region>.+?):(?P<Account>.+?):managed-instance-inventory/(?P<InstanceId>.+?)$'), ['managed-instance-inventory']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm:(?P<Region>.+?):(?P<Account>.+?):opsitem/(?P<ResourceId>.+?)$'), ['opsitem']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm:(?P<Region>.+?):(?P<Account>.+?):opsitemgroup/default$'), ['opsitemgroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm:(?P<Region>.+?):(?P<Account>.+?):opsmetadata/(?P<ResourceId>.+?)$'), ['opsmetadata']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm:(?P<Region>.+?):(?P<Account>.+?):parameter/(?P<ParameterNameWithoutLeadingSlash>.+?)$'), ['parameter']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm:(?P<Region>.+?):(?P<Account>.+?):patchbaseline/(?P<PatchBaselineIdResourceId>.+?)$'), ['patchbaseline']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm:(?P<Region>.+?):(?P<Account>.+?):resource-data-sync/(?P<SyncName>.+?)$'), ['resourcedatasync', 'resource-data-sync']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm:(?P<Region>.+?):(?P<Account>.+?):servicesetting/(?P<ResourceId>.+?)$'), ['servicesetting']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm:(?P<Region>.+?):(?P<Account>.+?):session/(?P<SessionId>.+?)$'), ['session']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm:(?P<Region>.+?):(?P<Account>.+?):windowtarget/(?P<WindowTargetId>.+?)$'), ['windowtarget']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm:(?P<Region>.+?):(?P<Account>.+?):windowtask/(?P<WindowTaskId>.+?)$'), ['windowtask']),
    ],
    'ssm-contacts': [
        (re.compile(r'^arn:(?P<Partition>.+?):ssm-contacts:(?P<Region>.+?):(?P<Account>.+?):contactchannel/(?P<ContactAlias>.+?)/(?P<ContactChannelId>.+?)$'), ['contactchannel']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm-contacts:(?P<Region>.+?):(?P<Account>.+?):engagement/(?P<ContactAlias>.+?)/(?P<EngagementId>.+?)$'), ['engagement']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm-contacts:(?P<Region>.+?):(?P<Account>.+?):page/(?P<ContactAlias>.+?)/(?P<PageId>.+?)$'), ['page']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm-contacts:(?P<Region>.+?):(?P<Account>.+?):contact/(?P<ContactAlias>.+?)$'), ['contact']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm-contacts:(?P<Region>.+?):(?P<Account>.+?):rotation/(?P<RotationId>.+?)$'), ['rotation']),
    ],
    'ssm-incidents': [
        (re.compile(r'^arn:(?P<Partition>.+?):ssm-incidents::(?P<Account>.+?):incident-record/(?P<ResponsePlan>.+?)/(?P<IncidentRecord>.+?)$'), ['incident-record']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm-incidents::(?P<Account>.+?):replication-set/(?P<ReplicationSet>.+?)$'), ['replication-set']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm-incidents::(?P<Account>.+?):response-plan/(?P<ResponsePlan>.+?)$'), ['response-plan']),
    ],
    'ssm-quicksetup': [
        (re.compile(r'^arn:(?P<Partition>.+?):ssm-quicksetup:(?P<Region>.+?):(?P<Account>.+?):configuration-manager/(?P<ConfigurationManagerId>.+?)$'), ['configuration-manager']),
    ],
    'ssm-sap': [
        (re.compile(r'^arn:(?P<Partition>.+?):ssm-sap:(?P<Region>.+?):(?P<Account>.+?):(?P<ApplicationType>.+?)/(?P<ApplicationId>.+?)/COMPONENT/(?P<ComponentId>.+?)$'), ['component']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm-sap:(?P<Region>.+?):(?P<Account>.+?):(?P<ApplicationType>.+?)/(?P<ApplicationId>.+?)/DB/(?P<DatabaseId>.+?)$'), ['database']),
        (re.compile(r'^arn:(?P<Partition>.+?):ssm-sap:(?P<Region>.+?):(?P<Account>.+?):(?P<ApplicationType>.+?)/(?P<ApplicationId>.+?)$'), ['application']),
    ],
    'sso': [
        (re.compile(r'^arn:(?P<Partition>.+?):sso:::permissionSet/(?P<InstanceId>.+?)/(?P<PermissionSetId>.+?)$'), ['PermissionSet']),
        (re.compile(r'^arn:(?P<Partition>.+?):sso:::account/(?P<AccountId>.+?)$'), ['Account']),
        (re.compile(r'^arn:(?P<Partition>.+?):sso:::instance/(?P<InstanceId>.+?)$'), ['Instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):sso::aws:applicationProvider/(?P<ApplicationProviderId>.+?)$'), ['ApplicationProvider']),
        (re.compile(r'^arn:(?P<Partition>.+?):sso::(?P<AccountId>.+?):application/(?P<InstanceId>.+?)/(?P<ApplicationId>.+?)$'), ['Application']),
        (re.compile(r'^arn:(?P<Partition>.+?):sso::(?P<AccountId>.+?):trustedTokenIssuer/(?P<InstanceId>.+?)/(?P<TrustedTokenIssuerId>.+?)$'), ['TrustedTokenIssuer']),
    ],
    'states': [
        (re.compile(r'^arn:(?P<Partition>.+?):states:(?P<Region>.+?):(?P<Account>.+?):express:(?P<StateMachineName>.+?)/(?P<MapRunLabel>.+?):(?P<ExecutionId>.+?):(?P<ExpressId>.+?)$'), ['labelled express']),
        (re.compile(r'^arn:(?P<Partition>.+?):states:(?P<Region>.+?):(?P<Account>.+?):execution:(?P<StateMachineName>.+?)/(?P<MapRunLabel>.+?):(?P<ExecutionId>.+?)$'), ['labelled execution']),
        (re.compile(r'^arn:(?P<Partition>.+?):states:(?P<Region>.+?):(?P<Account>.+?):express:(?P<StateMachineName>.+?):(?P<ExecutionId>.+?):(?P<ExpressId>.+?)$'), ['express']),
        (re.compile(r'^arn:(?P<Partition>.+?):states:(?P<Region>.+?):(?P<Account>.+?):mapRun:(?P<StateMachineName>.+?)/(?P<MapRunLabel>.+?):(?P<MapRunId>.+?)$'), ['maprun']),
        (re.compile(r'^arn:(?P<Partition>.+?):states:(?P<Region>.+?):(?P<Account>.+?):execution:(?P<StateMachineName>.+?):(?P<ExecutionId>.+?)$'), ['execution']),
        (re.compile(r'^arn:(?P<Partition>.+?):states:(?P<Region>.+?):(?P<Account>.+?):stateMachine:(?P<StateMachineName>.+?):(?P<StateMachineAliasName>.+?)$'), ['statemachinealias']),
        (re.compile(r'^arn:(?P<Partition>.+?):states:(?P<Region>.+?):(?P<Account>.+?):stateMachine:(?P<StateMachineName>.+?):(?P<StateMachineVersionId>.+?)$'), ['statemachineversion']),
        (re.compile(r'^arn:(?P<Partition>.+?):states:(?P<Region>.+?):(?P<Account>.+?):activity:(?P<ActivityName>.+?)$'), ['activity']),
        (re.compile(r'^arn:(?P<Partition>.+?):states:(?P<Region>.+?):(?P<Account>.+?):stateMachine:(?P<StateMachineName>.+?)$'), ['statemachine']),
    ],
    'storagegateway': [
        (re.compile(r'^arn:(?P<Partition>.+?):storagegateway:(?P<Region>.+?):(?P<Account>.+?):gateway/(?P<GatewayId>.+?)/device/(?P<Vtldevice>.+?)$'), ['device']),
        (re.compile(r'^arn:(?P<Partition>.+?):storagegateway:(?P<Region>.+?):(?P<Account>.+?):gateway/(?P<GatewayId>.+?)/target/(?P<IscsiTarget>.+?)$'), ['target']),
        (re.compile(r'^arn:(?P<Partition>.+?):storagegateway:(?P<Region>.+?):(?P<Account>.+?):gateway/(?P<GatewayId>.+?)/volume/(?P<VolumeId>.+?)$'), ['volume']),
        (re.compile(r'^arn:(?P<Partition>.+?):storagegateway:(?P<Region>.+?):(?P<Account>.+?):share/(?P<ShareId>.+?)/cache-report/(?P<CacheReportId>.+?)$'), ['cache-report']),
        (re.compile(r'^arn:(?P<Partition>.+?):storagegateway:(?P<Region>.+?):(?P<Account>.+?):fs-association/(?P<FsaId>.+?)$'), ['fs-association']),
        (re.compile(r'^arn:(?P<Partition>.+?):storagegateway:(?P<Region>.+?):(?P<Account>.+?):gateway/(?P<GatewayId>.+?)$'), ['gateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):storagegateway:(?P<Region>.+?):(?P<Account>.+?):share/(?P<ShareId>.+?)$'), ['share']),
        (re.compile(r'^arn:(?P<Partition>.+?):storagegateway:(?P<Region>.+?):(?P<Account>.+?):tape/(?P<TapeBarcode>.+?)$'), ['tape']),
        (re.compile(r'^arn:(?P<Partition>.+?):storagegateway:(?P<Region>.+?):(?P<Account>.+?):tapepool/(?P<PoolId>.+?)$'), ['tapepool']),
    ],
    'sts': [
        (re.compile(r'^arn:(?P<Partition>.+?):sts::(?P<Account>.+?):federated-user/(?P<FederatedUserName>.+?)$'), ['federated-user']),
        (re.compile(r'^arn:(?P<Partition>.+?):sts::(?P<Account>.+?):self$'), ['self-session']),
    ],
    'swf': [
        (re.compile(r'^arn:(?P<Partition>.+?):swf::(?P<Account>.+?):/domain/(?P<DomainName>.+?)$'), ['domain']),
    ],
    'synthetics': [
        (re.compile(r'^arn:(?P<Partition>.+?):synthetics:(?P<Region>.+?):(?P<Account>.+?):canary:(?P<CanaryName>.+?)$'), ['canary']),
        (re.compile(r'^arn:(?P<Partition>.+?):synthetics:(?P<Region>.+?):(?P<Account>.+?):group:(?P<GroupId>.+?)$'), ['group']),
    ],
    'textract': [
        (re.compile(r'^arn:(?P<Partition>.+?):textract:(?P<Region>.+?):(?P<Account>.+?):/adapters/(?P<AdapterId>.+?)/versions/(?P<AdapterVersion>.+?)$'), ['adapterversion']),
        (re.compile(r'^arn:(?P<Partition>.+?):textract:(?P<Region>.+?):(?P<Account>.+?):/adapters/(?P<AdapterId>.+?)$'), ['adapter']),
    ],
    'thinclient': [
        (re.compile(r'^arn:(?P<Partition>.+?):thinclient:(?P<Region>.+?):(?P<Account>.+?):device/(?P<DeviceId>.+?)$'), ['device']),
        (re.compile(r'^arn:(?P<Partition>.+?):thinclient:(?P<Region>.+?):(?P<Account>.+?):environment/(?P<EnvironmentId>.+?)$'), ['environment']),
        (re.compile(r'^arn:(?P<Partition>.+?):thinclient:(?P<Region>.+?):(?P<Account>.+?):softwareset/(?P<SoftwareSetId>.+?)$'), ['softwareset']),
    ],
    'timestream': [
        (re.compile(r'^arn:(?P<Partition>.+?):timestream:(?P<Region>.+?):(?P<Account>.+?):database/(?P<DatabaseName>.+?)/table/(?P<TableName>.+?)$'), ['table']),
        (re.compile(r'^arn:(?P<Partition>.+?):timestream:(?P<Region>.+?):(?P<Account>.+?):database/(?P<DatabaseName>.+?)$'), ['database']),
        (re.compile(r'^arn:(?P<Partition>.+?):timestream:(?P<Region>.+?):(?P<Account>.+?):scheduled-query/(?P<ScheduledQueryName>.+?)$'), ['scheduled-query']),
    ],
    'timestream-influxdb': [
        (re.compile(r'^arn:(?P<Partition>.+?):timestream-influxdb:(?P<Region>.+?):(?P<Account>.+?):db-cluster/(?P<DbClusterId>.+?)$'), ['db-cluster']),
        (re.compile(r'^arn:(?P<Partition>.+?):timestream-influxdb:(?P<Region>.+?):(?P<Account>.+?):db-instance/(?P<DbInstanceIdentifier>.+?)$'), ['db-instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):timestream-influxdb:(?P<Region>.+?):(?P<Account>.+?):db-parameter-group/(?P<DbParameterGroupIdentifier>.+?)$'), ['db-parameter-group']),
    ],
    'tnb': [
        (re.compile(r'^arn:(?P<Partition>.+?):tnb:(?P<Region>.+?):(?P<Account>.+?):function-instance/(?P<FunctionInstanceId>.+?)$'), ['function-instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):tnb:(?P<Region>.+?):(?P<Account>.+?):function-package/(?P<FunctionPackageId>.+?)$'), ['function-package']),
        (re.compile(r'^arn:(?P<Partition>.+?):tnb:(?P<Region>.+?):(?P<Account>.+?):network-instance/(?P<NetworkInstanceId>.+?)$'), ['network-instance']),
        (re.compile(r'^arn:(?P<Partition>.+?):tnb:(?P<Region>.+?):(?P<Account>.+?):network-operation/(?P<NetworkOperationId>.+?)$'), ['network-operation']),
        (re.compile(r'^arn:(?P<Partition>.+?):tnb:(?P<Region>.+?):(?P<Account>.+?):network-package/(?P<NetworkPackageId>.+?)$'), ['network-package']),
    ],
    'transcribe': [
        (re.compile(r'^arn:(?P<Partition>.+?):transcribe:(?P<Region>.+?):(?P<Account>.+?):analytics/(?P<JobName>.+?)$'), ['callanalyticsjob']),
        (re.compile(r'^arn:(?P<Partition>.+?):transcribe:(?P<Region>.+?):(?P<Account>.+?):analytics-category/(?P<CategoryName>.+?)$'), ['callanalyticscategory']),
        (re.compile(r'^arn:(?P<Partition>.+?):transcribe:(?P<Region>.+?):(?P<Account>.+?):language-model/(?P<ModelName>.+?)$'), ['languagemodel']),
        (re.compile(r'^arn:(?P<Partition>.+?):transcribe:(?P<Region>.+?):(?P<Account>.+?):medical-scribe-job/(?P<JobName>.+?)$'), ['medicalscribejob']),
        (re.compile(r'^arn:(?P<Partition>.+?):transcribe:(?P<Region>.+?):(?P<Account>.+?):medical-transcription-job/(?P<JobName>.+?)$'), ['medicaltranscriptionjob']),
        (re.compile(r'^arn:(?P<Partition>.+?):transcribe:(?P<Region>.+?):(?P<Account>.+?):medical-vocabulary/(?P<VocabularyName>.+?)$'), ['medicalvocabulary']),
        (re.compile(r'^arn:(?P<Partition>.+?):transcribe:(?P<Region>.+?):(?P<Account>.+?):transcription-job/(?P<JobName>.+?)$'), ['transcriptionjob']),
        (re.compile(r'^arn:(?P<Partition>.+?):transcribe:(?P<Region>.+?):(?P<Account>.+?):vocabulary/(?P<VocabularyName>.+?)$'), ['vocabulary']),
        (re.compile(r'^arn:(?P<Partition>.+?):transcribe:(?P<Region>.+?):(?P<Account>.+?):vocabulary-filter/(?P<VocabularyFilterName>.+?)$'), ['vocabularyfilter']),
    ],
    'transfer': [
        (re.compile(r'^arn:(?P<Partition>.+?):transfer:(?P<Region>.+?):(?P<Account>.+?):agreement/(?P<ServerId>.+?)/(?P<AgreementId>.+?)$'), ['agreement']),
        (re.compile(r'^arn:(?P<Partition>.+?):transfer:(?P<Region>.+?):(?P<Account>.+?):host-key/(?P<ServerId>.+?)/(?P<HostKeyId>.+?)$'), ['host-key']),
        (re.compile(r'^arn:(?P<Partition>.+?):transfer:(?P<Region>.+?):(?P<Account>.+?):user/(?P<ServerId>.+?)/(?P<UserName>.+?)$'), ['user']),
        (re.compile(r'^arn:(?P<Partition>.+?):transfer:(?P<Region>.+?):(?P<Account>.+?):certificate/(?P<CertificateId>.+?)$'), ['certificate']),
        (re.compile(r'^arn:(?P<Partition>.+?):transfer:(?P<Region>.+?):(?P<Account>.+?):connector/(?P<ConnectorId>.+?)$'), ['connector']),
        (re.compile(r'^arn:(?P<Partition>.+?):transfer:(?P<Region>.+?):(?P<Account>.+?):profile/(?P<ProfileId>.+?)$'), ['profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):transfer:(?P<Region>.+?):(?P<Account>.+?):server/(?P<ServerId>.+?)$'), ['server']),
        (re.compile(r'^arn:(?P<Partition>.+?):transfer:(?P<Region>.+?):(?P<Account>.+?):webapp/(?P<WebAppId>.+?)$'), ['webapp']),
        (re.compile(r'^arn:(?P<Partition>.+?):transfer:(?P<Region>.+?):(?P<Account>.+?):workflow/(?P<WorkflowId>.+?)$'), ['workflow']),
    ],
    'transform': [
        (re.compile(r'^arn:(?P<Partition>.+?):transform:(?P<Region>.+?):(?P<Account>.+?):connector/(?P<WorkspaceId>.+?)/(?P<ConnectorId>.+?)$'), ['connector']),
        (re.compile(r'^arn:(?P<Partition>.+?):transform:(?P<Region>.+?):(?P<Account>.+?):profile/(?P<Identifier>.+?)$'), ['profile']),
    ],
    'transform-custom': [
        (re.compile(r'^arn:(?P<Partition>.+?):transform-custom:(?P<Region>.+?):(?P<Account>.+?):package/(?P<TransformationPackageName>.+?)/knowledge-item/(?P<Id>.+?)$'), ['knowledge-item']),
        (re.compile(r'^arn:(?P<Partition>.+?):transform-custom:(?P<Region>.+?):(?P<Account>.+?):campaign/(?P<Name>.+?)$'), ['campaign']),
        (re.compile(r'^arn:(?P<Partition>.+?):transform-custom:(?P<Region>.+?):(?P<Account>.+?):package/(?P<Name>.+?)$'), ['package']),
    ],
    'translate': [
        (re.compile(r'^arn:(?P<Partition>.+?):translate:(?P<Region>.+?):(?P<Account>.+?):parallel-data/(?P<ResourceName>.+?)$'), ['parallel-data']),
        (re.compile(r'^arn:(?P<Partition>.+?):translate:(?P<Region>.+?):(?P<Account>.+?):terminology/(?P<ResourceName>.+?)$'), ['terminology']),
    ],
    'trustedadvisor': [
        (re.compile(r'^arn:(?P<Partition>.+?):trustedadvisor:(?P<Region>.+?):(?P<Account>.+?):checks/(?P<CategoryCode>.+?)/(?P<CheckId>.+?)$'), ['checks']),
    ],
    'ts': [
        (re.compile(r'^arn:(?P<Partition>.+?):ts::aws:tool/(?P<ToolId>.+?)$'), ['tool']),
        (re.compile(r'^arn:(?P<Partition>.+?):ts::(?P<Account>.+?):execution/(?P<UserId>.+?)/(?P<ToolId>.+?)/(?P<ExecutionId>.+?)$'), ['execution']),
    ],
    'vendor-insights': [
        (re.compile(r'^arn:(?P<Partition>.+?):vendor-insights:::data-source:(?P<ResourceId>.+?)$'), ['DataSource']),
        (re.compile(r'^arn:(?P<Partition>.+?):vendor-insights:::security-profile:(?P<ResourceId>.+?)$'), ['SecurityProfile']),
    ],
    'verifiedpermissions': [
        (re.compile(r'^arn:(?P<Partition>.+?):verifiedpermissions::(?P<Account>.+?):policy-store/(?P<PolicyStoreId>.+?)$'), ['policy-store']),
    ],
    'voiceid': [
        (re.compile(r'^arn:(?P<Partition>.+?):voiceid:(?P<Region>.+?):(?P<Account>.+?):domain/(?P<DomainId>.+?)$'), ['domain']),
    ],
    'vpc-lattice': [
        (re.compile(r'^arn:(?P<Partition>.+?):vpc-lattice:(?P<Region>.+?):(?P<Account>.+?):service/(?P<ServiceId>.+?)/listener/(?P<ListenerId>.+?)/rule/(?P<RuleId>.+?)$'), ['Rule']),
        (re.compile(r'^arn:(?P<Partition>.+?):vpc-lattice:(?P<Region>.+?):(?P<Account>.+?):service/(?P<ServiceId>.+?)/listener/(?P<ListenerId>.+?)$'), ['Listener']),
        (re.compile(r'^arn:(?P<Partition>.+?):vpc-lattice:(?P<Region>.+?):(?P<Account>.+?):service/(?P<ServiceId>.+?)/(?P<RequestPath>.+?)$'), ['Service']),
        (re.compile(r'^arn:(?P<Partition>.+?):vpc-lattice:(?P<Region>.+?):(?P<Account>.+?):accesslogsubscription/(?P<AccessLogSubscriptionId>.+?)$'), ['AccessLogSubscription']),
        (re.compile(r'^arn:(?P<Partition>.+?):vpc-lattice:(?P<Region>.+?):(?P<Account>.+?):domainverification/(?P<DomainVerificationId>.+?)$'), ['DomainVerification']),
        (re.compile(r'^arn:(?P<Partition>.+?):vpc-lattice:(?P<Region>.+?):(?P<Account>.+?):resourceconfiguration/(?P<ResourceConfigurationId>.+?)$'), ['ResourceConfiguration']),
        (re.compile(r'^arn:(?P<Partition>.+?):vpc-lattice:(?P<Region>.+?):(?P<Account>.+?):resourceendpointassociation/(?P<ResourceEndpointAssociationId>.+?)$'), ['ResourceEndpointAssociation']),
        (re.compile(r'^arn:(?P<Partition>.+?):vpc-lattice:(?P<Region>.+?):(?P<Account>.+?):resourcegateway/(?P<ResourceGatewayId>.+?)$'), ['ResourceGateway']),
        (re.compile(r'^arn:(?P<Partition>.+?):vpc-lattice:(?P<Region>.+?):(?P<Account>.+?):service/(?P<ServiceId>.+?)$'), ['Service']),
        (re.compile(r'^arn:(?P<Partition>.+?):vpc-lattice:(?P<Region>.+?):(?P<Account>.+?):servicenetwork/(?P<ServiceNetworkId>.+?)$'), ['ServiceNetwork']),
        (re.compile(r'^arn:(?P<Partition>.+?):vpc-lattice:(?P<Region>.+?):(?P<Account>.+?):servicenetworkresourceassociation/(?P<ServiceNetworkResourceAssociationId>.+?)$'), ['ServiceNetworkResourceAssociation']),
        (re.compile(r'^arn:(?P<Partition>.+?):vpc-lattice:(?P<Region>.+?):(?P<Account>.+?):servicenetworkserviceassociation/(?P<ServiceNetworkServiceAssociationId>.+?)$'), ['ServiceNetworkServiceAssociation']),
        (re.compile(r'^arn:(?P<Partition>.+?):vpc-lattice:(?P<Region>.+?):(?P<Account>.+?):servicenetworkvpcassociation/(?P<ServiceNetworkVpcAssociationId>.+?)$'), ['ServiceNetworkVpcAssociation']),
        (re.compile(r'^arn:(?P<Partition>.+?):vpc-lattice:(?P<Region>.+?):(?P<Account>.+?):targetgroup/(?P<TargetGroupId>.+?)$'), ['TargetGroup']),
    ],
    'waf': [
        (re.compile(r'^arn:(?P<Partition>.+?):waf::(?P<Account>.+?):bytematchset/(?P<Id>.+?)$'), ['bytematchset']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf::(?P<Account>.+?):geomatchset/(?P<Id>.+?)$'), ['geomatchset']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf::(?P<Account>.+?):ipset/(?P<Id>.+?)$'), ['ipset']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf::(?P<Account>.+?):ratebasedrule/(?P<Id>.+?)$'), ['ratebasedrule']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf::(?P<Account>.+?):regexmatch/(?P<Id>.+?)$'), ['regexmatchset']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf::(?P<Account>.+?):regexpatternset/(?P<Id>.+?)$'), ['regexpatternset']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf::(?P<Account>.+?):rule/(?P<Id>.+?)$'), ['rule']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf::(?P<Account>.+?):rulegroup/(?P<Id>.+?)$'), ['rulegroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf::(?P<Account>.+?):sizeconstraintset/(?P<Id>.+?)$'), ['sizeconstraintset']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf::(?P<Account>.+?):sqlinjectionset/(?P<Id>.+?)$'), ['sqlinjectionmatchset']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf::(?P<Account>.+?):webacl/(?P<Id>.+?)$'), ['webacl']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf::(?P<Account>.+?):xssmatchset/(?P<Id>.+?)$'), ['xssmatchset']),
    ],
    'waf-regional': [
        (re.compile(r'^arn:(?P<Partition>.+?):waf-regional:(?P<Region>.+?):(?P<Account>.+?):bytematchset/(?P<Id>.+?)$'), ['bytematchset']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf-regional:(?P<Region>.+?):(?P<Account>.+?):geomatchset/(?P<Id>.+?)$'), ['geomatchset']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf-regional:(?P<Region>.+?):(?P<Account>.+?):ipset/(?P<Id>.+?)$'), ['ipset']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf-regional:(?P<Region>.+?):(?P<Account>.+?):ratebasedrule/(?P<Id>.+?)$'), ['ratebasedrule']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf-regional:(?P<Region>.+?):(?P<Account>.+?):regexmatch/(?P<Id>.+?)$'), ['regexmatchset']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf-regional:(?P<Region>.+?):(?P<Account>.+?):regexpatternset/(?P<Id>.+?)$'), ['regexpatternset']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf-regional:(?P<Region>.+?):(?P<Account>.+?):rule/(?P<Id>.+?)$'), ['rule']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf-regional:(?P<Region>.+?):(?P<Account>.+?):rulegroup/(?P<Id>.+?)$'), ['rulegroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf-regional:(?P<Region>.+?):(?P<Account>.+?):sizeconstraintset/(?P<Id>.+?)$'), ['sizeconstraintset']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf-regional:(?P<Region>.+?):(?P<Account>.+?):sqlinjectionset/(?P<Id>.+?)$'), ['sqlinjectionmatchset']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf-regional:(?P<Region>.+?):(?P<Account>.+?):webacl/(?P<Id>.+?)$'), ['webacl']),
        (re.compile(r'^arn:(?P<Partition>.+?):waf-regional:(?P<Region>.+?):(?P<Account>.+?):xssmatchset/(?P<Id>.+?)$'), ['xssmatchset']),
    ],
    'wafv2': [
        (re.compile(r'^arn:(?P<Partition>.+?):wafv2:(?P<Region>.+?):(?P<Account>.+?):(?P<Scope>.+?)/ipset/(?P<Name>.+?)/(?P<Id>.+?)$'), ['ipset']),
        (re.compile(r'^arn:(?P<Partition>.+?):wafv2:(?P<Region>.+?):(?P<Account>.+?):(?P<Scope>.+?)/managedruleset/(?P<Name>.+?)/(?P<Id>.+?)$'), ['managedruleset']),
        (re.compile(r'^arn:(?P<Partition>.+?):wafv2:(?P<Region>.+?):(?P<Account>.+?):(?P<Scope>.+?)/regexpatternset/(?P<Name>.+?)/(?P<Id>.+?)$'), ['regexpatternset']),
        (re.compile(r'^arn:(?P<Partition>.+?):wafv2:(?P<Region>.+?):(?P<Account>.+?):(?P<Scope>.+?)/rulegroup/(?P<Name>.+?)/(?P<Id>.+?)$'), ['rulegroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):wafv2:(?P<Region>.+?):(?P<Account>.+?):(?P<Scope>.+?)/webacl/(?P<Name>.+?)/(?P<Id>.+?)$'), ['webacl']),
    ],
    'wellarchitected': [
        (re.compile(r'^arn:(?P<Partition>.+?):wellarchitected:(?P<Region>.+?):(?P<Account>.+?):lens/(?P<ResourceId>.+?)$'), ['lens']),
        (re.compile(r'^arn:(?P<Partition>.+?):wellarchitected:(?P<Region>.+?):(?P<Account>.+?):profile/(?P<ResourceId>.+?)$'), ['profile']),
        (re.compile(r'^arn:(?P<Partition>.+?):wellarchitected:(?P<Region>.+?):(?P<Account>.+?):review-template/(?P<ResourceId>.+?)$'), ['review-template']),
        (re.compile(r'^arn:(?P<Partition>.+?):wellarchitected:(?P<Region>.+?):(?P<Account>.+?):workload/(?P<ResourceId>.+?)$'), ['workload']),
    ],
    'wickr': [
        (re.compile(r'^arn:(?P<Partition>.+?):wickr:(?P<Region>.+?):(?P<Account>.+?):network/(?P<NetworkId>.+?)$'), ['network']),
    ],
    'wisdom': [
        (re.compile(r'^arn:(?P<Partition>.+?):wisdom:(?P<Region>.+?):(?P<Account>.+?):ai-agent/(?P<AssistantId>.+?)/(?P<AIAgentId>.+?):(?P<Version>.+?)$'), ['ai-agent']),
        (re.compile(r'^arn:(?P<Partition>.+?):wisdom:(?P<Region>.+?):(?P<Account>.+?):content-association/(?P<KnowledgeBaseId>.+?)/(?P<ContentId>.+?)/(?P<ContentAssociationId>.+?)$'), ['ContentAssociation']),
        (re.compile(r'^arn:(?P<Partition>.+?):wisdom:(?P<Region>.+?):(?P<Account>.+?):ai-agent/(?P<AssistantId>.+?)/(?P<AIAgentId>.+?)$'), ['AIAgent']),
        (re.compile(r'^arn:(?P<Partition>.+?):wisdom:(?P<Region>.+?):(?P<Account>.+?):ai-guardrail/(?P<AssistantId>.+?)/(?P<AIGuardrailId>.+?)$'), ['AIGuardrail']),
        (re.compile(r'^arn:(?P<Partition>.+?):wisdom:(?P<Region>.+?):(?P<Account>.+?):ai-prompt/(?P<AssistantId>.+?)/(?P<AIPromptId>.+?)$'), ['AIPrompt']),
        (re.compile(r'^arn:(?P<Partition>.+?):wisdom:(?P<Region>.+?):(?P<Account>.+?):association/(?P<AssistantId>.+?)/(?P<AssistantAssociationId>.+?)$'), ['AssistantAssociation']),
        (re.compile(r'^arn:(?P<Partition>.+?):wisdom:(?P<Region>.+?):(?P<Account>.+?):content/(?P<KnowledgeBaseId>.+?)/(?P<ContentId>.+?)$'), ['Content']),
        (re.compile(r'^arn:(?P<Partition>.+?):wisdom:(?P<Region>.+?):(?P<Account>.+?):message-template/(?P<KnowledgeBaseId>.+?)/(?P<MessageTemplateId>.+?)$'), ['MessageTemplate']),
        (re.compile(r'^arn:(?P<Partition>.+?):wisdom:(?P<Region>.+?):(?P<Account>.+?):quick-response/(?P<KnowledgeBaseId>.+?)/(?P<QuickResponseId>.+?)$'), ['QuickResponse']),
        (re.compile(r'^arn:(?P<Partition>.+?):wisdom:(?P<Region>.+?):(?P<Account>.+?):session/(?P<AssistantId>.+?)/(?P<SessionId>.+?)$'), ['Session']),
        (re.compile(r'^arn:(?P<Partition>.+?):wisdom:(?P<Region>.+?):(?P<Account>.+?):assistant/(?P<AssistantId>.+?)$'), ['Assistant']),
        (re.compile(r'^arn:(?P<Partition>.+?):wisdom:(?P<Region>.+?):(?P<Account>.+?):knowledge-base/(?P<KnowledgeBaseId>.+?)$'), ['KnowledgeBase']),
    ],
    'workdocs': [
        (re.compile(r'^arn:(?P<Partition>.+?):workdocs:(?P<Region>.+?):(?P<Account>.+?):organization/(?P<ResourceId>.+?)$'), ['organization']),
    ],
    'worklink': [
        (re.compile(r'^arn:(?P<Partition>.+?):worklink::(?P<Account>.+?):fleet/(?P<FleetName>.+?)$'), ['fleet']),
    ],
    'workmail': [
        (re.compile(r'^arn:(?P<Partition>.+?):workmail:(?P<Region>.+?):(?P<Account>.+?):organization/(?P<ResourceId>.+?)$'), ['organization']),
    ],
    'workmailmessageflow': [
        (re.compile(r'^arn:(?P<Partition>.+?):workmailmessageflow:(?P<Region>.+?):(?P<Account>.+?):message/(?P<OrganizationId>.+?)/(?P<Context>.+?)/(?P<MessageId>.+?)$'), ['RawMessage']),
    ],
    'workspaces': [
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces:(?P<Region>.+?):(?P<Account>.+?):connectionalias/(?P<ConnectionAliasId>.+?)$'), ['connectionalias']),
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces:(?P<Region>.+?):(?P<Account>.+?):directory/(?P<DirectoryId>.+?)$'), ['directoryid']),
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces:(?P<Region>.+?):(?P<Account>.+?):workspace/(?P<WorkspaceId>.+?)$'), ['workspaceid']),
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces:(?P<Region>.+?):(?P<Account>.+?):workspaceapplication/(?P<WorkSpaceApplicationId>.+?)$'), ['workspaceapplication']),
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces:(?P<Region>.+?):(?P<Account>.+?):workspacebundle/(?P<BundleId>.+?)$'), ['workspacebundle']),
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces:(?P<Region>.+?):(?P<Account>.+?):workspacecertificate/(?P<CertificateId>.+?)$'), ['certificateid']),
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces:(?P<Region>.+?):(?P<Account>.+?):workspaceimage/(?P<ImageId>.+?)$'), ['workspaceimage']),
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces:(?P<Region>.+?):(?P<Account>.+?):workspaceipgroup/(?P<GroupId>.+?)$'), ['workspaceipgroup']),
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces:(?P<Region>.+?):(?P<Account>.+?):workspacespool/(?P<PoolId>.+?)$'), ['workspacespoolid']),
    ],
    'workspaces-instances': [
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces-instances:(?P<Region>.+?):(?P<Account>.+?):workspaceinstance/(?P<WorkspaceInstanceId>.+?)$'), ['WorkspaceInstanceId']),
    ],
    'workspaces-web': [
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces-web:(?P<Region>.+?):(?P<Account>.+?):identityProvider/(?P<PortalId>.+?)/(?P<IdentityProviderId>.+?)$'), ['identityProvider']),
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces-web:(?P<Region>.+?):(?P<Account>.+?):browserSettings/(?P<BrowserSettingsId>.+?)$'), ['browserSettings']),
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces-web:(?P<Region>.+?):(?P<Account>.+?):dataProtectionSettings/(?P<DataProtectionSettingsId>.+?)$'), ['dataProtectionSettings']),
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces-web:(?P<Region>.+?):(?P<Account>.+?):ipAccessSettings/(?P<IpAccessSettingsId>.+?)$'), ['ipAccessSettings']),
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces-web:(?P<Region>.+?):(?P<Account>.+?):networkSettings/(?P<NetworkSettingsId>.+?)$'), ['networkSettings']),
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces-web:(?P<Region>.+?):(?P<Account>.+?):portal/(?P<PortalId>.+?)$'), ['portal']),
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces-web:(?P<Region>.+?):(?P<Account>.+?):sessionLogger/(?P<SessionLoggerId>.+?)$'), ['sessionLogger']),
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces-web:(?P<Region>.+?):(?P<Account>.+?):trustStore/(?P<TrustStoreId>.+?)$'), ['trustStore']),
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces-web:(?P<Region>.+?):(?P<Account>.+?):userAccessLoggingSettings/(?P<UserAccessLoggingSettingsId>.+?)$'), ['userAccessLoggingSettings']),
        (re.compile(r'^arn:(?P<Partition>.+?):workspaces-web:(?P<Region>.+?):(?P<Account>.+?):userSettings/(?P<UserSettingsId>.+?)$'), ['userSettings']),
    ],
    'xray': [
        (re.compile(r'^arn:(?P<Partition>.+?):xray:(?P<Region>.+?):(?P<Account>.+?):group/(?P<GroupName>.+?)/(?P<Id>.+?)$'), ['group']),
        (re.compile(r'^arn:(?P<Partition>.+?):xray:(?P<Region>.+?):(?P<Account>.+?):sampling-rule/(?P<SamplingRuleName>.+?)$'), ['sampling-rule']),
    ],
    'amplifybackend': [
        (re.compile(r'^arn:(?P<Partition>.+?):amplifybackend:(?P<Region>.+?):(?P<Account>.+?):/backend/(?P<AppId>.+?)/api/(?P<ApiId>.+?)$'), ['api']),
        (re.compile(r'^arn:(?P<Partition>.+?):amplifybackend:(?P<Region>.+?):(?P<Account>.+?):/backend/(?P<AppId>.+?)/auth/(?P<AuthId>.+?)$'), ['auth']),
        (re.compile(r'^arn:(?P<Partition>.+?):amplifybackend:(?P<Region>.+?):(?P<Account>.+?):/backend/(?P<AppId>.+?)/challenge/(?P<ChallengeId>.+?)$'), ['token']),
        (re.compile(r'^arn:(?P<Partition>.+?):amplifybackend:(?P<Region>.+?):(?P<Account>.+?):/backend/(?P<AppId>.+?)/config/(?P<ConfigId>.+?)$'), ['config']),
        (re.compile(r'^arn:(?P<Partition>.+?):amplifybackend:(?P<Region>.+?):(?P<Account>.+?):/backend/(?P<AppId>.+?)/environments/(?P<EnvironmentId>.+?)$'), ['environment']),
        (re.compile(r'^arn:(?P<Partition>.+?):amplifybackend:(?P<Region>.+?):(?P<Account>.+?):/backend/(?P<AppId>.+?)/job/(?P<JobId>.+?)$'), ['job']),
        (re.compile(r'^arn:(?P<Partition>.+?):amplifybackend:(?P<Region>.+?):(?P<Account>.+?):/backend/(?P<AppId>.+?)/storage/(?P<StorageId>.+?)$'), ['storage']),
        (re.compile(r'^arn:(?P<Partition>.+?):amplifybackend:(?P<Region>.+?):(?P<Account>.+?):/backend/(?P<AppId>.+?)/(?P<SubResourceId>.+?)$'), ['backend']),
        (re.compile(r'^arn:(?P<Partition>.+?):amplifybackend:(?P<Region>.+?):(?P<Account>.+?):/backend/(?P<BackendId>.+?)$'), ['created-backend']),
    ],
    'health': [
        (re.compile(r'^arn:(?P<Partition>.+?):health:(?P<Region>.+?):(?P<Account>.+?):event/(?P<Service>.+?)/(?P<EventTypeCode>.+?)/(?P<EventId>.+?)$'), ['event']),
    ],
    'neptune-db': [
        (re.compile(r'^arn:(?P<Partition>.+?):neptune-db:(?P<Region>.+?):(?P<Account>.+?):(?P<ClusterResourceId>.+?)/(?P<DatabaseId>.+?)$'), ['database']),
    ],
    'inspector': [
        (re.compile(r'^arn:(?P<Partition>.+?):inspector:(?P<Region>.+?):(?P<Account>.+?):target/(?P<TargetId>.+?)/template/(?P<TemplateId>.+?)$'), ['target-template', 'target/template']),
    ],
    'dms': [
        (re.compile(r'^arn:(?P<Partition>.+?):dms:(?P<Region>.+?):(?P<Account>.+?):assessment-run:(?P<AssessmentRunId>.+?)$'), ['ReplicationTaskAssessmentRun']),
        (re.compile(r'^arn:(?P<Partition>.+?):dms:(?P<Region>.+?):(?P<Account>.+?):cert:(?P<CertificateId>.+?)$'), ['Certificate']),
        (re.compile(r'^arn:(?P<Partition>.+?):dms:(?P<Region>.+?):(?P<Account>.+?):data-migration:(?P<DataMigrationId>.+?)$'), ['DataMigration']),
        (re.compile(r'^arn:(?P<Partition>.+?):dms:(?P<Region>.+?):(?P<Account>.+?):data-provider:(?P<DataProviderId>.+?)$'), ['DataProvider']),
        (re.compile(r'^arn:(?P<Partition>.+?):dms:(?P<Region>.+?):(?P<Account>.+?):endpoint:(?P<EndpointId>.+?)$'), ['Endpoint']),
        (re.compile(r'^arn:(?P<Partition>.+?):dms:(?P<Region>.+?):(?P<Account>.+?):es:(?P<EventSubscriptionId>.+?)$'), ['EventSubscription']),
        (re.compile(r'^arn:(?P<Partition>.+?):dms:(?P<Region>.+?):(?P<Account>.+?):individual-assessment:(?P<IndividualAssessmentId>.+?)$'), ['ReplicationTaskIndividualAssessment']),
        (re.compile(r'^arn:(?P<Partition>.+?):dms:(?P<Region>.+?):(?P<Account>.+?):instance-profile:(?P<InstanceProfileId>.+?)$'), ['InstanceProfile']),
        (re.compile(r'^arn:(?P<Partition>.+?):dms:(?P<Region>.+?):(?P<Account>.+?):migration-project:(?P<MigrationProjectId>.+?)$'), ['MigrationProject']),
        (re.compile(r'^arn:(?P<Partition>.+?):dms:(?P<Region>.+?):(?P<Account>.+?):rep:(?P<ReplicationInstanceId>.+?)$'), ['ReplicationInstance']),
        (re.compile(r'^arn:(?P<Partition>.+?):dms:(?P<Region>.+?):(?P<Account>.+?):replication-config:(?P<ReplicationConfigId>.+?)$'), ['ReplicationConfig']),
        (re.compile(r'^arn:(?P<Partition>.+?):dms:(?P<Region>.+?):(?P<Account>.+?):task:(?P<TaskId>.+?)$'), ['ReplicationTask']),
        (re.compile(r'^arn:(?P<Partition>.+?):dms:(?P<Region>.+?):(?P<Account>.+?):subgrp:(?P<SubnetGroupName>.+?)$'), ['ReplicationSubnetGroup', 'subgrp']),
    ],
}
