feat(iam): check Amazon EFS by its REST routes (#9483)

Under enforcement a REST route no rule maps and no vendored model names
runs unchecked. Amazon EFS was among those: Floci serves it and no rule
mapped it.

Vendors the efs model's routes, so each request is checked as its
operation's action: a caller holding no grant for one is now refused
where the request used to pass.

EFS joins the table of request resources: a file system by its id, an
access point by its, and a mount target's operations and the tag calls
by what EfsStoredResourceArns answers their MountTargetId or ResourceId
reaches, the file system or the access point EFS stores. All 31 of its
operations read every type the Service Authorization Reference marks
required, so every route is checked on the resources AWS checks. Its
two creates join the tag-on-create table, and
CreateReplicationConfiguration's Destinations[].RoleArn is checked for
iam:PassRole.

A tagged create of a type its action does not act on tags the resource
it makes where its request names every variable of it; a variable the
service mints, which the create's response answers and its request
carries none of, now counts as named there, staying open as it does in
every resource a create makes. So CreateAccessPoint, which acts on its
file system, has its tags checked on access-point/* rather than on the
file system, and so do five creates of other namespaces whose made
resource was named but for a minted id: CloudFormation's
CreateChangeSet, EMR's StartNotebookExecution, Textract's
CreateAdapterVersion and Transfer Family's CreateAgreement and
CreateConnector.
This commit is contained in:
Priamo Germosen authored and GitHub committed 2026-11-25 22:46:23 -04:00
1 parent 2f2fafd044
commit 6196543370
15 files changed
+319 -33

No files matched your search

+8 -3
View File
@@ -2580,7 +2580,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, Amazon CloudWatch, Amazon Comprehend, AWS Config, AWS DMS, Amazon ElastiCache, AWS Identity Store, Amazon MemoryDB, Amazon Route 53 Resolver, Amazon SageMaker, Amazon Transcribe and AWS Transfer Family 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, Amazon Comprehend, AWS Config, AWS DMS, Amazon ElastiCache, AWS Identity Store, Amazon MemoryDB, Amazon Route 53 Resolver, Amazon SageMaker, Amazon Transcribe, AWS Transfer Family and Amazon EFS 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
@@ -2885,7 +2885,9 @@ checked on the account's catalog, and a Glue member a caller adds to an Iceberg
Formation and Amazon Inspector is one AWS authorizes on no resource type, as is every one of Amazon Macie's but
`CreateMember`, so those are checked by their routes alone. `CreateMember`, on `POST /members`, is checked on the
account's members, `member/*`, as nothing botocore or the Service Reference says names the member it makes by its
`account.accountId`, and needs `macie2:TagResource` when it carries tags. API Gateway's
`account.accountId`, and needs `macie2:TagResource` when it carries tags. Amazon EFS's routes are checked on the
resources the table of request resources reads: a file system by its id, and a mount target's operations and the tag
calls on the file system or access point EFS answers their `MountTargetId` or `ResourceId` reaches. API Gateway's
routes are checked by their routes alone too, on the path Floci builds the ARN from, and the authorized
actions list the operations AWS checks as the action their HTTP method names (above). A route whose action AWS checks on a
resource Floci neither builds nor reads would not be checked, since checked on `*` a grant scoped to
@@ -3206,7 +3208,10 @@ Resource Explorer's `CreateView` on `view/<ViewName>/*`, OAM's `CreateSink` on `
`RequestCertificate` on `certificate/*`; a Cloud Map namespace's tags, whose `TagResource` acts on no
type, stay on `*`. So are the tags of a create whose action acts on other types alone, when its request
names every variable of the resource it makes, a field of a structure included: Glue's `CreateConnection` is
checked on its connection type and the catalog, and its tags on `connection/<ConnectionInput.Name>`. Where the
checked on its connection type and the catalog, and its tags on `connection/<ConnectionInput.Name>`. An id its
service mints, which no request names, stays open there: EFS's `CreateAccessPoint` is checked on its file system
and its tags on `access-point/*`, Transfer Family's `CreateAgreement` on its server and its tags on
`agreement/<ServerId>/*`. Where the
tagging action takes
its namespace's `CreateAction` key, as `ec2:CreateTags`, `ecs:TagResource`, CloudFormation's
`TagResource` and Elastic Load Balancing's `AddTags` do, the key is the operation's name:
@@ -45,6 +45,7 @@ import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap;
import java.util.function.Function;
@@ -214,6 +215,21 @@ public class EfsService implements Resettable {
return response;
}
/** The Region's stored file system of the id; empty for one EFS holds none of. */
public Optional<FileSystem> findFileSystem(String region, String fileSystemId) {
return fileSystemId == null ? Optional.empty() : fileSystemStore.get(regionKey(region, fileSystemId));
}
/** The Region's stored mount target of the id; empty for one EFS holds none of. */
public Optional<MountTarget> findMountTarget(String region, String mountTargetId) {
return mountTargetId == null ? Optional.empty() : mountTargetStore.get(regionKey(region, mountTargetId));
}
/** The Region's stored access point of the id; empty for one EFS holds none of. */
public Optional<AccessPointDescription> findAccessPoint(String region, String accessPointId) {
return accessPointId == null ? Optional.empty() : accessPointStore.get(regionKey(region, accessPointId));
}
public FileSystem getFileSystem(String region, String fileSystemId) {
FileSystem fs = fileSystemStore.get(regionKey(region, fileSystemId)).orElse(null);
if (fs == null) {
@@ -0,0 +1,57 @@
package io.floci.aws.services.efs;
import io.floci.aws.core.common.StoredResourceArns;
import io.floci.aws.services.efs.model.AccessPointDescription;
import io.floci.aws.services.efs.model.FileSystem;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.inject.Inject;
import java.util.List;
import java.util.Optional;
/**
* What IAM asks EFS of the resources a request names: the file system a mount target ({@code MountTargetId}) is in,
* and the file system or access point an id ({@code ResourceId}) names, which a request checks as theirs.
*/
@ApplicationScoped
public class EfsStoredResourceArns implements StoredResourceArns {
private final EfsService efs;
@Inject
public EfsStoredResourceArns(EfsService efs) {
this.efs = efs;
}
@Override
public String namespace() {
return "elasticfilesystem";
}
/** EFS mints the id that ends each of its ARNs, so there is no name to look up. */
@Override
public Optional<String> find(String type, List<String> names, String region) {
return Optional.empty();
}
/**
* {@inheritDoc}
*
* <p>The file system the caller's mount target of the id is in ({@code MountTargetId}), and the access point or file
* system of the id ({@code ResourceId}), as EFS stores them; none for an id EFS holds none of in the Region, which
* its handler refuses.
*/
@Override
public List<String> through(String member, String value, String region) {
Optional<String> arn = switch (member) {
case "MountTargetId" -> efs.findMountTarget(region, value)
.flatMap(target -> efs.findFileSystem(region, target.getFileSystemId()))
.map(FileSystem::getFileSystemArn);
case "ResourceId" -> efs.findAccessPoint(region, value)
.map(AccessPointDescription::getAccessPointArn)
.or(() -> efs.findFileSystem(region, value).map(FileSystem::getFileSystemArn));
default -> Optional.empty();
};
return arn.filter(stored -> !stored.isBlank()).stream().toList();
}
}
@@ -2,7 +2,7 @@
"_source": {
"generator": "tools/aws/regen_iam_authorized_actions.py",
"reference": "https://servicereference.us-east-1.amazonaws.com/",
"retrieved": "2026-11-25",
"retrieved": "2026-11-26",
"note": "make iam-authorized-actions-verify checks every entry against AWS."
},
"authorizedActions": {
@@ -593,6 +593,11 @@
"ListEksAnywhereSubscriptions",
"RegisterCluster"
],
"elasticfilesystem": [
"CreateFileSystem",
"DescribeAccountPreferences",
"PutAccountPreferences"
],
"emr-containers": [
"CreateCertificate",
"CreateJobTemplate",
+6 -3
View File
@@ -1,7 +1,7 @@
{
"_source": {"generator": "tools/aws/regen_iam_passed_roles.py", "reference": "https://servicereference.us-east-1.amazonaws.com/", "botocore": "botocore 1.44.9 (local/aws/botocore)", "retrieved": "2026-11-25", "note": "make iam-passed-roles-check re-derives every member from botocore; make iam-passed-roles-verify checks every operation against AWS."},
"namespaces": {"application-autoscaling": ["application-autoscaling"], "aps": ["amp"], "athena": ["athena"], "autoscaling": ["autoscaling"], "budgets": ["budgets"], "cloudformation": ["cloudcontrol", "cloudformation"], "cloudtrail": ["cloudtrail"], "cloudwatch": ["cloudwatch", "cloudwatchomni"], "codebuild": ["codebuild"], "codedeploy": ["codedeploy"], "codepipeline": ["codepipeline"], "cognito-identity": ["cognito-identity"], "cognito-idp": ["cognito-idp"], "comprehend": ["comprehend"], "config": ["config"], "datasync": ["datasync"], "dms": ["dms"], "dsql": ["dsql"], "ec2": ["ec2"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticloadbalancing": ["elb-proxy"], "elasticmapreduce": ["emr"], "emr-containers": ["emr-containers"], "emr-serverless": ["emr-serverless"], "events": ["eventbridgev2", "events"], "firehose": ["firehose"], "glue": ["glue"], "iam": ["iam"], "kinesis": ["kinesis"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "logs": ["logs"], "pipes": ["pipes"], "rds": ["docdb", "neptune", "rds"], "redshift": ["redshift"], "redshift-serverless": ["redshift-serverless"], "rekognition": ["rekognition"], "resource-groups": ["resource-groups"], "s3": ["s3", "s3control"], "s3tables": ["s3tables"], "sagemaker": ["sagemaker"], "scheduler": ["scheduler"], "secretsmanager": ["secretsmanager"], "servicecatalog": ["servicecatalog"], "ses": ["mailmanager", "pinpoint-email", "ses", "sesv2"], "sns": ["sns"], "ssm": ["ssm"], "states": ["stepfunctions"], "swf": ["swf"], "textract": ["textract"], "transcribe": ["transcribe"], "transfer": ["transfer"], "translate": ["translate"], "wafv2": ["wafv2"]},
"notCovered": {"access-analyzer": "REST routes no rule maps yet", "airflow": "REST routes no rule maps yet", "apigateway": "authorized by HTTP method, so no request is checked as one of these operations", "appconfig": "REST routes no rule maps yet", "appsync": "REST routes no rule maps yet", "aws-marketplace": "REST routes no rule maps yet", "backup": "REST routes no rule maps yet", "batch": "REST routes no rule maps yet", "bedrock": "REST routes no rule maps yet", "bedrock-agentcore": "REST routes no rule maps yet", "cloudfront": "REST routes no rule maps yet", "dlm": "REST routes no rule maps yet", "elasticfilesystem": "REST routes no rule maps yet", "es": "REST routes no rule maps yet", "fis": "REST routes no rule maps yet", "guardduty": "REST routes no rule maps yet", "iot": "REST routes no rule maps yet", "kafka": "REST routes no rule maps yet", "macie2": "REST routes no rule maps yet", "mq": "REST routes no rule maps yet", "quicksight": "metadata-only REST subset; role passing and iam:PassRole checks are not implemented", "rum": "REST routes no rule maps yet"},
"_source": {"generator": "tools/aws/regen_iam_passed_roles.py", "reference": "https://servicereference.us-east-1.amazonaws.com/", "botocore": "botocore 1.44.9 (local/aws/botocore)", "retrieved": "2026-11-26", "note": "make iam-passed-roles-check re-derives every member from botocore; make iam-passed-roles-verify checks every operation against AWS."},
"namespaces": {"application-autoscaling": ["application-autoscaling"], "aps": ["amp"], "athena": ["athena"], "autoscaling": ["autoscaling"], "budgets": ["budgets"], "cloudformation": ["cloudcontrol", "cloudformation"], "cloudtrail": ["cloudtrail"], "cloudwatch": ["cloudwatch", "cloudwatchomni"], "codebuild": ["codebuild"], "codedeploy": ["codedeploy"], "codepipeline": ["codepipeline"], "cognito-identity": ["cognito-identity"], "cognito-idp": ["cognito-idp"], "comprehend": ["comprehend"], "config": ["config"], "datasync": ["datasync"], "dms": ["dms"], "dsql": ["dsql"], "ec2": ["ec2"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticfilesystem": ["efs"], "elasticloadbalancing": ["elb-proxy"], "elasticmapreduce": ["emr"], "emr-containers": ["emr-containers"], "emr-serverless": ["emr-serverless"], "events": ["eventbridgev2", "events"], "firehose": ["firehose"], "glue": ["glue"], "iam": ["iam"], "kinesis": ["kinesis"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "logs": ["logs"], "pipes": ["pipes"], "rds": ["docdb", "neptune", "rds"], "redshift": ["redshift"], "redshift-serverless": ["redshift-serverless"], "rekognition": ["rekognition"], "resource-groups": ["resource-groups"], "s3": ["s3", "s3control"], "s3tables": ["s3tables"], "sagemaker": ["sagemaker"], "scheduler": ["scheduler"], "secretsmanager": ["secretsmanager"], "servicecatalog": ["servicecatalog"], "ses": ["mailmanager", "pinpoint-email", "ses", "sesv2"], "sns": ["sns"], "ssm": ["ssm"], "states": ["stepfunctions"], "swf": ["swf"], "textract": ["textract"], "transcribe": ["transcribe"], "transfer": ["transfer"], "translate": ["translate"], "wafv2": ["wafv2"]},
"notCovered": {"access-analyzer": "REST routes no rule maps yet", "airflow": "REST routes no rule maps yet", "apigateway": "authorized by HTTP method, so no request is checked as one of these operations", "appconfig": "REST routes no rule maps yet", "appsync": "REST routes no rule maps yet", "aws-marketplace": "REST routes no rule maps yet", "backup": "REST routes no rule maps yet", "batch": "REST routes no rule maps yet", "bedrock": "REST routes no rule maps yet", "bedrock-agentcore": "REST routes no rule maps yet", "cloudfront": "REST routes no rule maps yet", "dlm": "REST routes no rule maps yet", "es": "REST routes no rule maps yet", "fis": "REST routes no rule maps yet", "guardduty": "REST routes no rule maps yet", "iot": "REST routes no rule maps yet", "kafka": "REST routes no rule maps yet", "macie2": "REST routes no rule maps yet", "mq": "REST routes no rule maps yet", "quicksight": "metadata-only REST subset; role passing and iam:PassRole checks are not implemented", "rum": "REST routes no rule maps yet"},
"otherNamespaces": ["agent-registry", "aidevops", "aiops", "airflow-serverless", "amplify", "aoss", "appflow", "appmesh", "apprunner", "appstream", "arc-region-switch", "backup-gateway", "backup-search", "bcm-dashboards", "braket", "chatbot", "chime", "cleanrooms", "cleanrooms-ml", "codeconnections", "codestar-connections", "cognito-sync", "comprehendmedical", "continuum", "databrew", "dataexchange", "datapipeline", "datazone", "dax", "deadline", "devicefarm", "elemental-inference", "entityresolution", "fms", "forecast", "frauddetector", "gamelift", "gameliftstreams", "geo", "grafana", "greengrass", "groundstation", "health-agent", "healthlake", "imagebuilder", "iotdeviceadvisor", "iotfleetwise", "iotmanagedintegrations", "iotsitewise", "iottwinmaker", "iotwireless", "kafkaconnect", "kendra", "lex", "lookoutequipment", "m2", "machinelearning", "mediaconnect", "mediaconvert", "medialive", "mediapackage", "mediapackage-vod", "mediapackagev2", "mediastore", "medical-imaging", "mobiletargeting", "neptune-graph", "observabilityadmin", "odb", "omics", "opensearch", "osis", "partnercentral", "pcs", "personalize", "profile", "proton", "qbusiness", "repostspace", "resiliencehub", "rolesanywhere", "s3files", "sagemaker-geospatial", "securityagent", "securitylake", "shield", "sms-voice", "snowball", "social-messaging", "ssm-incidents", "ssm-quicksetup", "storagegateway", "supportapp", "synthetics", "timestream", "voiceid", "wellarchitected", "wisdom", "workmail", "workspaces"],
"operations": {
"application-autoscaling:RegisterScalableTarget": {"passedTo": ["application-autoscaling"], "byHand": "the scalable target's role"},
@@ -418,6 +418,9 @@
]},
"eks:UpdateClusterConfig": {"passedTo": ["ec2", "eks"], "notRead": "the reference passes the node role to ec2 or eks and nothing says which"},
"eks:UpdatePodIdentityAssociation": {"passedTo": ["pods.eks"], "byHand": "the association's role, not its target role"},
"elasticfilesystem:CreateReplicationConfiguration": {"passedTo": ["elasticfilesystem"], "roles": [
{"member": "Destinations[].RoleArn", "passedTo": "elasticfilesystem"}
]},
"elasticloadbalancing:CreateProxy": {"passedTo": ["elasticloadbalancing"], "notRead": "the pinned botocore does not have the operation yet, so its request cannot be read"},
"elasticmapreduce:CreateStudio": {"passedTo": [], "roles": [
{"member": "ServiceRole"},
@@ -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-25", "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"], "comprehend": ["comprehend"], "config": ["config"], "controlcatalog": ["controlcatalog"], "controltower": ["controltower"], "cur": ["cur"], "datasync": ["datasync"], "dms": ["dms"], "dsql": ["dsql"], "dynamodb": ["dynamodb", "dynamodbstreams"], "ec2": ["ec2"], "ec2-instance-connect": ["ec2-instance-connect"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticache": ["elasticache"], "elasticloadbalancing": ["elb", "elb-proxy", "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"], "identitystore": ["identitystore"], "inspector2": ["inspector2"], "kinesis": ["kinesis"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "kms": ["kms"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "logs": ["logs"], "macie2": ["macie2"], "memorydb": ["memorydb"], "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"], "route53resolver": ["route53resolver"], "s3": ["s3", "s3control"], "s3tables": ["s3tables"], "s3vectors": ["s3vectors"], "sagemaker": ["sagemaker", "sagemaker-a2i-runtime", "sagemaker-edge", "sagemaker-featurestore-runtime", "sagemaker-gateway-runtime", "sagemaker-inference-router-runtime", "sagemaker-metrics", "sagemaker-runtime", "sagemakerjobruntime", "sagemakertrainingsessionruntime"], "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"], "transcribe": ["transcribe"], "transfer": ["transfer"], "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", "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", "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", "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 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", "lightsail": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "mq": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_restLine 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"], "config": ["config"], "controlcatalog": ["controlcatalog"], "controltower": ["controltower"], "cur": ["cur"], "datasync": ["datasync"], "dms": ["dms"], "dsql": ["dsql"], "dynamodb": ["dynamodb", "dynamodbstreams"], "ec2": ["ec2"], "ec2-instance-connect": ["ec2-instance-connect"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticache": ["elasticache"], "elasticfilesystem": ["efs"], "elasticloadbalancing": ["elb", "elb-proxy", "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"], "identitystore": ["identitystore"], "inspector2": ["inspector2"], "kinesis": ["kinesis"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "kms": ["kms"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "logs": ["logs"], "macie2": ["macie2"], "memorydb": ["memorydb"], "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"], "route53resolver": ["route53resolver"], "s3": ["s3", "s3control"], "s3tables": ["s3tables"], "s3vectors": ["s3vectors"], "sagemaker": ["sagemaker", "sagemaker-a2i-runtime", "sagemaker-edge", "sagemaker-featurestore-runtime", "sagemaker-gateway-runtime", "sagemaker-inference-router-runtime", "sagemaker-metrics", "sagemaker-runtime", "sagemakerjobruntime", "sagemakertrainingsessionruntime"], "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"], "transcribe": ["transcribe"], "transfer": ["transfer"], "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", "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", "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", "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", "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 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", "lightsail": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "mq": "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", "network-firewall": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "organizations": "not read yet: a later batch, with the tesLine truncated
"otherNamespaces": ["a4b", "account-access", "acm-pca", "aco-automation", "agent-registry", "aidevops", "aiops", "airflow-serverless", "amplify", "amplifybackend", "amplifygen3", "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", "finops-agent", "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"]},
@@ -843,7 +843,7 @@
"cloudformation:CancelResourceRequest": {"action": "cloudformation:CancelResourceRequest", "types": [], "resources": []},
"cloudformation:CancelUpdateStack": {"action": "cloudformation:CancelUpdateStack", "types": ["stack"], "resources": [{"type": "stack", "fill": {"StackName": "StackName"}}]},
"cloudformation:ContinueUpdateRollback": {"action": "cloudformation:ContinueUpdateRollback", "types": ["stack"], "resources": [{"types": ["stack"], "arn": "RoleARN"}, {"type": "stack", "fill": {"StackName": "StackName"}}]},
"cloudformation:CreateChangeSet": {"action": "cloudformation:CreateChangeSet", "types": ["stack"], "resources": [{"types": ["stack"], "arn": "NotificationARNs[]"}, {"types": ["stack"], "arn": "RoleARN"}, {"type": "stack", "fill": {"StackName": "StackName"}}]},
"cloudformation:CreateChangeSet": {"action": "cloudformation:CreateChangeSet", "types": ["stack"], "resources": [{"types": ["stack"], "arn": "NotificationARNs[]"}, {"types": ["stack"], "arn": "RoleARN"}, {"type": "stack", "fill": {"StackName": "StackName"}}], "makes": [{"type": "changeset", "fill": {"ChangeSetName": "ChangeSetName"}}]},
"cloudformation:CreateGeneratedTemplate": {"action": "cloudformation:CreateGeneratedTemplate", "types": [], "resources": [], "makes": [{"type": "generatedtemplate", "fill": {}}]},
"cloudformation:CreateResource": {"action": "cloudformation:CreateResource", "types": [], "resources": []},
"cloudformation:CreateStack": {"action": "cloudformation:CreateStack", "types": ["stack"], "resources": [{"types": ["stack"], "arn": "NotificationARNs[]"}, {"types": ["stack"], "arn": "RoleARN"}, {"type": "stack", "fill": {"StackName": "StackName"}}]},
@@ -3182,6 +3182,37 @@
"elasticache:StopMigration": {"action": "elasticache:StopMigration", "types": [], "resources": []},
"elasticache:TestFailover": {"action": "elasticache:TestFailover", "types": ["replicationgroup"], "resources": [{"type": "replicationgroup", "fill": {"ReplicationGroupId": "ReplicationGroupId"}}]},
"elasticache:TestMigration": {"action": "elasticache:TestMigration", "types": ["replicationgroup"], "resources": [{"type": "replicationgroup", "fill": {"ReplicationGroupId": "ReplicationGroupId"}}]},
"elasticfilesystem:CreateAccessPoint": {"action": "elasticfilesystem:CreateAccessPoint", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}], "makes": [{"type": "access-point", "fill": {}}]},
"elasticfilesystem:CreateFileSystem": {"action": "elasticfilesystem:CreateFileSystem", "types": [], "resources": [], "makes": [{"type": "file-system", "fill": {}}]},
"elasticfilesystem:CreateMountTarget": {"action": "elasticfilesystem:CreateMountTarget", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}]},
"elasticfilesystem:CreateReplicationConfiguration": {"action": "elasticfilesystem:CreateReplicationConfiguration", "types": ["file-system"], "resources": [{"types": ["file-system"], "arn": "Destinations[].RoleArn"}, {"type": "file-system", "fill": {"FileSystemId": "SourceFileSystemId"}}], "located": {"SourceFileSystemId": "{SourceFileSystemId}"}},
"elasticfilesystem:CreateTags": {"action": "elasticfilesystem:CreateTags", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}], "located": {"FileSystemId": "{FileSystemId}"}},
"elasticfilesystem:DeleteAccessPoint": {"action": "elasticfilesystem:DeleteAccessPoint", "types": ["access-point"], "resources": [{"type": "access-point", "fill": {"AccessPointId": "AccessPointId"}}], "located": {"AccessPointId": "{AccessPointId}"}},
"elasticfilesystem:DeleteFileSystem": {"action": "elasticfilesystem:DeleteFileSystem", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}], "located": {"FileSystemId": "{FileSystemId}"}},
"elasticfilesystem:DeleteFileSystemPolicy": {"action": "elasticfilesystem:DeleteFileSystemPolicy", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}], "located": {"FileSystemId": "{FileSystemId}"}},
"elasticfilesystem:DeleteMountTarget": {"action": "elasticfilesystem:DeleteMountTarget", "types": ["file-system"], "resources": [{"types": ["file-system"], "through": "MountTargetId"}], "located": {"MountTargetId": "{MountTargetId}"}},
"elasticfilesystem:DeleteReplicationConfiguration": {"action": "elasticfilesystem:DeleteReplicationConfiguration", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "SourceFileSystemId"}}], "located": {"SourceFileSystemId": "{SourceFileSystemId}"}},
"elasticfilesystem:DeleteTags": {"action": "elasticfilesystem:DeleteTags", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}], "located": {"FileSystemId": "{FileSystemId}"}},
"elasticfilesystem:DescribeAccessPoints": {"action": "elasticfilesystem:DescribeAccessPoints", "types": ["access-point", "file-system"], "resources": [{"type": "access-point", "fill": {"AccessPointId": "AccessPointId"}}, {"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}], "located": {"AccessPointId": "?AccessPointId", "FileSystemId": "?FileSystemId"}},
"elasticfilesystem:DescribeAccountPreferences": {"action": "elasticfilesystem:DescribeAccountPreferences", "types": [], "resources": []},
"elasticfilesystem:DescribeBackupPolicy": {"action": "elasticfilesystem:DescribeBackupPolicy", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}], "located": {"FileSystemId": "{FileSystemId}"}},
"elasticfilesystem:DescribeFileSystemPolicy": {"action": "elasticfilesystem:DescribeFileSystemPolicy", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}], "located": {"FileSystemId": "{FileSystemId}"}},
"elasticfilesystem:DescribeFileSystems": {"action": "elasticfilesystem:DescribeFileSystems", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}], "located": {"FileSystemId": "?FileSystemId"}},
"elasticfilesystem:DescribeLifecycleConfiguration": {"action": "elasticfilesystem:DescribeLifecycleConfiguration", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}], "located": {"FileSystemId": "{FileSystemId}"}},
"elasticfilesystem:DescribeMountTargetSecurityGroups": {"action": "elasticfilesystem:DescribeMountTargetSecurityGroups", "types": ["file-system"], "resources": [{"types": ["file-system"], "through": "MountTargetId"}], "located": {"MountTargetId": "{MountTargetId}"}},
"elasticfilesystem:DescribeMountTargets": {"action": "elasticfilesystem:DescribeMountTargets", "types": ["access-point", "file-system"], "resources": [{"type": "access-point", "fill": {"AccessPointId": "AccessPointId"}}, {"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}, {"types": ["file-system"], "through": "MountTargetId"}], "located": {"AccessPointId": "?AccessPointId", "FileSystemId": "?FileSystemId", "MountTargetId": "?MountTargetId"}},
"elasticfilesystem:DescribeReplicationConfigurations": {"action": "elasticfilesystem:DescribeReplicationConfigurations", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}], "located": {"FileSystemId": "?FileSystemId"}},
"elasticfilesystem:DescribeTags": {"action": "elasticfilesystem:DescribeTags", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}], "located": {"FileSystemId": "{FileSystemId}"}},
"elasticfilesystem:ListTagsForResource": {"action": "elasticfilesystem:ListTagsForResource", "types": ["access-point", "file-system"], "resources": [{"types": ["access-point", "file-system"], "through": "ResourceId"}], "located": {"ResourceId": "{ResourceId}"}},
"elasticfilesystem:ModifyMountTargetSecurityGroups": {"action": "elasticfilesystem:ModifyMountTargetSecurityGroups", "types": ["file-system"], "resources": [{"types": ["file-system"], "through": "MountTargetId"}], "located": {"MountTargetId": "{MountTargetId}"}},
"elasticfilesystem:PutAccountPreferences": {"action": "elasticfilesystem:PutAccountPreferences", "types": [], "resources": []},
"elasticfilesystem:PutBackupPolicy": {"action": "elasticfilesystem:PutBackupPolicy", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}], "located": {"FileSystemId": "{FileSystemId}"}},
"elasticfilesystem:PutFileSystemPolicy": {"action": "elasticfilesystem:PutFileSystemPolicy", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}], "located": {"FileSystemId": "{FileSystemId}"}},
"elasticfilesystem:PutLifecycleConfiguration": {"action": "elasticfilesystem:PutLifecycleConfiguration", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}], "located": {"FileSystemId": "{FileSystemId}"}},
"elasticfilesystem:TagResource": {"action": "elasticfilesystem:TagResource", "types": ["access-point", "file-system"], "resources": [{"types": ["access-point", "file-system"], "through": "ResourceId"}], "located": {"ResourceId": "{ResourceId}"}},
"elasticfilesystem:UntagResource": {"action": "elasticfilesystem:UntagResource", "types": ["access-point", "file-system"], "resources": [{"types": ["access-point", "file-system"], "through": "ResourceId"}], "located": {"ResourceId": "{ResourceId}"}},
"elasticfilesystem:UpdateFileSystem": {"action": "elasticfilesystem:UpdateFileSystem", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}], "located": {"FileSystemId": "{FileSystemId}"}},
"elasticfilesystem:UpdateFileSystemProtection": {"action": "elasticfilesystem:UpdateFileSystemProtection", "types": ["file-system"], "resources": [{"type": "file-system", "fill": {"FileSystemId": "FileSystemId"}}], "located": {"FileSystemId": "{FileSystemId}"}},
"elasticloadbalancing:AddListenerCertificates": {"action": "elasticloadbalancing:AddListenerCertificates", "types": ["listener/app", "listener/net"], "resources": [{"types": ["listener/app", "listener/net"], "arn": "Certificates[].CertificateArn"}, {"types": ["listener/app", "listener/net"], "arn": "ListenerArn"}]},
"elasticloadbalancing:AddTags": {"action": "elasticloadbalancing:AddTags", "types": ["listener-rule/app", "listener-rule/net", "listener/app", "listener/gwy", "listener/net", "loadbalancer", "loadbalancer/app/", "loadbalancer/gwy/", "loadbalancer/net/", "targetgroup", "truststore"], "resources": [{"type": "loadbalancer", "fill": {"LoadBalancerName": "LoadBalancerNames[]"}}, {"types": ["listener-rule/app", "listener-rule/net", "listener/app", "listener/gwy", "listener/net", "loadbalancer", "loadbalancer/app/", "loadbalancer/gwy/", "loadbalancer/net/", "targetgroup", "truststore"], "arn": "ResourceArns[]"}]},
"elasticloadbalancing:AddTrustStoreRevocations": {"action": "elasticloadbalancing:AddTrustStoreRevocations", "types": ["truststore"], "resources": [{"types": ["truststore"], "arn": "TrustStoreArn"}]},
@@ -3329,7 +3360,7 @@
"elasticmapreduce:SetTerminationProtection": {"action": "elasticmapreduce:SetTerminationProtection", "types": ["cluster"], "resources": [{"type": "cluster", "fill": {"ClusterId": "JobFlowIds[]"}}]},
"elasticmapreduce:SetUnhealthyNodeReplacement": {"action": "elasticmapreduce:SetUnhealthyNodeReplacement", "types": ["cluster"], "resources": [{"type": "cluster", "fill": {"ClusterId": "JobFlowIds[]"}}]},
"elasticmapreduce:SetVisibleToAllUsers": {"action": "elasticmapreduce:SetVisibleToAllUsers", "types": ["cluster"], "resources": [{"type": "cluster", "fill": {"ClusterId": "JobFlowIds[]"}}]},
"elasticmapreduce:StartNotebookExecution": {"action": "elasticmapreduce:StartNotebookExecution", "types": ["cluster", "editor"], "resources": [{"type": "editor", "fill": {"EditorId": "EditorId"}}]},
"elasticmapreduce:StartNotebookExecution": {"action": "elasticmapreduce:StartNotebookExecution", "types": ["cluster", "editor"], "resources": [{"type": "editor", "fill": {"EditorId": "EditorId"}}], "makes": [{"type": "notebook-execution", "fill": {}}]},
"elasticmapreduce:StartSession": {"action": "elasticmapreduce:StartSession", "types": ["cluster"], "resources": [{"type": "cluster", "fill": {"ClusterId": "ClusterId"}}]},
"elasticmapreduce:StopNotebookExecution": {"action": "elasticmapreduce:StopNotebookExecution", "types": ["notebook-execution"], "resources": [{"type": "notebook-execution", "fill": {"NotebookExecutionId": "NotebookExecutionId"}}]},
"elasticmapreduce:TerminateJobFlows": {"action": "elasticmapreduce:TerminateJobFlows", "types": ["cluster"], "resources": [{"type": "cluster", "fill": {"ClusterId": "JobFlowIds[]"}}]},
@@ -7383,7 +7414,7 @@
"textract:AnalyzeExpense": {"action": "textract:AnalyzeExpense", "types": [], "resources": []},
"textract:AnalyzeID": {"action": "textract:AnalyzeID", "types": [], "resources": []},
"textract:CreateAdapter": {"action": "textract:CreateAdapter", "types": [], "resources": [], "makes": [{"type": "adapter", "fill": {}}]},
"textract:CreateAdapterVersion": {"action": "textract:CreateAdapterVersion", "types": ["adapter"], "resources": [{"type": "adapter", "fill": {"AdapterId": "AdapterId"}}]},
"textract:CreateAdapterVersion": {"action": "textract:CreateAdapterVersion", "types": ["adapter"], "resources": [{"type": "adapter", "fill": {"AdapterId": "AdapterId"}}], "makes": [{"type": "adapterversion", "fill": {"AdapterId": "AdapterId"}}]},
"textract:CreateBlueprint": {"action": "textract:CreateBlueprint", "types": ["blueprint"], "resources": [{"type": "blueprint", "fill": {}, "find": ["BlueprintName"]}]},
"textract:CreateBlueprintVersion": {"action": "textract:CreateBlueprintVersion", "types": ["blueprint"], "resources": [{"types": ["blueprint"], "arn": "BlueprintArn"}]},
"textract:CreateProject": {"action": "textract:CreateProject", "types": ["blueprint", "project"], "resources": [{"type": "project", "fill": {}, "find": ["ProjectName"]}]},
@@ -7487,8 +7518,8 @@
"transcribe:UpdateVocabulary": {"action": "transcribe:UpdateVocabulary", "types": ["vocabulary"], "resources": [{"type": "vocabulary", "fill": {"VocabularyName": "VocabularyName"}}]},
"transcribe:UpdateVocabularyFilter": {"action": "transcribe:UpdateVocabularyFilter", "types": ["vocabularyfilter"], "resources": [{"type": "vocabularyfilter", "fill": {"VocabularyFilterName": "VocabularyFilterName"}}]},
"transfer:CreateAccess": {"action": "transfer:CreateAccess", "types": ["server"], "resources": [{"type": "server", "fill": {"ServerId": "ServerId"}}]},
"transfer:CreateAgreement": {"action": "transfer:CreateAgreement", "types": ["server"], "resources": [{"type": "server", "fill": {"ServerId": "ServerId"}}]},
"transfer:CreateConnector": {"action": "transfer:CreateConnector", "types": ["profile"], "resources": []},
"transfer:CreateAgreement": {"action": "transfer:CreateAgreement", "types": ["server"], "resources": [{"type": "server", "fill": {"ServerId": "ServerId"}}], "makes": [{"type": "agreement", "fill": {"ServerId": "ServerId"}}]},
"transfer:CreateConnector": {"action": "transfer:CreateConnector", "types": ["profile"], "resources": [], "makes": [{"type": "connector", "fill": {}}]},
"transfer:CreateProfile": {"action": "transfer:CreateProfile", "types": [], "resources": [], "makes": [{"type": "profile", "fill": {}}]},
"transfer:CreateServer": {"action": "transfer:CreateServer", "types": [], "resources": [], "makes": [{"type": "server", "fill": {}}]},
"transfer:CreateUser": {"action": "transfer:CreateUser", "types": ["server"], "resources": [{"type": "server", "fill": {"ServerId": "ServerId"}}], "makes": [{"type": "user", "fill": {"ServerId": "ServerId", "UserName": "UserName"}}]},
@@ -1,7 +1,7 @@
{
"_source": {"generator": "tools/aws/regen_iam_tag_on_create.py", "reference": "https://servicereference.us-east-1.amazonaws.com/", "botocore": "botocore 1.44.9 (local/aws/botocore)", "retrieved": "2026-11-25", "note": "make iam-tag-on-create-check re-derives every member from botocore; make iam-tag-on-create-verify checks every operation against AWS."},
"namespaces": {"access-analyzer": ["accessanalyzer"], "acm": ["acm"], "application-autoscaling": ["application-autoscaling"], "aps": ["amp"], "athena": ["athena"], "autoscaling": ["autoscaling"], "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": ["cloudformation"], "cloudhsm": ["cloudhsmv2"], "cloudtrail": ["cloudtrail"], "cloudwatch": ["cloudwatch", "cloudwatchomni"], "codedeploy": ["codedeploy"], "codepipeline": ["codepipeline"], "cognito-identity": ["cognito-identity"], "cognito-idp": ["cognito-idp"], "comprehend": ["comprehend"], "config": ["config"], "controltower": ["controltower"], "cur": ["cur"], "datasync": ["datasync"], "dms": ["dms"], "dsql": ["dsql"], "dynamodb": ["dynamodb"], "ec2": ["ec2"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticache": ["elasticache"], "elasticloadbalancing": ["elb", "elb-proxy", "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"], "kinesis": ["kinesis"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "kms": ["kms"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "lightsail": ["lightsail"], "logs": ["logs"], "macie2": ["macie2"], "memorydb": ["memorydb"], "network-firewall": ["network-firewall"], "oam": ["oam"], "organizations": ["organizations"], "payment-cryptography": ["payment-cryptography"], "pipes": ["pipes"], "ram": ["ram"], "rds": ["docdb", "neptune", "rds"], "redshift": ["redshift"], "redshift-serverless": ["redshift-serverless"], "rekognition": ["rekognition"], "resource-explorer-2": ["resource-explorer-2"], "resource-groups": ["resource-groups"], "route53resolver": ["route53resolver"], "s3tables": ["s3tables"], "s3vectors": [], "sagemaker": ["sagemaker"], "scheduler": ["scheduler"], "secretsmanager": ["secretsmanager"], "securityhub": ["securityhub"], "servicediscovery": ["servicediscovery"], "ses": ["mailmanager", "pinpoint-email", "ses", "sesv2"], "signer": ["signer"], "sns": ["sns"], "sqs": ["sqs"], "ssm": ["ssm"], "sso": ["sso-admin"], "states": ["stepfunctions"], "sts": ["sts"], "swf": ["swf"], "textract": ["textract"], "timestream-influxdb": ["timestream-influxdb"], "transcribe": ["transcribe"], "transfer": ["transfer"], "translate": ["translate"], "wafv2": ["wafv2"], "xray": ["xray"]},
"notCovered": {"airflow": "REST routes no rule maps yet", "app-integrations": "REST routes no rule maps yet", "appconfig": "REST routes no rule maps yet", "appsync": "REST routes no rule maps yet", "aws-marketplace": "REST routes no rule maps yet", "backup": "REST routes no rule maps yet", "batch": "REST routes no rule maps yet", "bedrock-agentcore": "REST routes no rule maps yet", "cloudfront": "its creation tags are a Tags structure holding Items, which this file does not read yet", "codeguru-reviewer": "REST routes no rule maps yet", "connect": "REST routes no rule maps yet", "detective": "REST routes no rule maps yet", "dlm": "REST routes no rule maps yet", "elasticfilesystem": "REST routes no rule maps yet", "inspector2": "REST routes no rule maps yet", "iot": "REST routes no rule maps yet", "kafka": "REST routes no rule maps yet", "mq": "REST routes no rule maps yet", "quicksight": "metadata-only REST subset; creation-tag IAM authorization is not implemented", "rum": "REST routes no rule maps yet", "s3": "authorized by route; S3 checks s3:PutObjectTagging for an object it creates with tags itself", "servicecatalog": "its operations that tag are AppRegistry's, whose REST routes no rule maps yet"},
"_source": {"generator": "tools/aws/regen_iam_tag_on_create.py", "reference": "https://servicereference.us-east-1.amazonaws.com/", "botocore": "botocore 1.44.9 (local/aws/botocore)", "retrieved": "2026-11-26", "note": "make iam-tag-on-create-check re-derives every member from botocore; make iam-tag-on-create-verify checks every operation against AWS."},
"namespaces": {"access-analyzer": ["accessanalyzer"], "acm": ["acm"], "application-autoscaling": ["application-autoscaling"], "aps": ["amp"], "athena": ["athena"], "autoscaling": ["autoscaling"], "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": ["cloudformation"], "cloudhsm": ["cloudhsmv2"], "cloudtrail": ["cloudtrail"], "cloudwatch": ["cloudwatch", "cloudwatchomni"], "codedeploy": ["codedeploy"], "codepipeline": ["codepipeline"], "cognito-identity": ["cognito-identity"], "cognito-idp": ["cognito-idp"], "comprehend": ["comprehend"], "config": ["config"], "controltower": ["controltower"], "cur": ["cur"], "datasync": ["datasync"], "dms": ["dms"], "dsql": ["dsql"], "dynamodb": ["dynamodb"], "ec2": ["ec2"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticache": ["elasticache"], "elasticfilesystem": ["efs"], "elasticloadbalancing": ["elb", "elb-proxy", "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"], "kinesis": ["kinesis"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "kms": ["kms"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "lightsail": ["lightsail"], "logs": ["logs"], "macie2": ["macie2"], "memorydb": ["memorydb"], "network-firewall": ["network-firewall"], "oam": ["oam"], "organizations": ["organizations"], "payment-cryptography": ["payment-cryptography"], "pipes": ["pipes"], "ram": ["ram"], "rds": ["docdb", "neptune", "rds"], "redshift": ["redshift"], "redshift-serverless": ["redshift-serverless"], "rekognition": ["rekognition"], "resource-explorer-2": ["resource-explorer-2"], "resource-groups": ["resource-groups"], "route53resolver": ["route53resolver"], "s3tables": ["s3tables"], "s3vectors": [], "sagemaker": ["sagemaker"], "scheduler": ["scheduler"], "secretsmanager": ["secretsmanager"], "securityhub": ["securityhub"], "servicediscovery": ["servicediscovery"], "ses": ["mailmanager", "pinpoint-email", "ses", "sesv2"], "signer": ["signer"], "sns": ["sns"], "sqs": ["sqs"], "ssm": ["ssm"], "sso": ["sso-admin"], "states": ["stepfunctions"], "sts": ["sts"], "swf": ["swf"], "textract": ["textract"], "timestream-influxdb": ["timestream-influxdb"], "transcribe": ["transcribe"], "transfer": ["transfer"], "translate": ["translate"], "wafv2": ["wafv2"], "xray": ["xray"]},
"notCovered": {"airflow": "REST routes no rule maps yet", "app-integrations": "REST routes no rule maps yet", "appconfig": "REST routes no rule maps yet", "appsync": "REST routes no rule maps yet", "aws-marketplace": "REST routes no rule maps yet", "backup": "REST routes no rule maps yet", "batch": "REST routes no rule maps yet", "bedrock-agentcore": "REST routes no rule maps yet", "cloudfront": "its creation tags are a Tags structure holding Items, which this file does not read yet", "codeguru-reviewer": "REST routes no rule maps yet", "connect": "REST routes no rule maps yet", "detective": "REST routes no rule maps yet", "dlm": "REST routes no rule maps yet", "inspector2": "REST routes no rule maps yet", "iot": "REST routes no rule maps yet", "kafka": "REST routes no rule maps yet", "mq": "REST routes no rule maps yet", "quicksight": "metadata-only REST subset; creation-tag IAM authorization is not implemented", "rum": "REST routes no rule maps yet", "s3": "authorized by route; S3 checks s3:PutObjectTagging for an object it creates with tags itself", "servicecatalog": "its operations that tag are AppRegistry's, whose REST routes no rule maps yet"},
"otherNamespaces": ["account-access", "acm-pca", "aco-automation", "agent-registry", "aidevops", "aiops", "airflow-serverless", "amplify", "amplifyuibuilder", "aoss", "apiportal", "appfabric", "appflow", "application-signals", "applicationinsights", "appmesh", "apprunner", "appstream", "arc-region-switch", "artifact", "auditmanager", "b2bi", "backup-gateway", "backup-search", "bcm-dashboards", "billing", "billingconductor", "braket", "cases", "cassandra", "chatbot", "chime", "cleanrooms", "cleanrooms-ml", "cloud9", "codecommit", "codeconnections", "codeguru-profiler", "codeguru-security", "codestar-connections", "codestar-notifications", "connect-campaigns", "databrew", "dataexchange", "datapipeline", "datazone", "dax", "deadline", "directconnect", "docdb-elastic", "drs", "ds", "ebs", "ecr-public", "elemental-inference", "entityresolution", "evs", "fms", "forecast", "frauddetector", "fsx", "gamelift", "gameliftstreams", "geo", "grafana", "greengrass", "groundstation", "health-agent", "healthlake", "imagebuilder", "interconnect", "internetmonitor", "invoicing", "iotdeviceadvisor", "iotfleetwise", "iotmanagedintegrations", "iotsitewise", "iottwinmaker", "iotwireless", "ivs", "ivschat", "kafkaconnect", "kendra", "kendra-ranking", "kinesisvideo", "launchwizard", "lex", "license-manager", "license-manager-linux-subscriptions", "license-manager-user-subscriptions", "lookoutequipment", "m2", "managedblockchain", "mediaconnect", "mediaconvert", "medialive", "mediapackage", "mediapackage-vod", "mediapackagev2", "mediastore", "mediatailor", "medical-imaging", "mgn", "migrationhub-orchestrator", "mobiletargeting", "mpa", "neptune-graph", "network-security-manager", "networkflowmonitor", "networkmanager", "networkmonitor", "notifications", "notifications-contacts", "observabilityadmin", "odb", "omics", "opensearch", "osis", "outposts", "partnercentral", "pca-connector-ad", "pca-connector-scep", "pcs", "personalize", "pi", "polly", "profile", "proton", "qbusiness", "rbin", "refactor-spaces", "repostspace", "resiliencehub", "rolesanywhere", "route53-recovery-control-config", "route53-recovery-readiness", "route53globalresolver", "route53profiles", "rtbfabric", "s3files", "sagemaker-geospatial", "savingsplans", "schemas", "scn", "security-ir", "securityagent", "securitylake", "shield", "sms-voice", "snow-device-management", "social-messaging", "ssm-contacts", "ssm-incidents", "ssm-quicksetup", "ssm-sap", "storagegateway", "supportauthz", "synthetics", "thinclient", "timestream", "voiceid", "vpc-lattice", "waf", "waf-regional", "wellarchitected", "wickr", "wisdom", "workspaces", "workspaces-instances", "workspaces-web"],
"resourceArns": {"ec2": {"application-status-check": "arn:${Partition}:ec2:${Region}:${Account}:application-status-check/*", "capacity-block": "arn:${Partition}:ec2:${Region}:${Account}:capacity-block/*", "capacity-manager-data-export": "arn:${Partition}:ec2:${Region}:${Account}:capacity-manager-data-export/*", "capacity-reservation": "arn:${Partition}:ec2:${Region}:${Account}:capacity-reservation/*", "capacity-reservation-cancellation-quote": "arn:${Partition}:ec2:${Region}:${Account}:capacity-reservation-cancellation-quote/*", "capacity-reservation-fleet": "arn:${Partition}:ec2:${Region}:${Account}:capacity-reservation-fleet/*", "capacity-reservation-modification-quote": "arn:${Partition}:ec2:${Region}:${Account}:capacity-reservation-modification-quote/*", "carrier-gateway": "arn:${Partition}:ec2:${Region}:${Account}:carrier-gateway/*", "certificate": "arn:${Partition}:acm:${Region}:${Account}:certificate/*", "client-vpn-endpoint": "arn:${Partition}:ec2:${Region}:${Account}:client-vpn-endpoint/*", "coip-pool": "arn:${Partition}:ec2:${Region}:${Account}:coip-pool/*", "customer-gateway": "arn:${Partition}:ec2:${Region}:${Account}:customer-gateway/*", "declarative-policies-report": "arn:${Partition}:ec2:${Region}:${Account}:declarative-policies-report/*", "dedicated-host": "arn:${Partition}:ec2:${Region}:${Account}:dedicated-host/*", "dhcp-options": "arn:${Partition}:ec2:${Region}:${Account}:dhcp-options/*", "egress-only-internet-gateway": "arn:${Partition}:ec2:${Region}:${Account}:egress-only-internet-gateway/*", "elastic-gpu": "arn:${Partition}:ec2:${Region}:${Account}:elastic-gpu/*", "elastic-inference": "arn:${Partition}:elastic-inference:${Region}:${Account}:elastic-inference-accelerator/*", "elastic-ip": "arn:${Partition}:ec2:${Region}:${Account}:elastic-ip/*", "export-image-task": "arn:${Partition}:ec2:${Region}:${Account}:export-image-task/*", "export-instance-task": "arn:${Partition}:ec2:${Region}:${Account}:export-instance-task/*", "fleet": "arn:${Partition}:ec2:${Region}:${Account}:fleet/*", "fpga-image": "arn:${Partition}:ec2:${Region}:${Account}:fpga-image/*", "group": "arn:${Partition}:resource-groups:${Region}:${Account}:group/*", "host-reservation": "arn:${Partition}:ec2:${Region}:${Account}:host-reservation/*", "image": "arn:${Partition}:ec2:${Region}::image/*", "image-usage-report": "arn:${Partition}:ec2:${Region}:${Account}:image-usage-report/*", "import-image-task": "arn:${Partition}:ec2:${Region}:${Account}:import-image-task/*", "import-snapshot-task": "arn:${Partition}:ec2:${Region}:${Account}:import-snapshot-task/*", "instance": "arn:${Partition}:ec2:${Region}:${Account}:instance/*", "instance-connect-endpoint": "arn:${Partition}:ec2:${Region}:${Account}:instance-connect-endpoint/*", "instance-event-window": "arn:${Partition}:ec2:${Region}:${Account}:instance-event-window/*", "internet-gateway": "arn:${Partition}:ec2:${Region}:${Account}:internet-gateway/*", "ipam": "arn:${Partition}:ec2::${Account}:ipam/*", "ipam-external-resource-verification-token": "arn:${Partition}:ec2::${Account}:ipam-external-resource-verification-token/*", "ipam-internet-registry-association": "arn:${Partition}:ec2::${Account}:ipam-internet-registry-association/*", "ipam-policy": "arn:${Partition}:ec2::${Account}:ipam-policy/*", "ipam-pool": "arn:${Partition}:ec2::${Account}:ipam-pool/*", "ipam-pool-allocation": "arn:${Partition}:ec2:${Region}:${Account}:ipam-pool-allocation/*", "ipam-prefix-list-resolver": "arn:${Partition}:ec2::${Account}:ipam-prefix-list-resolver/*", "ipam-prefix-list-resolver-target": "arn:${Partition}:ec2::${Account}:ipam-prefix-list-resolver-target/*", "ipam-resource-discovery": "arn:${Partition}:ec2::${Account}:ipam-resource-discovery/*", "ipam-resource-discovery-association": "arn:${Partition}:ec2::${Account}:ipam-resource-discovery-association/*", "ipam-scope": "arn:${Partition}:ec2::${Account}:ipam-scope/*", "ipv4pool-ec2": "arn:${Partition}:ec2:${Region}:${Account}:ipv4pool-ec2/*", "ipv6pool-ec2": "arn:${Partition}:ec2:${Region}:${Account}:ipv6pool-ec2/*", "key-pair": "arn:${Partition}:ec2:${Region}:${Account}:key-pair/*", "launch-template": "arn:${Partition}:ec2:${Region}:${Account}:launch-template/*", "license-configuration": "arn:${Partition}:license-manager:${Region}:${Account}:license-configuration:*", "local-gateway": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway/*", "local-gateway-route-table": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-route-table/*", "local-gateway-route-table-virtual-interface-group-association": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-route-table-virtual-interface-group-association/*", "local-gateway-route-table-vpc-association": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-route-table-vpc-association/*", "local-gateway-virtual-interface": "arn:${Partition}:ec2:${Region}:${Account}:local-gateway-virtual-interface/*", "local-gateway-virtual-interface-group": "arn:${Partition}:ec2:${Region}:${Account}:Line truncated
"operations": {
@@ -310,6 +310,8 @@
"elasticache:CreateUser": {"tagging": ["elasticache:AddTagsToResource"], "requestTags": true, "tags": [{"member": "Tags[Tag]", "key": "Key", "value": "Value"}]},
"elasticache:CreateUserGroup": {"tagging": ["elasticache:AddTagsToResource"], "requestTags": true, "tags": [{"member": "Tags[Tag]", "key": "Key", "value": "Value"}]},
"elasticache:PurchaseReservedCacheNodesOffering": {"tagging": ["elasticache:AddTagsToResource"], "requestTags": true, "tags": [{"member": "Tags[Tag]", "key": "Key", "value": "Value"}]},
"elasticfilesystem:CreateAccessPoint": {"tagging": ["elasticfilesystem:TagResource"], "createAction": true, "requestTags": true, "tags": [{"member": "Tags[]", "key": "Key", "value": "Value"}]},
"elasticfilesystem:CreateFileSystem": {"tagging": ["elasticfilesystem:TagResource"], "createAction": true, "requestTags": true, "tags": [{"member": "Tags[]", "key": "Key", "value": "Value"}]},
"elasticloadbalancing:CreateListener": {"tagging": ["elasticloadbalancing:AddTags"], "createAction": true, "requestTags": true, "tags": [{"member": "Tags[]", "key": "Key", "value": "Value"}]},
"elasticloadbalancing:CreateLoadBalancer": {"tagging": ["elasticloadbalancing:AddTags"], "createAction": true, "requestTags": true, "tags": [{"member": "Tags[]", "key": "Key", "value": "Value"}]},
"elasticloadbalancing:CreateProxy": {"tagging": ["elasticloadbalancing:TagResource"], "requestTags": true, "notRead": "the pinned botocore does not have the operation yet, so its request cannot be read"},
+38 -1
View File
@@ -1,5 +1,5 @@
{
"_source": {"generator": "tools/aws/regen_rest_routes.py", "botocore": "botocore 1.44.9 (local/aws/botocore)"},
"_source": {"generator": "tools/aws/regen_rest_routes.py", "botocore": "botocore 1.44.9 (installed package)"},
"models": {
"accessanalyzer": {
"credentialScope": "access-analyzer",
@@ -872,6 +872,43 @@
"UpdateCluster": {"method": "POST", "requestUri": "/cluster/{identifier}"}
}
},
"efs": {
"credentialScope": "elasticfilesystem",
"apiVersion": "2015-02-01",
"operations": {
"CreateAccessPoint": {"method": "POST", "requestUri": "/2015-02-01/access-points"},
"CreateFileSystem": {"method": "POST", "requestUri": "/2015-02-01/file-systems"},
"CreateMountTarget": {"method": "POST", "requestUri": "/2015-02-01/mount-targets"},
"CreateReplicationConfiguration": {"method": "POST", "requestUri": "/2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration"},
"CreateTags": {"method": "POST", "requestUri": "/2015-02-01/create-tags/{FileSystemId}"},
"DeleteAccessPoint": {"method": "DELETE", "requestUri": "/2015-02-01/access-points/{AccessPointId}"},
"DeleteFileSystem": {"method": "DELETE", "requestUri": "/2015-02-01/file-systems/{FileSystemId}"},
"DeleteFileSystemPolicy": {"method": "DELETE", "requestUri": "/2015-02-01/file-systems/{FileSystemId}/policy"},
"DeleteMountTarget": {"method": "DELETE", "requestUri": "/2015-02-01/mount-targets/{MountTargetId}"},
"DeleteReplicationConfiguration": {"method": "DELETE", "requestUri": "/2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration"},
"DeleteTags": {"method": "POST", "requestUri": "/2015-02-01/delete-tags/{FileSystemId}"},
"DescribeAccessPoints": {"method": "GET", "requestUri": "/2015-02-01/access-points"},
"DescribeAccountPreferences": {"method": "GET", "requestUri": "/2015-02-01/account-preferences"},
"DescribeBackupPolicy": {"method": "GET", "requestUri": "/2015-02-01/file-systems/{FileSystemId}/backup-policy"},
"DescribeFileSystemPolicy": {"method": "GET", "requestUri": "/2015-02-01/file-systems/{FileSystemId}/policy"},
"DescribeFileSystems": {"method": "GET", "requestUri": "/2015-02-01/file-systems"},
"DescribeLifecycleConfiguration": {"method": "GET", "requestUri": "/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration"},
"DescribeMountTargetSecurityGroups": {"method": "GET", "requestUri": "/2015-02-01/mount-targets/{MountTargetId}/security-groups"},
"DescribeMountTargets": {"method": "GET", "requestUri": "/2015-02-01/mount-targets"},
"DescribeReplicationConfigurations": {"method": "GET", "requestUri": "/2015-02-01/file-systems/replication-configurations"},
"DescribeTags": {"method": "GET", "requestUri": "/2015-02-01/tags/{FileSystemId}/"},
"ListTagsForResource": {"method": "GET", "requestUri": "/2015-02-01/resource-tags/{ResourceId}"},
"ModifyMountTargetSecurityGroups": {"method": "PUT", "requestUri": "/2015-02-01/mount-targets/{MountTargetId}/security-groups"},
"PutAccountPreferences": {"method": "PUT", "requestUri": "/2015-02-01/account-preferences"},
"PutBackupPolicy": {"method": "PUT", "requestUri": "/2015-02-01/file-systems/{FileSystemId}/backup-policy"},
"PutFileSystemPolicy": {"method": "PUT", "requestUri": "/2015-02-01/file-systems/{FileSystemId}/policy"},
"PutLifecycleConfiguration": {"method": "PUT", "requestUri": "/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration"},
"TagResource": {"method": "POST", "requestUri": "/2015-02-01/resource-tags/{ResourceId}"},
"UntagResource": {"method": "DELETE", "requestUri": "/2015-02-01/resource-tags/{ResourceId}"},
"UpdateFileSystem": {"method": "PUT", "requestUri": "/2015-02-01/file-systems/{FileSystemId}"},
"UpdateFileSystemProtection": {"method": "PUT", "requestUri": "/2015-02-01/file-systems/{FileSystemId}/protection"}
}
},
"eks": {
"credentialScope": "eks",
"apiVersion": "2017-11-01",
@@ -0,0 +1,60 @@
package io.floci.aws.services.efs;
import io.floci.aws.core.common.RegionResolver;
import io.floci.aws.services.efs.model.AccessPointDescription;
import io.floci.aws.services.efs.model.CreateAccessPointRequest;
import io.floci.aws.services.efs.model.CreateFileSystemRequest;
import io.floci.aws.services.efs.model.CreateMountTargetRequest;
import io.floci.aws.services.efs.model.FileSystem;
import io.floci.aws.testing.InMemoryStorageFactory;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.util.List;
import static org.junit.jupiter.api.Assertions.assertEquals;
/** What EFS gives the request-resources table through a mount target or a resource id: the ARN IAM checks. */
class EfsStoredResourceArnsTest {
private static final String REGION = "us-east-1";
private static final String ACCOUNT = "000000000000";
private EfsService service;
private EfsStoredResourceArns stored;
private FileSystem fileSystem;
@BeforeEach
void setUp() {
service = new EfsService(new InMemoryStorageFactory(ACCOUNT), new RegionResolver(REGION, ACCOUNT));
stored = new EfsStoredResourceArns(service);
fileSystem = service.createFileSystem(new CreateFileSystemRequest(), REGION);
}
@Test
void aMountTargetReachesTheFileSystemItIsIn() {
CreateMountTargetRequest request = new CreateMountTargetRequest();
request.setFileSystemId(fileSystem.getFileSystemId());
request.setSubnetId("subnet-1");
String mountTarget = service.createMountTarget(request, REGION).getMountTargetId();
assertEquals(List.of(fileSystem.getFileSystemArn()), stored.through("MountTargetId", mountTarget, REGION));
assertEquals(List.of(), stored.through("MountTargetId", "fsmt-missing", REGION));
assertEquals(List.of(), stored.through("MountTargetId", mountTarget, "eu-west-1"));
}
@Test
void aResourceIdNamesTheFileSystemOrTheAccessPointOfThatId() {
CreateAccessPointRequest request = new CreateAccessPointRequest();
request.setFileSystemId(fileSystem.getFileSystemId());
request.setClientToken("token-1");
AccessPointDescription accessPoint = service.createAccessPoint(REGION, request);
assertEquals(List.of(fileSystem.getFileSystemArn()),
stored.through("ResourceId", fileSystem.getFileSystemId(), REGION));
assertEquals(List.of(accessPoint.getAccessPointArn()),
stored.through("ResourceId", accessPoint.getAccessPointId(), REGION));
assertEquals(List.of(), stored.through("ResourceId", "fs-missing", REGION));
assertEquals(List.of(), stored.through("FileSystemId", fileSystem.getFileSystemId(), REGION));
}
}
@@ -812,6 +812,61 @@ class IamRestRouteEnforcementIntegrationTest {
as(user, "inspector2").body("{}").post("/status/batch/get").then().statusCode(200);
}
/**
* EFS is checked by its vendored routes on the file system a request names: by its id, and through a resource id,
* which EFS answers with the file system of that id.
*/
@Test
void efsIsCheckedOnTheFileSystemItsRequestNames() {
String fileSystem = createFileSystem();
String other = createFileSystem();
String user = user("route-efs");
String arn = "arn:aws:elasticfilesystem:us-east-1:000000000000:file-system/";
policy(user, allow("elasticfilesystem:DescribeFileSystems", arn + fileSystem) + ","
+ allow("elasticfilesystem:ListTagsForResource", arn + fileSystem));
as(user, "elasticfilesystem").queryParam("FileSystemId", fileSystem).get("/2015-02-01/file-systems")
.then().statusCode(200);
refused(as(user, "elasticfilesystem").queryParam("FileSystemId", other).get("/2015-02-01/file-systems").then(),
"elasticfilesystem:DescribeFileSystems");
as(user, "elasticfilesystem").get("/2015-02-01/resource-tags/" + fileSystem).then().statusCode(200);
refused(as(user, "elasticfilesystem").get("/2015-02-01/resource-tags/" + other).then(),
"elasticfilesystem:ListTagsForResource");
}
/**
* A tagged {@code CreateAccessPoint} is checked as its action on the file system its request names, and its tags,
* as {@code elasticfilesystem:TagResource}, on the access point it makes, whose id is EFS's to mint:
* {@code access-point/*}. A grant on the file system alone does not tag it.
*/
@Test
void efsChecksATaggedAccessPointsTagsOnTheAccessPointItMakes() {
String fileSystem = createFileSystem();
String arn = "arn:aws:elasticfilesystem:us-east-1:" + ACCOUNT + ":";
String body = "{\"ClientToken\":\"route-ap-" + suffix() + "\",\"FileSystemId\":\"" + fileSystem
+ "\",\"Tags\":[{\"Key\":\"team\",\"Value\":\"data\"}]}";
String user = user("route-efs-ap");
policy(user, allow("elasticfilesystem:CreateAccessPoint", arn + "file-system/" + fileSystem) + ","
+ allow("elasticfilesystem:TagResource", arn + "file-system/" + fileSystem));
refused(as(user, "elasticfilesystem").contentType("application/json").body(body)
.post("/2015-02-01/access-points").then(), "elasticfilesystem:TagResource");
policy(user, allow("elasticfilesystem:CreateAccessPoint", arn + "file-system/" + fileSystem) + ","
+ allow("elasticfilesystem:TagResource", arn + "access-point/*"));
String accessPoint = as(user, "elasticfilesystem").contentType("application/json").body(body)
.post("/2015-02-01/access-points").then().statusCode(200).extract().path("AccessPointId");
cleanup.register(() -> adminOf("elasticfilesystem").delete("/2015-02-01/access-points/" + accessPoint));
}
private String createFileSystem() {
String id = adminOf("elasticfilesystem").contentType("application/json")
.body("{\"CreationToken\":\"route-efs-" + suffix() + "\"}")
.post("/2015-02-01/file-systems").then().statusCode(201).extract().path("FileSystemId");
cleanup.register(() -> adminOf("elasticfilesystem").delete("/2015-02-01/file-systems/" + id));
return id;
}
/**
* Macie's {@code CreateMember} is checked on the account's members, {@code member/*}: nothing botocore or the
* Service Reference says names the member it makes by its {@code account.accountId}, so a grant scoped to one
+2 -3
View File
@@ -80,8 +80,8 @@ SERVICE_SUFFIX = ".amazonaws.com"
NAMESPACES = (
"application-autoscaling", "aps", "athena", "autoscaling", "budgets", "cloudformation", "cloudtrail",
"cloudwatch", "codebuild", "codedeploy", "codepipeline", "cognito-identity", "cognito-idp",
"comprehend", "config", "datasync", "dms", "dsql", "ec2", "ecr", "ecs", "eks", "elasticloadbalancing",
"elasticmapreduce",
"comprehend", "config", "datasync", "dms", "dsql", "ec2", "ecr", "ecs", "eks",
"elasticfilesystem", "elasticloadbalancing", "elasticmapreduce",
"emr-containers", "emr-serverless", "events", "firehose", "glue", "iam", "kinesis", "kinesisanalytics", "lambda",
"logs", "pipes",
"rds", "redshift", "redshift-serverless", "rekognition", "resource-groups", "s3", "s3tables", "sagemaker",
@@ -104,7 +104,6 @@ NOT_COVERED = {
"bedrock-agentcore": "REST routes no rule maps yet",
"cloudfront": "REST routes no rule maps yet",
"dlm": "REST routes no rule maps yet",
"elasticfilesystem": "REST routes no rule maps yet",
"es": "REST routes no rule maps yet",
"fis": "REST routes no rule maps yet",
"guardduty": "REST routes no rule maps yet",
+12 -7
View File
@@ -76,7 +76,9 @@ service is made in, marks the one it makes `made`, of a type, or with an ARN for
related to its name past the verb, so its tags are checked there alone. A create whose request carries tags,
whose action acts on other types alone, makes the resource of the type it is named after when the request names
every variable of it, a field of a top-level structure included (`makes`): Glue's `CreateConnection` acts on its
connection type and the catalog, and its tags go on `connection/<ConnectionInput.Name>`.
connection type and the catalog, and its tags go on `connection/<ConnectionInput.Name>`. A variable its service
mints, which no request names, stays open there as in every resource a create makes: EFS's `CreateAccessPoint` acts
on its file system, and its tags go on `access-point/*`.
A type of no variables of its own, the account's one (Glue's `catalog`), is named by every request, so it is no
alternative to the unnamed type a create makes: `CreateDatabase` is checked on it and on the database its
@@ -360,8 +362,8 @@ OUTPUT = REPO_ROOT / "src/main/resources/aws/iam-request-resources.json"
NAMESPACES = ("access-analyzer", "account", "acm", "application-autoscaling", "aps", "athena", "bcm-data-exports",
"bcm-pricing-calculator", "budgets", "ce", "cloudfront", "cloudfront-keyvaluestore", "cloudtrail",
"codebuild", "codepipeline", "cognito-identity", "cognito-idp", "controlcatalog", "controltower", "cur",
"datasync", "ec2", "ecr", "ecs", "elasticloadbalancing", "elasticmapreduce", "emr-containers",
"emr-serverless", "es", "events",
"datasync", "ec2", "ecr", "ecs", "elasticfilesystem", "elasticloadbalancing", "elasticmapreduce",
"emr-containers", "emr-serverless", "es", "events",
"firehose", "fis", "globalaccelerator", "inspector2", "kinesisanalytics", "macie2", "oam",
"payment-cryptography", "quicksight", "ram", "rds", "redshift", "redshift-data", "redshift-serverless",
"rekognition", "resource-explorer-2", "route53", "s3tables", "s3vectors", "servicediscovery",
@@ -635,7 +637,6 @@ NOT_COVERED: dict[str, str] = {
"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,
"execute-api": _REST,
"iot": _LATER,
"kafka": _REST,
@@ -2520,8 +2521,10 @@ def made_by_a_create_of_other_types(operation: str, types: list[str], formats: d
labels: dict[str, str] | None, aliased: set[str] | None,
models: dict[str, dict] | None) -> list[dict]:
"""The resource of the type a create whose action acts on other types alone makes, when its request carries tags
(a top-level member named `Tags`, `TagList` or the like) and names every variable of it, as the rules name a type
an action acts on and from the fields of a top-level structure its documentation reads; none otherwise."""
(a top-level member named `Tags`, `TagList` or the like) and names every variable of it but those its service
mints (`minted_by_the_create`), which no request can name, as the rules name a type an action acts on and from the
fields of a top-level structure its documentation reads; none otherwise. EFS's `CreateAccessPoint` names its file
system alone, and the `AccessPointId` of the access point it makes is one EFS answers."""
name = operation.split(":", 1)[1]
created = stem(CREATING_RE.sub("", name))
# A type related to the create's name is the one it makes, unless the request names it by a member of its own,
@@ -2538,8 +2541,10 @@ def made_by_a_create_of_other_types(operation: str, types: list[str], formats: d
found = with_documented(operation, [kind], formats, models,
resources_for(operation, [kind], formats, members, arn_members, labels, shapes, aliased))
variables = [v for v in VARIABLE_RE.findall(formats[kind]) if v not in KNOWN_VARIABLES]
named = set(variables) - minted_by_the_create(models, name)
return [resource for resource in found if resource.get("type") == kind and variables
and set(resource.get("fill", {})) == set(variables) and set(resource) == {"type", "fill"}][:1]
and set(resource.get("fill", {})) | (set(variables) - named) == set(variables)
and set(resource) == {"type", "fill"}][:1]
def by_members_key_is_empty(kinds: list[str], filled: dict[str, dict[str, str]]) -> bool:
+2 -3
View File
@@ -108,8 +108,8 @@ NAMESPACES = (
"access-analyzer", "acm", "application-autoscaling", "aps", "athena", "autoscaling", "bcm-data-exports",
"bcm-pricing-calculator", "bedrock", "budgets", "ce", "cloudformation", "cloudhsm", "cloudtrail", "cloudwatch",
"codedeploy", "codepipeline", "cognito-identity", "cognito-idp", "comprehend", "config", "controltower", "cur",
"datasync", "dms", "dsql", "dynamodb", "ec2", "ecr", "ecs", "eks", "elasticache", "elasticloadbalancing",
"elasticmapreduce", "emr-containers", "emr-serverless", "es", "events", "firehose", "fis", "globalaccelerator",
"datasync", "dms", "dsql", "dynamodb", "ec2", "ecr", "ecs", "eks", "elasticache", "elasticfilesystem",
"elasticloadbalancing", "elasticmapreduce", "emr-containers", "emr-serverless", "es", "events", "firehose", "fis", "globalaccelerator",
"glue",
"guardduty", "iam", "kinesis", "kinesisanalytics", "kms", "lambda", "lightsail", "logs", "macie2", "memorydb",
"network-firewall", "oam", "organizations", "payment-cryptography", "pipes", "ram", "rds", "redshift",
@@ -130,7 +130,6 @@ NOT_COVERED = {
"cloudfront": "its creation tags are a Tags structure holding Items, which this file does not read yet",
"codeguru-reviewer": _NO_ROUTES, "connect": _NO_ROUTES,
"detective": _NO_ROUTES, "dlm": _NO_ROUTES,
"elasticfilesystem": _NO_ROUTES,
"inspector2": _NO_ROUTES, "iot": _NO_ROUTES, "kafka": _NO_ROUTES,
"mq": _NO_ROUTES,
"quicksight": "metadata-only REST subset; creation-tag IAM authorization is not implemented",
+1
View File
@@ -73,6 +73,7 @@ MODELS: dict[str, str] = {
"controlcatalog": "controlcatalog",
"controltower": "controltower",
"dsql": "dsql",
"efs": "elasticfilesystem",
"eks": "eks",
"emr-containers": "emr-containers",
"emr-serverless": "emr-serverless",
@@ -3044,6 +3044,17 @@ def test_a_create_acting_on_other_types_alone_tags_what_it_makes_when_it_names_i
# One whose request does not name every variable of what it makes leaves it to the action's own resources.
formats["widget"] = "arn:${Partition}:svc:${Region}:${Account}:widget/${WidgetName}/${WidgetId}"
assert r.makes_for("svc:CreateWidget", ["kind"], formats, members("KindName"), models=widget_model(True)) == []
# A variable its service mints, answered and never carried, counts as named, staying open as in every resource a
# create makes: EFS's CreateAccessPoint names its file system and answers the AccessPointId. Another one the
# request leaves out still leaves it to the action's own resources.
minting = widget_model(True)
minting["svc"]["shapes"]["CreateWidgetOut"] = {"type": "structure", "members": {"WidgetId": {"shape": "String"}}}
minting["svc"]["operations"]["CreateWidget"]["output"] = {"shape": "CreateWidgetOut"}
assert r.makes_for("svc:CreateWidget", ["kind"], formats, members("KindName"), models=minting) == []
formats["widget"] = "arn:${Partition}:svc:${Region}:${Account}:widget/${WidgetId}"
assert r.makes_for("svc:CreateWidget", ["kind"], formats, members("KindName"), models=minting) == [
{"type": "widget", "fill": {}}]
assert r.makes_for("svc:CreateWidget", ["kind"], formats, members("KindName"), models=widget_model(True)) == []
def test_an_arn_identifying_a_type_is_not_read_as_its_name():