feat(iam): read Comprehend from the generated tables (#9290)

Move `comprehend` from NOT_COVERED to NAMESPACES in
regen_iam_request_resources.py, so its requests are read from the generated
request-resources table like the other namespaces'. The detection actions
Floci serves act on no resource type and stay on `*`, as AWS authorizes them;
the classifier, recognizer and endpoint operations are read by their ARN
members. No other namespace's rows change.
This commit is contained in:
Priamo Germosen authored and GitHub committed 2026-11-23 14:10:49 -04:00
1 parent e82be2c5f5
commit 8a0903f42b
5 files changed
+100 -6

No files matched your search

+3
View File
@@ -34,6 +34,9 @@
- **Intentional deviation:** real Comprehend enforces a maximum input size on `Text`
and returns `TextSizeLimitExceededException` when exceeded. This is not enforced
here — any non-empty `Text` is accepted regardless of length.
- **IAM enforcement:** each action is checked on the resources the AWS Service Authorization
Reference lists for it, read from the request. The detection actions Floci serves act on no
resource type, so they are checked on `*`, as AWS authorizes them.
## Configuration
+1 -1
View File
@@ -2542,7 +2542,7 @@ AWS Data Exports, AWS Pricing Calculator, Cost Explorer, CloudTrail, Global Acce
Timestream for InfluxDB, Amazon Redshift, the Amazon Redshift Data API, AWS Payment Cryptography, AWS DataSync, Amazon EMR,
Amazon Rekognition, IAM Identity Center, Amazon Inspector, Amazon Macie, AWS Fault Injection Service, AWS Resource
Access Manager, CloudWatch Observability Access Manager, AWS Resource Explorer, AWS Account Management, AWS Control
Catalog, Amazon OpenSearch Service, IAM Access Analyzer, AWS Security Hub, Amazon GuardDuty, Lambda, AWS Glue, Amazon SQS, Amazon SNS, Amazon Kinesis Data Streams, Amazon EventBridge Pipes, Aurora DSQL, STS, Amazon EKS, AWS Resource Groups, Amazon CloudWatch Logs and Amazon CloudWatch they come from a table generated from AWS's Service Reference and botocore, `src/main/resources/aws/iam-request-resources.json`, which gives each
Catalog, Amazon OpenSearch Service, IAM Access Analyzer, AWS Security Hub, Amazon GuardDuty, Lambda, AWS Glue, Amazon SQS, Amazon SNS, Amazon Kinesis Data Streams, Amazon EventBridge Pipes, Aurora DSQL, STS, Amazon EKS, AWS Resource Groups, Amazon CloudWatch Logs, Amazon CloudWatch and Amazon Comprehend they come from a table generated from AWS's Service Reference and botocore, `src/main/resources/aws/iam-request-resources.json`, which gives each
operation's action, the resource types that action acts on with their ARN formats, and the request
members that name them: a member holding a resource's ARN, which counts when it matches the format
of a type the action acts on, or members filling the variables of a type's format. Nothing in it is
@@ -1,11 +1,11 @@
{
"_source": {"generator": "tools/aws/regen_iam_request_resources.py", "reference": "https://servicereference.us-east-1.amazonaws.com/", "botocore": "botocore 1.44.9 (local/aws/botocore)", "retrieved": "2026-11-23", "note": "make iam-request-resources-check re-derives every operation's resources from botocore; make iam-request-resources-verify checks every action, type and format against AWS."},
"namespaces": {"access-analyzer": ["accessanalyzer"], "account": ["account"], "acm": ["acm"], "apigateway": ["apigateway", "apigatewayv2"], "application-autoscaling": ["application-autoscaling"], "aps": ["amp"], "athena": ["athena"], "bcm-data-exports": ["bcm-data-exports"], "bcm-pricing-calculator": ["bcm-pricing-calculator"], "bedrock": ["bedrock", "bedrock-agent", "bedrock-agent-runtime", "bedrock-data-automation", "bedrock-data-automation-runtime", "bedrock-runtime"], "budgets": ["budgets"], "ce": ["ce"], "cloudformation": ["cloudcontrol", "cloudformation"], "cloudfront": ["cloudfront"], "cloudfront-keyvaluestore": ["cloudfront-keyvaluestore"], "cloudtrail": ["cloudtrail"], "cloudwatch": ["cloudwatch", "cloudwatchomni"], "codebuild": ["codebuild"], "codepipeline": ["codepipeline"], "cognito-identity": ["cognito-identity"], "cognito-idp": ["cognito-idp"], "controlcatalog": ["controlcatalog"], "controltower": ["controltower"], "cur": ["cur"], "datasync": ["datasync"], "dsql": ["dsql"], "dynamodb": ["dynamodb", "dynamodbstreams"], "ec2": ["ec2"], "ec2-instance-connect": ["ec2-instance-connect"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticloadbalancing": ["elb", "elbv2"], "elasticmapreduce": ["emr"], "emr-containers": ["emr-containers"], "emr-serverless": ["emr-serverless"], "es": ["es", "opensearch"], "events": ["eventbridgev2", "events"], "firehose": ["firehose"], "fis": ["fis"], "globalaccelerator": ["globalaccelerator"], "glue": ["glue"], "guardduty": ["guardduty"], "iam": ["iam", "iam-toolbox"], "inspector2": ["inspector2"], "kinesis": ["kinesis"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "kms": ["kms"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "logs": ["logs"], "macie2": ["macie2"], "oam": ["oam"], "payment-cryptography": ["payment-cryptography", "payment-cryptography-data"], "pipes": ["pipes"], "quicksight": ["quicksight"], "ram": ["ram"], "rds": ["docdb", "neptune", "rds"], "redshift": ["redshift"], "redshift-data": ["redshift-data"], "redshift-serverless": ["redshift-serverless"], "rekognition": ["rekognition"], "resource-explorer-2": ["resource-explorer-2"], "resource-groups": ["resource-groups"], "route53": ["route53"], "s3": ["s3", "s3control"], "s3tables": ["s3tables"], "s3vectors": ["s3vectors"], "scheduler": ["scheduler"], "secretsmanager": ["secretsmanager"], "securityhub": ["securityhub"], "servicediscovery": ["servicediscovery"], "servicequotas": ["service-quotas"], "signer": ["signer", "signer-data"], "sns": ["sns"], "sqs": ["sqs"], "ssm": ["ssm"], "sso": ["sso", "sso-admin"], "states": ["stepfunctions"], "sts": ["sts"], "textract": ["textract"], "timestream-influxdb": ["timestream-influxdb"], "translate": ["translate"], "xray": ["xray"]},
"notCovered": {"airflow": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "app-integrations": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "appconfig": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "appsync": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "autoscaling": "not read yet: AWS's group and launch configuration ARNs carry an id the service mints, `autoScalingGroup:<id>:autoScalingGroupName/<name>`, while Floci mints `autoScalingGroup:<name>`, which other services (ECS capacity providers) read back; the mint is fixed first", "aws-marketplace": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "backup": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "batch": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "bedrock-agentcore": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "cloudhsm": "not read yet: its ARN formats end in ${CloudHsmClusterInstanceName} and ${CloudHsmBackupInstanceName}, names, while its requests give ClusterId and BackupId, ids, which the rules do not fill a name from, so nearly every operation's resource would be left open", "codeartifact": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "codedeploy": "not read yet: the Service Reference gives an on-premises instance's ARN as `instance:${InstanceName}`, while the CodeDeploy permissions reference gives arn:aws:codedeploy:region:account-id:instance/instance-ID and AWS's GetOnPremisesInstance example answers instance/<name>_<id>, an id the service mints after the name; reading it needs that format corrected", "codeguru-reviewer": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "comprehend": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "config": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "connect": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "detective": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "dlm": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "dms": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "elasticache": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "elasticbeanstalk": "not read yet: an environment's ARN carries its application's name, `environment/<application>/<name>`, while most of its requests name it by EnvironmentName or EnvironmentId alone, so reading it needs the stored environment those find", "elasticfilesystem": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "execute-api": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "identitystore": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "iot": "not read yet: a later batch, with Line truncated
"namespaces": {"access-analyzer": ["accessanalyzer"], "account": ["account"], "acm": ["acm"], "apigateway": ["apigateway", "apigatewayv2"], "application-autoscaling": ["application-autoscaling"], "aps": ["amp"], "athena": ["athena"], "bcm-data-exports": ["bcm-data-exports"], "bcm-pricing-calculator": ["bcm-pricing-calculator"], "bedrock": ["bedrock", "bedrock-agent", "bedrock-agent-runtime", "bedrock-data-automation", "bedrock-data-automation-runtime", "bedrock-runtime"], "budgets": ["budgets"], "ce": ["ce"], "cloudformation": ["cloudcontrol", "cloudformation"], "cloudfront": ["cloudfront"], "cloudfront-keyvaluestore": ["cloudfront-keyvaluestore"], "cloudtrail": ["cloudtrail"], "cloudwatch": ["cloudwatch", "cloudwatchomni"], "codebuild": ["codebuild"], "codepipeline": ["codepipeline"], "cognito-identity": ["cognito-identity"], "cognito-idp": ["cognito-idp"], "comprehend": ["comprehend"], "controlcatalog": ["controlcatalog"], "controltower": ["controltower"], "cur": ["cur"], "datasync": ["datasync"], "dsql": ["dsql"], "dynamodb": ["dynamodb", "dynamodbstreams"], "ec2": ["ec2"], "ec2-instance-connect": ["ec2-instance-connect"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticloadbalancing": ["elb", "elbv2"], "elasticmapreduce": ["emr"], "emr-containers": ["emr-containers"], "emr-serverless": ["emr-serverless"], "es": ["es", "opensearch"], "events": ["eventbridgev2", "events"], "firehose": ["firehose"], "fis": ["fis"], "globalaccelerator": ["globalaccelerator"], "glue": ["glue"], "guardduty": ["guardduty"], "iam": ["iam", "iam-toolbox"], "inspector2": ["inspector2"], "kinesis": ["kinesis"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "kms": ["kms"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "logs": ["logs"], "macie2": ["macie2"], "oam": ["oam"], "payment-cryptography": ["payment-cryptography", "payment-cryptography-data"], "pipes": ["pipes"], "quicksight": ["quicksight"], "ram": ["ram"], "rds": ["docdb", "neptune", "rds"], "redshift": ["redshift"], "redshift-data": ["redshift-data"], "redshift-serverless": ["redshift-serverless"], "rekognition": ["rekognition"], "resource-explorer-2": ["resource-explorer-2"], "resource-groups": ["resource-groups"], "route53": ["route53"], "s3": ["s3", "s3control"], "s3tables": ["s3tables"], "s3vectors": ["s3vectors"], "scheduler": ["scheduler"], "secretsmanager": ["secretsmanager"], "securityhub": ["securityhub"], "servicediscovery": ["servicediscovery"], "servicequotas": ["service-quotas"], "signer": ["signer", "signer-data"], "sns": ["sns"], "sqs": ["sqs"], "ssm": ["ssm"], "sso": ["sso", "sso-admin"], "states": ["stepfunctions"], "sts": ["sts"], "textract": ["textract"], "timestream-influxdb": ["timestream-influxdb"], "translate": ["translate"], "xray": ["xray"]},
"notCovered": {"airflow": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "app-integrations": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "appconfig": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "appsync": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "autoscaling": "not read yet: AWS's group and launch configuration ARNs carry an id the service mints, `autoScalingGroup:<id>:autoScalingGroupName/<name>`, while Floci mints `autoScalingGroup:<name>`, which other services (ECS capacity providers) read back; the mint is fixed first", "aws-marketplace": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "backup": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "batch": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "bedrock-agentcore": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "cloudhsm": "not read yet: its ARN formats end in ${CloudHsmClusterInstanceName} and ${CloudHsmBackupInstanceName}, names, while its requests give ClusterId and BackupId, ids, which the rules do not fill a name from, so nearly every operation's resource would be left open", "codeartifact": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "codedeploy": "not read yet: the Service Reference gives an on-premises instance's ARN as `instance:${InstanceName}`, while the CodeDeploy permissions reference gives arn:aws:codedeploy:region:account-id:instance/instance-ID and AWS's GetOnPremisesInstance example answers instance/<name>_<id>, an id the service mints after the name; reading it needs that format corrected", "codeguru-reviewer": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "config": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "connect": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "detective": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "dlm": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "dms": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "elasticache": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "elasticbeanstalk": "not read yet: an environment's ARN carries its application's name, `environment/<application>/<name>`, while most of its requests name it by EnvironmentName or EnvironmentId alone, so reading it needs the stored environment those find", "elasticfilesystem": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "execute-api": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "identitystore": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "iot": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "kafka": "REST: its requests name their resourcesLine truncated
"otherNamespaces": ["a4b", "account-access", "acm-pca", "aco-automation", "agent-registry", "aidevops", "aiops", "airflow-serverless", "amplify", "amplifybackend", "amplifyuibuilder", "aoss", "apiportal", "appfabric", "appflow", "application-signals", "application-signals-mcp", "appmesh", "appmesh-preview", "apprunner", "appstream", "apptest", "arc-region-switch", "arc-zonal-shift", "artifact", "assurance", "auditmanager", "aws-external-anthropic", "b2bi", "backup-gateway", "backup-search", "bcm-data-hub", "bedrock-mantle", "bedrock-websearch", "billing", "billingconductor", "braket", "bugbust", "cases", "cassandra", "chatbot", "chime", "cleanrooms", "cleanrooms-ml", "cloud9", "clouddirectory", "cloudsearch", "cloudshell", "cloudtrail-data", "codecatalyst", "codecommit", "codeconnections", "codeguru-profiler", "codeguru-security", "codestar-connections", "codestar-notifications", "codewhisperer", "cognito-sync", "connect-campaigns", "consoleapp", "continuum", "databrew", "dataexchange", "datapipeline", "datazone", "dax", "deadline", "devicefarm", "devops-guru", "directconnect", "docdb-elastic", "drs", "ds", "ds-data", "ebs", "ecr-public", "eks-auth", "elastictranscoder", "elemental-appliances-software", "elemental-inference", "elemental-support-cases", "end-user-messaging", "entityresolution", "evs", "finspace", "finspace-api", "fms", "forecast", "frauddetector", "freertos", "fsx", "gamelift", "gameliftstreams", "geo", "geo-maps", "geo-places", "geo-routes", "glacier", "grafana", "greengrass", "groundstation", "health", "health-agent", "healthlake", "honeycode", "identity-sync", "imagebuilder", "interconnect", "internetmonitor", "invoicing", "iotanalytics", "iotdeviceadvisor", "iotfleethub", "iotfleetwise", "iotjobsdata", "iotmanagedintegrations", "iotsitewise", "iottwinmaker", "iotwireless", "iq", "iq-permission", "ivs", "ivschat", "kafka-cluster", "kafkaconnect", "kendra", "kendra-ranking", "kinesisvideo", "launchwizard", "lex", "license-manager", "license-manager-linux-subscriptions", "license-manager-user-subscriptions", "lookoutequipment", "lookoutmetrics", "lookoutvision", "m2", "machinelearning", "managedblockchain", "mapcredits", "mediaconnect", "mediaconvert", "medialive", "mediapackage", "mediapackage-vod", "mediapackagev2", "mediastore", "mediatailor", "medical-imaging", "mgh", "mgn", "migrationhub-orchestrator", "mobiletargeting", "monitron", "mpa", "neptune-db", "neptune-graph", "network-security-manager", "networkflowmonitor", "networkmanager", "networkmonitor", "nimble", "notifications", "notifications-contacts", "nova-act", "observabilityadmin", "odb", "omics", "one", "opensearch", "opsworks", "osis", "osm", "outposts", "panorama", "partnercentral", "payments", "pca-connector-ad", "pca-connector-scep", "pcs", "personalize", "pi", "polly", "private-networks", "profile", "proton", "purchase-orders", "q", "qapps", "qbusiness", "qdeveloper", "qldb", "rbin", "rds-db", "refactor-spaces", "repostspace", "resiliencehub", "robomaker", "rolesanywhere", "route53-recovery-cluster", "route53-recovery-control-config", "route53-recovery-readiness", "route53globalresolver", "route53profiles", "rtbfabric", "s3-object-lambda", "s3-outposts", "s3express", "s3files", "sagemaker-geospatial", "sagemaker-mlflow", "savingsplans", "schemas", "scn", "sdb", "security-ir", "securityagent", "securitylake", "serverlessrepo", "shield", "simspaceweaver", "sms-voice", "snow-device-management", "social-messaging", "sqlworkbench", "ssm-contacts", "ssm-incidents", "ssm-quicksetup", "ssm-sap", "ssmmessages", "storagegateway", "supportauthz", "synthetics", "thinclient", "timestream", "tnb", "transform", "transform-custom", "trustedadvisor", "ts", "vendor-insights", "voiceid", "vpc-lattice", "vpc-lattice-svcs", "vpce", "waf", "waf-regional", "wellarchitected", "wickr", "wisdom", "workdocs", "worklink", "workmail", "workmailmessageflow", "workspaces", "workspaces-instances", "workspaces-web"],
"arnFormats": {"access-analyzer": {"Analyzer": "arn:${Partition}:access-analyzer:${Region}:${Account}:analyzer/${AnalyzerName}", "ArchiveRule": "arn:${Partition}:access-analyzer:${Region}:${Account}:analyzer/${AnalyzerName}/archive-rule/${RuleName}"}, "account": {"account": "arn:${Partition}:account::${Account}:account", "accountInOrganization": "arn:${Partition}:account::${ManagementAccountId}:account/o-${OrganizationId}/${MemberAccountId}"}, "acm": {"acme-domain-validation": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}/acme-domain-validation/${AcmeDomainValidationId}", "acme-endpoint": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}", "acme-external-account-binding": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}/acme-external-account-binding/${ExternalAccountBindingId}", "certificate": "arn:${Partition}:acm:${Region}:${Account}:certificate/${CertificateId}"}, "apigateway": {"AccessLogSettings": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/stages/${StageName}/accesslogsettings", "Account": "arn:${Partition}:apigateway:${Region}::/account", "Api": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}", "ApiKey": "arn:${Partition}:apigateway:${Region}::/apikeys/${ApiKeyId}", "ApiKeys": "arn:${Partition}:apigateway:${Region}::/apikeys", "ApiMapping": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/apimappings/${ApiMappingId}", "ApiMappings": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/apimappings", "Apis": "arn:${Partition}:apigateway:${Region}::/apis", "Authorizer": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/authorizers/${AuthorizerId}", "Authorizers": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/authorizers", "AuthorizersCache": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/stages/${StageName}/cache/authorizers", "BasePathMapping": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/basepathmappings/${BasePath}", "BasePathMappings": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/basepathmappings", "ClientCertificate": "arn:${Partition}:apigateway:${Region}::/clientcertificates/${ClientCertificateId}", "ClientCertificates": "arn:${Partition}:apigateway:${Region}::/clientcertificates", "Cors": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/cors", "Deployment": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/deployments/${DeploymentId}", "Deployments": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/deployments", "DocumentationPart": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/parts/${DocumentationPartId}", "DocumentationParts": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/parts", "DocumentationVersion": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/versions/${DocumentationVersionId}", "DocumentationVersions": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/versions", "DomainName": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}", "DomainNameAccessAssociation": "arn:${Partition}:apigateway:${Region}:${Account}:/domainnameaccessassociations/domainname/${DomainName}/${SourceType}/${SourceId}", "DomainNameAccessAssociations": "arn:${Partition}:apigateway:${Region}:${Account}:/domainnameaccessassociations", "DomainNames": "arn:${Partition}:apigateway:${Region}::/domainnames", "ExportedAPI": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/exports/${Specification}", "GatewayResponse": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/gatewayresponses/${ResponseType}", "GatewayResponses": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/gatewayresponses", "Integration": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}", "IntegrationResponse": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}/integrationresponses/${IntegrationResponseId}", "IntegrationResponses": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}/integrationresponses", "Integrations": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations", "Method": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/resources/${ResourceId}/methods/${HttpMethodType}", "MethodResponse": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/resources/${ResourceId}/methods/${HttpMethodType}/responses/${StatusCode}", "Model": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models/${ModelId}", "ModelTemplate": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models/${ModelId}/template", "Models": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models", "Portal": "arn:${Partition}:apigateway:${Region}:${Account}:/portals/${PortalId}", "PortalProduct": "arn:${Partition}:apigateway:${Region}:${Account}:/portalproducts/$Line truncated
"arnFormats": {"access-analyzer": {"Analyzer": "arn:${Partition}:access-analyzer:${Region}:${Account}:analyzer/${AnalyzerName}", "ArchiveRule": "arn:${Partition}:access-analyzer:${Region}:${Account}:analyzer/${AnalyzerName}/archive-rule/${RuleName}"}, "account": {"account": "arn:${Partition}:account::${Account}:account", "accountInOrganization": "arn:${Partition}:account::${ManagementAccountId}:account/o-${OrganizationId}/${MemberAccountId}"}, "acm": {"acme-domain-validation": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}/acme-domain-validation/${AcmeDomainValidationId}", "acme-endpoint": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}", "acme-external-account-binding": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}/acme-external-account-binding/${ExternalAccountBindingId}", "certificate": "arn:${Partition}:acm:${Region}:${Account}:certificate/${CertificateId}"}, "apigateway": {"AccessLogSettings": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/stages/${StageName}/accesslogsettings", "Account": "arn:${Partition}:apigateway:${Region}::/account", "Api": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}", "ApiKey": "arn:${Partition}:apigateway:${Region}::/apikeys/${ApiKeyId}", "ApiKeys": "arn:${Partition}:apigateway:${Region}::/apikeys", "ApiMapping": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/apimappings/${ApiMappingId}", "ApiMappings": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/apimappings", "Apis": "arn:${Partition}:apigateway:${Region}::/apis", "Authorizer": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/authorizers/${AuthorizerId}", "Authorizers": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/authorizers", "AuthorizersCache": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/stages/${StageName}/cache/authorizers", "BasePathMapping": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/basepathmappings/${BasePath}", "BasePathMappings": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/basepathmappings", "ClientCertificate": "arn:${Partition}:apigateway:${Region}::/clientcertificates/${ClientCertificateId}", "ClientCertificates": "arn:${Partition}:apigateway:${Region}::/clientcertificates", "Cors": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/cors", "Deployment": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/deployments/${DeploymentId}", "Deployments": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/deployments", "DocumentationPart": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/parts/${DocumentationPartId}", "DocumentationParts": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/parts", "DocumentationVersion": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/versions/${DocumentationVersionId}", "DocumentationVersions": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/versions", "DomainName": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}", "DomainNameAccessAssociation": "arn:${Partition}:apigateway:${Region}:${Account}:/domainnameaccessassociations/domainname/${DomainName}/${SourceType}/${SourceId}", "DomainNameAccessAssociations": "arn:${Partition}:apigateway:${Region}:${Account}:/domainnameaccessassociations", "DomainNames": "arn:${Partition}:apigateway:${Region}::/domainnames", "ExportedAPI": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/exports/${Specification}", "GatewayResponse": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/gatewayresponses/${ResponseType}", "GatewayResponses": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/gatewayresponses", "Integration": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}", "IntegrationResponse": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}/integrationresponses/${IntegrationResponseId}", "IntegrationResponses": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}/integrationresponses", "Integrations": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations", "Method": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/resources/${ResourceId}/methods/${HttpMethodType}", "MethodResponse": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/resources/${ResourceId}/methods/${HttpMethodType}/responses/${StatusCode}", "Model": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models/${ModelId}", "ModelTemplate": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models/${ModelId}/template", "Models": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models", "Portal": "arn:${Partition}:apigateway:${Region}:${Account}:/portals/${PortalId}", "PortalProduct": "arn:${Partition}:apigateway:${Region}:${Account}:/portalproducts/$Line truncated
"pathFormats": {"apigateway": {"/restapis/{restapi_id}/models/{model_name}/default_template (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/restapis/${RestapiId}/models/${ModelName}/default_template", "/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/restapis/${RestapiId}/stages/${StageName}/cache/authorizers", "/restapis/{restapi_id}/stages/{stage_name}/cache/data (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/restapis/${RestapiId}/stages/${StageName}/cache/data", "/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type} (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/restapis/${RestapiId}/stages/${StageName}/exports/${ExportType}", "/sdktypes (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/sdktypes", "/sdktypes/{sdktype_id} (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/sdktypes/${SdktypeId}", "/usageplans/{usageplanId}/keys/{keyId}/usage (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/usageplans/${UsageplanId}/keys/${KeyId}/usage", "/usageplans/{usageplanId}/usage (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/usageplans/${UsageplanId}/usage", "Authorizer (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/authorizers/${Id}", "Authorizers (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/authorizers", "Deployment (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/deployments/${Id}", "Deployments (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/deployments", "Integration (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/resources/${ResourceId}/methods/${HttpMethod}/integration", "IntegrationResponse (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/resources/${ResourceId}/methods/${HttpMethod}/integration/responses/${StatusCode}", "Model (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/models/${ModelName}", "Models (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/models", "Stage (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/stages/${StageName}", "Stages (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/stages"}},
"resourceTagKeys": {"access-analyzer": {"Analyzer": ["aws:ResourceTag/"]}, "acm": {"acme-domain-validation": ["aws:ResourceTag/"], "acme-endpoint": ["aws:ResourceTag/"], "acme-external-account-binding": ["aws:ResourceTag/"], "certificate": ["aws:ResourceTag/"]}, "apigateway": {"AccessLogSettings": ["aws:ResourceTag/"], "Api": ["aws:ResourceTag/"], "ApiKey": ["aws:ResourceTag/"], "ApiKeys": ["aws:ResourceTag/"], "ApiMapping": ["aws:ResourceTag/"], "ApiMappings": ["aws:ResourceTag/"], "Apis": ["aws:ResourceTag/"], "Authorizer": ["aws:ResourceTag/"], "Authorizers": ["aws:ResourceTag/"], "AuthorizersCache": ["aws:ResourceTag/"], "BasePathMapping": ["aws:ResourceTag/"], "BasePathMappings": ["aws:ResourceTag/"], "ClientCertificate": ["aws:ResourceTag/"], "ClientCertificates": ["aws:ResourceTag/"], "Cors": ["aws:ResourceTag/"], "Deployment": ["aws:ResourceTag/"], "Deployments": ["aws:ResourceTag/"], "DocumentationPart": ["aws:ResourceTag/"], "DocumentationParts": ["aws:ResourceTag/"], "DocumentationVersion": ["aws:ResourceTag/"], "DocumentationVersions": ["aws:ResourceTag/"], "DomainName": ["aws:ResourceTag/"], "DomainNameAccessAssociations": ["aws:ResourceTag/"], "DomainNames": ["aws:ResourceTag/"], "ExportedAPI": ["aws:ResourceTag/"], "GatewayResponse": ["aws:ResourceTag/"], "GatewayResponses": ["aws:ResourceTag/"], "Integration": ["aws:ResourceTag/"], "IntegrationResponse": ["aws:ResourceTag/"], "IntegrationResponses": ["aws:ResourceTag/"], "Integrations": ["aws:ResourceTag/"], "Method": ["aws:ResourceTag/"], "MethodResponse": ["aws:ResourceTag/"], "Model": ["aws:ResourceTag/"], "ModelTemplate": ["aws:ResourceTag/"], "Models": ["aws:ResourceTag/"], "Portal": ["aws:ResourceTag/"], "PortalProduct": ["aws:ResourceTag/"], "PrivateBasePathMapping": ["aws:ResourceTag/"], "PrivateBasePathMappings": ["aws:ResourceTag/"], "PrivateDomainName": ["aws:ResourceTag/"], "ProductPage": ["aws:ResourceTag/"], "ProductRestEndpointPage": ["aws:ResourceTag/"], "RequestValidator": ["aws:ResourceTag/"], "RequestValidators": ["aws:ResourceTag/"], "Resource": ["aws:ResourceTag/"], "Resources": ["aws:ResourceTag/"], "RestApi": ["aws:ResourceTag/"], "RestApis": ["aws:ResourceTag/"], "Route": ["aws:ResourceTag/"], "RouteRequestParameter": ["aws:ResourceTag/"], "RouteResponse": ["aws:ResourceTag/"], "RouteResponses": ["aws:ResourceTag/"], "RouteSettings": ["aws:ResourceTag/"], "Routes": ["aws:ResourceTag/"], "RoutingRule": ["aws:ResourceTag/"], "Sdk": ["aws:ResourceTag/"], "Stage": ["aws:ResourceTag/"], "Stages": ["aws:ResourceTag/"], "Template": ["aws:ResourceTag/"], "UsagePlan": ["aws:ResourceTag/"], "UsagePlanKey": ["aws:ResourceTag/"], "UsagePlanKeys": ["aws:ResourceTag/"], "UsagePlans": ["aws:ResourceTag/"], "VpcLink": ["aws:ResourceTag/"], "VpcLinks": ["aws:ResourceTag/"]}, "application-autoscaling": {"ScalableTarget": ["aws:ResourceTag/"]}, "aps": {"anomalydetector": ["aws:ResourceTag/"], "cluster": ["aws:ResourceTag/"], "rulegroupsnamespace": ["aws:ResourceTag/"], "scraper": ["aws:ResourceTag/"], "workspace": ["aws:ResourceTag/"]}, "athena": {"capacity-reservation": ["aws:ResourceTag/"], "datacatalog": ["aws:ResourceTag/"], "session": ["aws:ResourceTag/"], "system-table": ["aws:ResourceTag/"], "workgroup": ["aws:ResourceTag/"]}, "bcm-data-exports": {"billingview": ["aws:ResourceTag/"], "export": ["aws:ResourceTag/"]}, "bcm-pricing-calculator": {"bill-estimate": ["aws:ResourceTag/"], "bill-scenario": ["aws:ResourceTag/"], "workload-estimate": ["aws:ResourceTag/"]}, "bedrock": {"advanced-prompt-optimization-job": ["aws:ResourceTag/"], "agent": ["aws:ResourceTag/"], "agent-alias": ["aws:ResourceTag/"], "application-inference-profile": ["aws:ResourceTag/"], "async-invoke": ["aws:ResourceTag/"], "automated-reasoning-policy": ["aws:ResourceTag/"], "automated-reasoning-policy-version": ["aws:ResourceTag/"], "blueprint": ["aws:ResourceTag/"], "blueprint-optimization-invocation": ["aws:ResourceTag/"], "custom-model": ["aws:ResourceTag/"], "custom-model-deployment": ["aws:ResourceTag/"], "data-automation-invocation-job": ["aws:ResourceTag/"], "data-automation-library": ["aws:ResourceTag/"], "data-automation-library-ingestion-job": ["aws:ResourceTag/"], "data-automation-project": ["aws:ResourceTag/"], "evaluation-job": ["aws:ResourceTag/"], "flow": ["aws:ResourceTag/"], "flow-alias": ["aws:ResourceTag/"], "guardrail": ["aws:ResourceTag/"], "imported-model": ["aws:ResourceTag/"], "knowledge-base": ["aws:ResourceTag/"], "model-copy-job": ["aws:ResourceTag/"], "model-customization-job": ["aws:ResourceTag/"], "model-evaluation-job": ["aws:ResourceTag/"], "model-import-job": ["aws:ResourceTag/"], "model-invocation-job": ["aws:ResourceTag/"], "project": ["aws:ResourceTag/"], "prompt": ["aws:ResourceTag/"], "prompt-router": ["aws:ResourceTag/"], "prompt-version": ["aws:ResourceTag/"], "provisioned-model": ["aws:ResourceTag/"], "retrieval-instruction": ["aws:ResourceTag/"], "session": ["aws:ResourceTag/"]}, "budgets": {"budget": ["aws:ResourceTag/Line truncated
"resourceTagKeys": {"access-analyzer": {"Analyzer": ["aws:ResourceTag/"]}, "acm": {"acme-domain-validation": ["aws:ResourceTag/"], "acme-endpoint": ["aws:ResourceTag/"], "acme-external-account-binding": ["aws:ResourceTag/"], "certificate": ["aws:ResourceTag/"]}, "apigateway": {"AccessLogSettings": ["aws:ResourceTag/"], "Api": ["aws:ResourceTag/"], "ApiKey": ["aws:ResourceTag/"], "ApiKeys": ["aws:ResourceTag/"], "ApiMapping": ["aws:ResourceTag/"], "ApiMappings": ["aws:ResourceTag/"], "Apis": ["aws:ResourceTag/"], "Authorizer": ["aws:ResourceTag/"], "Authorizers": ["aws:ResourceTag/"], "AuthorizersCache": ["aws:ResourceTag/"], "BasePathMapping": ["aws:ResourceTag/"], "BasePathMappings": ["aws:ResourceTag/"], "ClientCertificate": ["aws:ResourceTag/"], "ClientCertificates": ["aws:ResourceTag/"], "Cors": ["aws:ResourceTag/"], "Deployment": ["aws:ResourceTag/"], "Deployments": ["aws:ResourceTag/"], "DocumentationPart": ["aws:ResourceTag/"], "DocumentationParts": ["aws:ResourceTag/"], "DocumentationVersion": ["aws:ResourceTag/"], "DocumentationVersions": ["aws:ResourceTag/"], "DomainName": ["aws:ResourceTag/"], "DomainNameAccessAssociations": ["aws:ResourceTag/"], "DomainNames": ["aws:ResourceTag/"], "ExportedAPI": ["aws:ResourceTag/"], "GatewayResponse": ["aws:ResourceTag/"], "GatewayResponses": ["aws:ResourceTag/"], "Integration": ["aws:ResourceTag/"], "IntegrationResponse": ["aws:ResourceTag/"], "IntegrationResponses": ["aws:ResourceTag/"], "Integrations": ["aws:ResourceTag/"], "Method": ["aws:ResourceTag/"], "MethodResponse": ["aws:ResourceTag/"], "Model": ["aws:ResourceTag/"], "ModelTemplate": ["aws:ResourceTag/"], "Models": ["aws:ResourceTag/"], "Portal": ["aws:ResourceTag/"], "PortalProduct": ["aws:ResourceTag/"], "PrivateBasePathMapping": ["aws:ResourceTag/"], "PrivateBasePathMappings": ["aws:ResourceTag/"], "PrivateDomainName": ["aws:ResourceTag/"], "ProductPage": ["aws:ResourceTag/"], "ProductRestEndpointPage": ["aws:ResourceTag/"], "RequestValidator": ["aws:ResourceTag/"], "RequestValidators": ["aws:ResourceTag/"], "Resource": ["aws:ResourceTag/"], "Resources": ["aws:ResourceTag/"], "RestApi": ["aws:ResourceTag/"], "RestApis": ["aws:ResourceTag/"], "Route": ["aws:ResourceTag/"], "RouteRequestParameter": ["aws:ResourceTag/"], "RouteResponse": ["aws:ResourceTag/"], "RouteResponses": ["aws:ResourceTag/"], "RouteSettings": ["aws:ResourceTag/"], "Routes": ["aws:ResourceTag/"], "RoutingRule": ["aws:ResourceTag/"], "Sdk": ["aws:ResourceTag/"], "Stage": ["aws:ResourceTag/"], "Stages": ["aws:ResourceTag/"], "Template": ["aws:ResourceTag/"], "UsagePlan": ["aws:ResourceTag/"], "UsagePlanKey": ["aws:ResourceTag/"], "UsagePlanKeys": ["aws:ResourceTag/"], "UsagePlans": ["aws:ResourceTag/"], "VpcLink": ["aws:ResourceTag/"], "VpcLinks": ["aws:ResourceTag/"]}, "application-autoscaling": {"ScalableTarget": ["aws:ResourceTag/"]}, "aps": {"anomalydetector": ["aws:ResourceTag/"], "cluster": ["aws:ResourceTag/"], "rulegroupsnamespace": ["aws:ResourceTag/"], "scraper": ["aws:ResourceTag/"], "workspace": ["aws:ResourceTag/"]}, "athena": {"capacity-reservation": ["aws:ResourceTag/"], "datacatalog": ["aws:ResourceTag/"], "session": ["aws:ResourceTag/"], "system-table": ["aws:ResourceTag/"], "workgroup": ["aws:ResourceTag/"]}, "bcm-data-exports": {"billingview": ["aws:ResourceTag/"], "export": ["aws:ResourceTag/"]}, "bcm-pricing-calculator": {"bill-estimate": ["aws:ResourceTag/"], "bill-scenario": ["aws:ResourceTag/"], "workload-estimate": ["aws:ResourceTag/"]}, "bedrock": {"advanced-prompt-optimization-job": ["aws:ResourceTag/"], "agent": ["aws:ResourceTag/"], "agent-alias": ["aws:ResourceTag/"], "application-inference-profile": ["aws:ResourceTag/"], "async-invoke": ["aws:ResourceTag/"], "automated-reasoning-policy": ["aws:ResourceTag/"], "automated-reasoning-policy-version": ["aws:ResourceTag/"], "blueprint": ["aws:ResourceTag/"], "blueprint-optimization-invocation": ["aws:ResourceTag/"], "custom-model": ["aws:ResourceTag/"], "custom-model-deployment": ["aws:ResourceTag/"], "data-automation-invocation-job": ["aws:ResourceTag/"], "data-automation-library": ["aws:ResourceTag/"], "data-automation-library-ingestion-job": ["aws:ResourceTag/"], "data-automation-project": ["aws:ResourceTag/"], "evaluation-job": ["aws:ResourceTag/"], "flow": ["aws:ResourceTag/"], "flow-alias": ["aws:ResourceTag/"], "guardrail": ["aws:ResourceTag/"], "imported-model": ["aws:ResourceTag/"], "knowledge-base": ["aws:ResourceTag/"], "model-copy-job": ["aws:ResourceTag/"], "model-customization-job": ["aws:ResourceTag/"], "model-evaluation-job": ["aws:ResourceTag/"], "model-import-job": ["aws:ResourceTag/"], "model-invocation-job": ["aws:ResourceTag/"], "project": ["aws:ResourceTag/"], "prompt": ["aws:ResourceTag/"], "prompt-router": ["aws:ResourceTag/"], "prompt-version": ["aws:ResourceTag/"], "provisioned-model": ["aws:ResourceTag/"], "retrieval-instruction": ["aws:ResourceTag/"], "session": ["aws:ResourceTag/"]}, "budgets": {"budget": ["aws:ResourceTag/Line truncated
"resourceKeys": {"ec2": {"capacity-reservation": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:AvailabilityZoneId": {"member": "AvailabilityZoneId"}, "ec2:CapacityReservationFleet": {"member": "CapacityReservationFleetId", "arn": "capacity-reservation-fleet"}, "ec2:EbsOptimized": {"member": "EbsOptimized"}, "ec2:EndDateType": {"member": "EndDateType"}, "ec2:EphemeralStorage": {"member": "EphemeralStorage"}, "ec2:InstanceMatchCriteria": {"member": "InstanceMatchCriteria"}, "ec2:InstanceType": {"member": "InstanceType"}, "ec2:Tenancy": {"member": "Tenancy"}}, "carrier-gateway": {"ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "dhcp-options": {"ec2:DhcpOptionsID": {"member": "DhcpOptionsId"}}, "fpga-image": {"ec2:Owner": {"member": "OwnerId"}, "ec2:Public": {"member": "Public"}}, "image": {"ec2:ImageID": {"member": "ImageId"}, "ec2:ImageType": {"member": "ImageType"}, "ec2:Owner": {"member": "OwnerId"}, "ec2:Public": {"member": "Public"}, "ec2:RootDeviceType": {"member": "RootDeviceType"}}, "instance": {"ec2:EbsOptimized": {"member": "EbsOptimized"}, "ec2:InstanceID": {"member": "InstanceId"}, "ec2:InstanceType": {"member": "InstanceType"}, "ec2:RootDeviceType": {"member": "RootDeviceType"}}, "internet-gateway": {"ec2:InternetGatewayID": {"member": "InternetGatewayId"}}, "launch-template": {"ec2:LaunchTemplate": {"member": "LaunchTemplateId", "arn": "launch-template"}}, "network-acl": {"ec2:NetworkAclID": {"member": "NetworkAclId"}, "ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "network-interface": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:NetworkInterfaceID": {"member": "NetworkInterfaceId"}, "ec2:Subnet": {"member": "SubnetId", "arn": "subnet"}, "ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "reserved-instances": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:InstanceType": {"member": "InstanceType"}}, "route-table": {"ec2:RouteTableID": {"member": "RouteTableId"}, "ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "secondary-interface": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:AvailabilityZoneId": {"member": "AvailabilityZoneId"}}, "security-group": {"ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "snapshot": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:Encrypted": {"member": "Encrypted"}, "ec2:Owner": {"member": "OwnerId"}, "ec2:SnapshotID": {"member": "SnapshotId"}, "ec2:VolumeSize": {"member": "VolumeSize"}}, "subnet": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:AvailabilityZoneId": {"member": "AvailabilityZoneId"}, "ec2:SubnetID": {"member": "SubnetId"}, "ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "transit-gateway": {"ec2:transitGatewayId": {"member": "TransitGatewayId"}}, "transit-gateway-attachment": {"ec2:transitGatewayAttachmentId": {"member": "TransitGatewayAttachmentId"}}, "transit-gateway-connect-peer": {"ec2:transitGatewayConnectPeerId": {"member": "TransitGatewayConnectPeerId"}}, "transit-gateway-metering-policy": {"ec2:transitGatewayMeteringPolicyId": {"member": "TransitGatewayMeteringPolicyId"}}, "transit-gateway-multicast-domain": {"ec2:transitGatewayMulticastDomainId": {"member": "TransitGatewayMulticastDomainId"}}, "transit-gateway-policy-table": {"ec2:transitGatewayPolicyTableId": {"member": "TransitGatewayPolicyTableId"}}, "transit-gateway-route-table": {"ec2:transitGatewayRouteTableId": {"member": "TransitGatewayRouteTableId"}}, "transit-gateway-route-table-announcement": {"ec2:transitGatewayRouteTableAnnouncementId": {"member": "TransitGatewayRouteTableAnnouncementId"}}, "volume": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:AvailabilityZoneId": {"member": "AvailabilityZoneId"}, "ec2:Encrypted": {"member": "Encrypted"}, "ec2:KmsKeyId": {"member": "KmsKeyId"}, "ec2:VolumeID": {"member": "VolumeId"}, "ec2:VolumeInitializationRate": {"member": "VolumeInitializationRate"}, "ec2:VolumeType": {"member": "VolumeType"}}, "vpc": {"ec2:VpcID": {"member": "VpcId"}}, "vpc-peering-connection": {"ec2:VpcPeeringConnectionID": {"member": "VpcPeeringConnectionId"}}}},
"unqualified": {"ssm": ["parameter"], "states": ["statemachine"]},
"mintedIds": {"events": ["api-destination", "connection"]},
@@ -1571,6 +1571,91 @@
"cognito-idp:UpdateUserPoolReplica": {"action": "cognito-idp:UpdateUserPoolReplica", "types": ["userpool"], "resources": [{"type": "userpool", "fill": {"UserPoolId": "UserPoolId"}}]},
"cognito-idp:VerifySoftwareToken": {"action": "cognito-idp:VerifySoftwareToken", "types": [], "resources": []},
"cognito-idp:VerifyUserAttribute": {"action": "cognito-idp:VerifyUserAttribute", "types": [], "resources": []},
"comprehend:BatchDetectDominantLanguage": {"action": "comprehend:BatchDetectDominantLanguage", "types": [], "resources": []},
"comprehend:BatchDetectEntities": {"action": "comprehend:BatchDetectEntities", "types": [], "resources": []},
"comprehend:BatchDetectKeyPhrases": {"action": "comprehend:BatchDetectKeyPhrases", "types": [], "resources": []},
"comprehend:BatchDetectSentiment": {"action": "comprehend:BatchDetectSentiment", "types": [], "resources": []},
"comprehend:BatchDetectSyntax": {"action": "comprehend:BatchDetectSyntax", "types": [], "resources": []},
"comprehend:BatchDetectTargetedSentiment": {"action": "comprehend:BatchDetectTargetedSentiment", "types": [], "resources": []},
"comprehend:ClassifyDocument": {"action": "comprehend:ClassifyDocument", "types": ["document-classifier-endpoint"], "resources": [{"types": ["document-classifier-endpoint"], "arn": "EndpointArn"}]},
"comprehend:ContainsPiiEntities": {"action": "comprehend:ContainsPiiEntities", "types": [], "resources": []},
"comprehend:CreateDataset": {"action": "comprehend:CreateDataset", "types": ["flywheel"], "resources": [{"types": ["flywheel"], "arn": "FlywheelArn"}], "creates": [{"type": "flywheel-dataset", "parent": "flywheel", "arn": "FlywheelArn"}]},
"comprehend:CreateDocumentClassifier": {"action": "comprehend:CreateDocumentClassifier", "types": ["document-classifier"], "resources": [{"types": ["document-classifier"], "arn": "DataAccessRoleArn"}, {"type": "document-classifier", "fill": {"DocumentClassifierName": "DocumentClassifierName"}}]},
"comprehend:CreateEndpoint": {"action": "comprehend:CreateEndpoint", "types": ["document-classifier", "document-classifier-endpoint", "entity-recognizer", "entity-recognizer-endpoint", "flywheel"], "resources": [{"types": ["document-classifier", "document-classifier-endpoint", "entity-recognizer", "entity-recognizer-endpoint", "flywheel"], "arn": "DataAccessRoleArn"}, {"types": ["document-classifier", "document-classifier-endpoint", "entity-recognizer", "entity-recognizer-endpoint", "flywheel"], "arn": "FlywheelArn"}, {"types": ["document-classifier", "document-classifier-endpoint", "entity-recognizer", "entity-recognizer-endpoint", "flywheel"], "arn": "ModelArn"}, {"type": "flywheel", "fill": {}, "when": {"FlywheelArn": [null]}, "default": true}]},
"comprehend:CreateEntityRecognizer": {"action": "comprehend:CreateEntityRecognizer", "types": ["entity-recognizer"], "resources": [{"types": ["entity-recognizer"], "arn": "DataAccessRoleArn"}, {"type": "entity-recognizer", "fill": {"EntityRecognizerName": "RecognizerName"}}]},
"comprehend:CreateFlywheel": {"action": "comprehend:CreateFlywheel", "types": ["document-classifier", "entity-recognizer", "flywheel"], "resources": [{"types": ["document-classifier", "entity-recognizer", "flywheel"], "arn": "ActiveModelArn"}, {"types": ["document-classifier", "entity-recognizer", "flywheel"], "arn": "DataAccessRoleArn"}, {"type": "flywheel", "fill": {"FlywheelName": "FlywheelName"}, "made": true}]},
"comprehend:DeleteDocumentClassifier": {"action": "comprehend:DeleteDocumentClassifier", "types": ["document-classifier"], "resources": [{"types": ["document-classifier"], "arn": "DocumentClassifierArn"}]},
"comprehend:DeleteEndpoint": {"action": "comprehend:DeleteEndpoint", "types": ["document-classifier-endpoint", "entity-recognizer-endpoint"], "resources": [{"types": ["document-classifier-endpoint", "entity-recognizer-endpoint"], "arn": "EndpointArn"}]},
"comprehend:DeleteEntityRecognizer": {"action": "comprehend:DeleteEntityRecognizer", "types": ["entity-recognizer"], "resources": [{"types": ["entity-recognizer"], "arn": "EntityRecognizerArn"}]},
"comprehend:DeleteFlywheel": {"action": "comprehend:DeleteFlywheel", "types": ["flywheel"], "resources": [{"types": ["flywheel"], "arn": "FlywheelArn"}]},
"comprehend:DeleteResourcePolicy": {"action": "comprehend:DeleteResourcePolicy", "types": ["document-classifier", "entity-recognizer"], "resources": [{"types": ["document-classifier", "entity-recognizer"], "arn": "ResourceArn"}]},
"comprehend:DescribeDataset": {"action": "comprehend:DescribeDataset", "types": ["flywheel-dataset"], "resources": [{"types": ["flywheel-dataset"], "arn": "DatasetArn"}]},
"comprehend:DescribeDocumentClassificationJob": {"action": "comprehend:DescribeDocumentClassificationJob", "types": ["document-classification-job"], "resources": [{"type": "document-classification-job", "fill": {"JobId": "JobId"}}]},
"comprehend:DescribeDocumentClassifier": {"action": "comprehend:DescribeDocumentClassifier", "types": ["document-classifier"], "resources": [{"types": ["document-classifier"], "arn": "DocumentClassifierArn"}]},
"comprehend:DescribeDominantLanguageDetectionJob": {"action": "comprehend:DescribeDominantLanguageDetectionJob", "types": ["dominant-language-detection-job"], "resources": [{"type": "dominant-language-detection-job", "fill": {"JobId": "JobId"}}]},
"comprehend:DescribeEndpoint": {"action": "comprehend:DescribeEndpoint", "types": ["document-classifier-endpoint", "entity-recognizer-endpoint"], "resources": [{"types": ["document-classifier-endpoint", "entity-recognizer-endpoint"], "arn": "EndpointArn"}]},
"comprehend:DescribeEntitiesDetectionJob": {"action": "comprehend:DescribeEntitiesDetectionJob", "types": ["entities-detection-job"], "resources": [{"type": "entities-detection-job", "fill": {"JobId": "JobId"}}]},
"comprehend:DescribeEntityRecognizer": {"action": "comprehend:DescribeEntityRecognizer", "types": ["entity-recognizer"], "resources": [{"types": ["entity-recognizer"], "arn": "EntityRecognizerArn"}]},
"comprehend:DescribeEventsDetectionJob": {"action": "comprehend:DescribeEventsDetectionJob", "types": ["events-detection-job"], "resources": [{"type": "events-detection-job", "fill": {"JobId": "JobId"}}]},
"comprehend:DescribeFlywheel": {"action": "comprehend:DescribeFlywheel", "types": ["flywheel"], "resources": [{"types": ["flywheel"], "arn": "FlywheelArn"}]},
"comprehend:DescribeFlywheelIteration": {"action": "comprehend:DescribeFlywheelIteration", "types": ["flywheel"], "resources": [{"types": ["flywheel"], "arn": "FlywheelArn"}, {"types": ["flywheel"], "through": "FlywheelIterationId"}]},
"comprehend:DescribeKeyPhrasesDetectionJob": {"action": "comprehend:DescribeKeyPhrasesDetectionJob", "types": ["key-phrases-detection-job"], "resources": [{"type": "key-phrases-detection-job", "fill": {"JobId": "JobId"}}]},
"comprehend:DescribePiiEntitiesDetectionJob": {"action": "comprehend:DescribePiiEntitiesDetectionJob", "types": ["pii-entities-detection-job"], "resources": [{"type": "pii-entities-detection-job", "fill": {"JobId": "JobId"}}]},
"comprehend:DescribeResourcePolicy": {"action": "comprehend:DescribeResourcePolicy", "types": ["document-classifier", "entity-recognizer"], "resources": [{"types": ["document-classifier", "entity-recognizer"], "arn": "ResourceArn"}]},
"comprehend:DescribeSentimentDetectionJob": {"action": "comprehend:DescribeSentimentDetectionJob", "types": ["sentiment-detection-job"], "resources": [{"type": "sentiment-detection-job", "fill": {"JobId": "JobId"}}]},
"comprehend:DescribeTargetedSentimentDetectionJob": {"action": "comprehend:DescribeTargetedSentimentDetectionJob", "types": ["targeted-sentiment-detection-job"], "resources": [{"type": "targeted-sentiment-detection-job", "fill": {"JobId": "JobId"}}]},
"comprehend:DescribeTopicsDetectionJob": {"action": "comprehend:DescribeTopicsDetectionJob", "types": ["topics-detection-job"], "resources": [{"type": "topics-detection-job", "fill": {"JobId": "JobId"}}]},
"comprehend:DetectDominantLanguage": {"action": "comprehend:DetectDominantLanguage", "types": [], "resources": []},
"comprehend:DetectEntities": {"action": "comprehend:DetectEntities", "types": ["entity-recognizer-endpoint"], "resources": [{"types": ["entity-recognizer-endpoint"], "arn": "EndpointArn"}, {"type": "entity-recognizer-endpoint", "fill": {}, "when": {"EndpointArn": [null]}, "default": true}]},
"comprehend:DetectKeyPhrases": {"action": "comprehend:DetectKeyPhrases", "types": [], "resources": []},
"comprehend:DetectPiiEntities": {"action": "comprehend:DetectPiiEntities", "types": [], "resources": []},
"comprehend:DetectSentiment": {"action": "comprehend:DetectSentiment", "types": [], "resources": []},
"comprehend:DetectSyntax": {"action": "comprehend:DetectSyntax", "types": [], "resources": []},
"comprehend:DetectTargetedSentiment": {"action": "comprehend:DetectTargetedSentiment", "types": [], "resources": []},
"comprehend:DetectToxicContent": {"action": "comprehend:DetectToxicContent", "types": [], "resources": []},
"comprehend:ImportModel": {"action": "comprehend:ImportModel", "types": ["document-classifier", "entity-recognizer"], "resources": [{"types": ["document-classifier", "entity-recognizer"], "arn": "DataAccessRoleArn"}, {"types": ["document-classifier", "entity-recognizer"], "arn": "SourceModelArn"}]},
"comprehend:ListDatasets": {"action": "comprehend:ListDatasets", "types": ["flywheel"], "resources": [{"types": ["flywheel"], "arn": "FlywheelArn"}, {"type": "flywheel", "fill": {}, "when": {"FlywheelArn": [null]}, "default": true}]},
"comprehend:ListDocumentClassificationJobs": {"action": "comprehend:ListDocumentClassificationJobs", "types": [], "resources": []},
"comprehend:ListDocumentClassifierSummaries": {"action": "comprehend:ListDocumentClassifierSummaries", "types": [], "resources": []},
"comprehend:ListDocumentClassifiers": {"action": "comprehend:ListDocumentClassifiers", "types": [], "resources": []},
"comprehend:ListDominantLanguageDetectionJobs": {"action": "comprehend:ListDominantLanguageDetectionJobs", "types": [], "resources": []},
"comprehend:ListEndpoints": {"action": "comprehend:ListEndpoints", "types": [], "resources": []},
"comprehend:ListEntitiesDetectionJobs": {"action": "comprehend:ListEntitiesDetectionJobs", "types": [], "resources": []},
"comprehend:ListEntityRecognizerSummaries": {"action": "comprehend:ListEntityRecognizerSummaries", "types": [], "resources": []},
"comprehend:ListEntityRecognizers": {"action": "comprehend:ListEntityRecognizers", "types": [], "resources": []},
"comprehend:ListEventsDetectionJobs": {"action": "comprehend:ListEventsDetectionJobs", "types": [], "resources": []},
"comprehend:ListFlywheelIterationHistory": {"action": "comprehend:ListFlywheelIterationHistory", "types": ["flywheel"], "resources": [{"types": ["flywheel"], "arn": "FlywheelArn"}]},
"comprehend:ListFlywheels": {"action": "comprehend:ListFlywheels", "types": [], "resources": []},
"comprehend:ListKeyPhrasesDetectionJobs": {"action": "comprehend:ListKeyPhrasesDetectionJobs", "types": [], "resources": []},
"comprehend:ListPiiEntitiesDetectionJobs": {"action": "comprehend:ListPiiEntitiesDetectionJobs", "types": [], "resources": []},
"comprehend:ListSentimentDetectionJobs": {"action": "comprehend:ListSentimentDetectionJobs", "types": [], "resources": []},
"comprehend:ListTagsForResource": {"action": "comprehend:ListTagsForResource", "types": ["document-classification-job", "document-classifier", "document-classifier-endpoint", "dominant-language-detection-job", "entities-detection-job", "entity-recognizer", "entity-recognizer-endpoint", "events-detection-job", "flywheel", "flywheel-dataset", "key-phrases-detection-job", "pii-entities-detection-job", "sentiment-detection-job", "targeted-sentiment-detection-job", "topics-detection-job"], "resources": [{"types": ["document-classification-job", "document-classifier", "document-classifier-endpoint", "dominant-language-detection-job", "entities-detection-job", "entity-recognizer", "entity-recognizer-endpoint", "events-detection-job", "flywheel", "flywheel-dataset", "key-phrases-detection-job", "pii-entities-detection-job", "sentiment-detection-job", "targeted-sentiment-detection-job", "topics-detection-job"], "arn": "ResourceArn"}]},
"comprehend:ListTargetedSentimentDetectionJobs": {"action": "comprehend:ListTargetedSentimentDetectionJobs", "types": [], "resources": []},
"comprehend:ListTopicsDetectionJobs": {"action": "comprehend:ListTopicsDetectionJobs", "types": [], "resources": []},
"comprehend:PutResourcePolicy": {"action": "comprehend:PutResourcePolicy", "types": ["document-classifier", "entity-recognizer"], "resources": [{"types": ["document-classifier", "entity-recognizer"], "arn": "ResourceArn"}]},
"comprehend:StartDocumentClassificationJob": {"action": "comprehend:StartDocumentClassificationJob", "types": ["document-classification-job", "document-classifier", "flywheel"], "resources": [{"types": ["document-classification-job", "document-classifier", "flywheel"], "arn": "DataAccessRoleArn"}, {"types": ["document-classification-job", "document-classifier", "flywheel"], "arn": "DocumentClassifierArn"}, {"types": ["document-classification-job", "document-classifier", "flywheel"], "arn": "FlywheelArn"}, {"type": "document-classification-job", "fill": {}, "made": true}, {"type": "document-classifier", "fill": {}, "when": {"DocumentClassifierArn": [null]}, "default": true}, {"type": "flywheel", "fill": {}, "when": {"FlywheelArn": [null]}, "default": true}]},
"comprehend:StartDominantLanguageDetectionJob": {"action": "comprehend:StartDominantLanguageDetectionJob", "types": ["dominant-language-detection-job"], "resources": [{"types": ["dominant-language-detection-job"], "arn": "DataAccessRoleArn"}, {"type": "dominant-language-detection-job", "fill": {}}]},
"comprehend:StartEntitiesDetectionJob": {"action": "comprehend:StartEntitiesDetectionJob", "types": ["entities-detection-job", "entity-recognizer", "flywheel"], "resources": [{"types": ["entities-detection-job", "entity-recognizer", "flywheel"], "arn": "DataAccessRoleArn"}, {"types": ["entities-detection-job", "entity-recognizer", "flywheel"], "arn": "EntityRecognizerArn"}, {"types": ["entities-detection-job", "entity-recognizer", "flywheel"], "arn": "FlywheelArn"}, {"type": "entities-detection-job", "fill": {}, "made": true}, {"type": "entity-recognizer", "fill": {}, "when": {"EntityRecognizerArn": [null]}, "default": true}, {"type": "flywheel", "fill": {}, "when": {"FlywheelArn": [null]}, "default": true}]},
"comprehend:StartEventsDetectionJob": {"action": "comprehend:StartEventsDetectionJob", "types": ["events-detection-job"], "resources": [{"types": ["events-detection-job"], "arn": "DataAccessRoleArn"}, {"type": "events-detection-job", "fill": {}, "find": ["JobName"]}]},
"comprehend:StartFlywheelIteration": {"action": "comprehend:StartFlywheelIteration", "types": ["flywheel"], "resources": [{"types": ["flywheel"], "arn": "FlywheelArn"}]},
"comprehend:StartKeyPhrasesDetectionJob": {"action": "comprehend:StartKeyPhrasesDetectionJob", "types": ["key-phrases-detection-job"], "resources": [{"types": ["key-phrases-detection-job"], "arn": "DataAccessRoleArn"}, {"type": "key-phrases-detection-job", "fill": {}}]},
"comprehend:StartPiiEntitiesDetectionJob": {"action": "comprehend:StartPiiEntitiesDetectionJob", "types": ["pii-entities-detection-job"], "resources": [{"types": ["pii-entities-detection-job"], "arn": "DataAccessRoleArn"}, {"type": "pii-entities-detection-job", "fill": {}}]},
"comprehend:StartSentimentDetectionJob": {"action": "comprehend:StartSentimentDetectionJob", "types": ["sentiment-detection-job"], "resources": [{"types": ["sentiment-detection-job"], "arn": "DataAccessRoleArn"}, {"type": "sentiment-detection-job", "fill": {}}]},
"comprehend:StartTargetedSentimentDetectionJob": {"action": "comprehend:StartTargetedSentimentDetectionJob", "types": ["targeted-sentiment-detection-job"], "resources": [{"types": ["targeted-sentiment-detection-job"], "arn": "DataAccessRoleArn"}, {"type": "targeted-sentiment-detection-job", "fill": {}}]},
"comprehend:StartTopicsDetectionJob": {"action": "comprehend:StartTopicsDetectionJob", "types": ["topics-detection-job"], "resources": [{"types": ["topics-detection-job"], "arn": "DataAccessRoleArn"}, {"type": "topics-detection-job", "fill": {}}]},
"comprehend:StopDominantLanguageDetectionJob": {"action": "comprehend:StopDominantLanguageDetectionJob", "types": ["dominant-language-detection-job"], "resources": [{"type": "dominant-language-detection-job", "fill": {"JobId": "JobId"}}]},
"comprehend:StopEntitiesDetectionJob": {"action": "comprehend:StopEntitiesDetectionJob", "types": ["entities-detection-job"], "resources": [{"type": "entities-detection-job", "fill": {"JobId": "JobId"}}]},
"comprehend:StopEventsDetectionJob": {"action": "comprehend:StopEventsDetectionJob", "types": ["events-detection-job"], "resources": [{"type": "events-detection-job", "fill": {"JobId": "JobId"}}]},
"comprehend:StopKeyPhrasesDetectionJob": {"action": "comprehend:StopKeyPhrasesDetectionJob", "types": ["key-phrases-detection-job"], "resources": [{"type": "key-phrases-detection-job", "fill": {"JobId": "JobId"}}]},
"comprehend:StopPiiEntitiesDetectionJob": {"action": "comprehend:StopPiiEntitiesDetectionJob", "types": ["pii-entities-detection-job"], "resources": [{"type": "pii-entities-detection-job", "fill": {"JobId": "JobId"}}]},
"comprehend:StopSentimentDetectionJob": {"action": "comprehend:StopSentimentDetectionJob", "types": ["sentiment-detection-job"], "resources": [{"type": "sentiment-detection-job", "fill": {"JobId": "JobId"}}]},
"comprehend:StopTargetedSentimentDetectionJob": {"action": "comprehend:StopTargetedSentimentDetectionJob", "types": ["targeted-sentiment-detection-job"], "resources": [{"type": "targeted-sentiment-detection-job", "fill": {"JobId": "JobId"}}]},
"comprehend:StopTrainingDocumentClassifier": {"action": "comprehend:StopTrainingDocumentClassifier", "types": ["document-classifier"], "resources": [{"types": ["document-classifier"], "arn": "DocumentClassifierArn"}]},
"comprehend:StopTrainingEntityRecognizer": {"action": "comprehend:StopTrainingEntityRecognizer", "types": ["entity-recognizer"], "resources": [{"types": ["entity-recognizer"], "arn": "EntityRecognizerArn"}]},
"comprehend:TagResource": {"action": "comprehend:TagResource", "types": ["document-classification-job", "document-classifier", "document-classifier-endpoint", "dominant-language-detection-job", "entities-detection-job", "entity-recognizer", "entity-recognizer-endpoint", "events-detection-job", "flywheel", "flywheel-dataset", "key-phrases-detection-job", "pii-entities-detection-job", "sentiment-detection-job", "targeted-sentiment-detection-job", "topics-detection-job"], "resources": [{"types": ["document-classification-job", "document-classifier", "document-classifier-endpoint", "dominant-language-detection-job", "entities-detection-job", "entity-recognizer", "entity-recognizer-endpoint", "events-detection-job", "flywheel", "flywheel-dataset", "key-phrases-detection-job", "pii-entities-detection-job", "sentiment-detection-job", "targeted-sentiment-detection-job", "topics-detection-job"], "arn": "ResourceArn"}]},
"comprehend:UntagResource": {"action": "comprehend:UntagResource", "types": ["document-classification-job", "document-classifier", "document-classifier-endpoint", "dominant-language-detection-job", "entities-detection-job", "entity-recognizer", "entity-recognizer-endpoint", "events-detection-job", "flywheel", "flywheel-dataset", "key-phrases-detection-job", "pii-entities-detection-job", "sentiment-detection-job", "targeted-sentiment-detection-job", "topics-detection-job"], "resources": [{"types": ["document-classification-job", "document-classifier", "document-classifier-endpoint", "dominant-language-detection-job", "entities-detection-job", "entity-recognizer", "entity-recognizer-endpoint", "events-detection-job", "flywheel", "flywheel-dataset", "key-phrases-detection-job", "pii-entities-detection-job", "sentiment-detection-job", "targeted-sentiment-detection-job", "topics-detection-job"], "arn": "ResourceArn"}]},
"comprehend:UpdateEndpoint": {"action": "comprehend:UpdateEndpoint", "types": ["document-classifier-endpoint", "entity-recognizer-endpoint", "flywheel"], "resources": [{"types": ["document-classifier-endpoint", "entity-recognizer-endpoint", "flywheel"], "arn": "DesiredDataAccessRoleArn"}, {"types": ["document-classifier-endpoint", "entity-recognizer-endpoint", "flywheel"], "arn": "DesiredModelArn"}, {"types": ["document-classifier-endpoint", "entity-recognizer-endpoint", "flywheel"], "arn": "EndpointArn"}, {"types": ["document-classifier-endpoint", "entity-recognizer-endpoint", "flywheel"], "arn": "FlywheelArn"}, {"type": "flywheel", "fill": {}, "when": {"FlywheelArn": [null]}, "default": true}]},
"comprehend:UpdateFlywheel": {"action": "comprehend:UpdateFlywheel", "types": ["document-classifier", "entity-recognizer", "flywheel"], "resources": [{"types": ["document-classifier", "entity-recognizer", "flywheel"], "arn": "ActiveModelArn"}, {"types": ["document-classifier", "entity-recognizer", "flywheel"], "arn": "DataAccessRoleArn"}, {"types": ["document-classifier", "entity-recognizer", "flywheel"], "arn": "FlywheelArn"}]},
"controlcatalog:GetControl": {"action": "controlcatalog:GetControl", "types": ["control"], "resources": [{"types": ["control"], "arn": "ControlArn"}]},
"controlcatalog:ListCommonControls": {"action": "controlcatalog:ListCommonControls", "types": [], "resources": []},
"controlcatalog:ListControlMappings": {"action": "controlcatalog:ListControlMappings", "types": [], "resources": []},
+1 -1
View File
@@ -353,6 +353,7 @@ NAMESPACES = ("access-analyzer", "account", "acm", "application-autoscaling", "a
"servicequotas", "ssm", "sso", "states", "textract", "timestream-influxdb", "translate", "signer", "xray",
"securityhub", "guardduty", "secretsmanager", "scheduler", "lambda", "cloudformation", "glue",
"sqs", "sns", "kinesis", "pipes", "dsql", "sts", "eks", "resource-groups", "logs", "cloudwatch",
"comprehend",
"ec2-instance-connect", "s3", "bedrock", "apigateway", "kms", "dynamodb", "iam")
# ---------------------------------------------------------------------------------------------------------------------
@@ -595,7 +596,6 @@ NOT_COVERED: dict[str, str] = {
"arn:aws:codedeploy:region:account-id:instance/instance-ID and AWS's GetOnPremisesInstance example "
"answers instance/<name>_<id>, an id the service mints after the name; reading it needs that format "
"corrected",
"comprehend": _LATER,
"config": _LATER,
"connect": _REST,
"detective": _REST,
@@ -1235,6 +1235,12 @@ def test_the_vendored_file_is_well_formed():
{"type": "dashboard", "fill": {"DashboardName": "DashboardNames[]"}}]
assert document["arnFormats"]["cloudwatch"]["dashboard"] == (
"arn:${Partition}:cloudwatch::${Account}:dashboard/${DashboardName}")
# Comprehend is read whole; its detection actions act on no resource type, and a classifier's are read by ARN.
assert "comprehend" in document["namespaces"] and "comprehend" not in document["notCovered"]
assert operations["comprehend:DetectSentiment"] == {
"action": "comprehend:DetectSentiment", "types": [], "resources": []}
assert operations["comprehend:DescribeDocumentClassifier"]["resources"] == [
{"types": ["document-classifier"], "arn": "DocumentClassifierArn"}]
# A scalable target is found by the three members naming it, its ARN ending in the id the service mints.
assert operations["application-autoscaling:DeregisterScalableTarget"]["resources"] == [
{"type": "ScalableTarget", "fill": {}, "find": ["ServiceNamespace", "ResourceId", "ScalableDimension"]}]