Files
floci/tools/docs/service_matrix.yaml
T
Priamo GermosenandJames McMahon 05b77db069 feat(ssm): support agent-backed Session Manager sessions (#9492)
Session Manager for Linux EC2 guests running the stock SSM agent and the Session Manager plugin: interactive shells, SSH and port forwarding, with StartSession, ResumeSession, TerminateSession, DescribeSessions and GetConnectionStatus, and session document validation. Direct SendCommand execution on instances without the agent is unchanged.

StartSession and GetConnectionStatus are checked on the EC2 target, and StartSession on the selected or default session document, read from the Session Manager guide and API reference pages vendored in tools/aws/sources/ssm-session-permissions.json.

Replaces #9366, rebased onto main with the generated IAM table refreshed. On top of it, GetConnectionStatus echoes the Target it was asked about, as AWS answers. The agent's OpenDataChannel is checked on the session ARN, as the client's is, so a deny on one session reaches the instance role. Starting a session deletes the account's history older than the 30 days DescribeSessions lists.

Closes #9365

Co-authored-by: James McMahon <james@jamesmcmahon.co.uk>
2026-11-26 00:04:57 -04:00

427 lines
21 KiB
YAML

# Registry for the service-matrix presence check (tools/docs/check_service_matrix.py).
#
# Every descriptor("externalKey", "configKey", ...) registered in
# core/common/ResolvedServiceCatalog.java must resolve to a row in the Service Matrix
# table in docs/services/index.md, keyed by the .md filename its row links to (no
# extension, no #anchor). A key resolves one of three ways:
#
# 1. exact match - externalKey literally equals a documented filename. No entry
# needed in this file; most services work this way.
# 2. aliases - externalKey differs from the filename that documents it, because
# it's an AWS SigV4 signing-name quirk (`kafka` -> msk.md) or a
# facet folded into another service's page (`ec2messages` -> ssm.md).
# 3. deferred - genuinely undocumented today, tracked with a reason. A NEW
# descriptor key that is neither an exact match, an alias target,
# nor listed here fails `check_service_matrix.py --strict`.
#
# The reverse direction is checked too: every docs/services/*.md page must be linked
# from a matrix row unless its slug is listed under `facet_pages:` (a page that
# documents a facet of another service and deliberately has no row of its own).
aliases:
apigateway: api-gateway # "API Gateway v1" row title
apigatewayv2: api-gateway # v2 facet, documented at api-gateway.md#v2
aps: managed-prometheus # AMP's SigV4 signing name is "aps"
kafka: msk # MSK's SigV4 signing name is "kafka"
mq: amazonmq # Amazon MQ's SigV4 signing name is "mq"
signin: iam # AWS Sign-In facet, at iam.md#aws-sign-in-login-credentials
sso: ssoadmin # descriptor("sso") is the Identity Center admin API; ssoadmin.md is its page
sso-oidc: ssooidc # IAM Identity Center OIDC REST API
events: eventbridge
eventsv2: eventbridgev2 # EventBridge V2's endpoint prefix is "eventsv2"
servicediscovery: cloudmap # Cloud Map's SigV4 signing name
elasticmapreduce: emr # EMR's SigV4 signing name
logs: cloudwatch # CloudWatch Logs facet, at cloudwatch.md
monitoring: cloudwatch # CloudWatch Metrics facet, at cloudwatch.md#metrics
secretsmanager: secrets-manager
codeguru-reviewer: codegurureviewer # SigV4 signing name is hyphenated; the doc slug is not
cognito-identity: cognitoidentity # SigV4 signing name is hyphenated; the doc slug is not
app-integrations: appintegrations # SigV4 signing name is hyphenated; the doc slug is not
paymentcryptography: payment-cryptography
servicecatalog: service-catalog
cognito-idp: cognito # Cognito's SigV4 signing name
states: step-functions # Step Functions' SigV4 signing name
email: ses # SES's SigV4 signing name
es: opensearch # OpenSearch's SigV4 signing name (legacy Elasticsearch)
appconfigdata: appconfig # data-plane facet, at appconfig.md#data-plane
tagging: resource-groups-tagging # Resource Groups Tagging API's SigV4 signing name
elasticloadbalancing: elb # ELB v2's SigV4 signing name
elb: elb-classic # Classic (2012-06-01) key; the v2 page is elb.md
application-autoscaling: applicationautoscaling
elasticbeanstalk: elastic-beanstalk
ec2messages: ssm # SSM Messages facet, documented alongside ssm.md
ssmmessages: ssm # Session Manager channels, documented alongside ssm.md
iotdata: iot # IoT Data row shares iot.md with IoT Core
resource-explorer-2: resource-explorer # API version suffix; the page is resource-explorer.md
bedrock-agentcore-control: bedrock-agentcore # control plane owns the page; the data-plane row is the facet
cloudfront-keyvaluestore: cloudfront # data-plane facet, at cloudfront.md#key-value-stores
# A NEW switch/REST descriptor not listed here and not resolvable via an alias fails
# `--strict`. Every entry MUST carry a `by:` expiry date (ISO, YYYY-MM-DD): once that
# date passes, `--strict` fails for it exactly as if it were never listed, even though
# the entry is still physically present in this file. This is deliberate - an
# unbounded deferred list is a silent, permanent bypass of the whole check, which is
# how Bedrock AgentCore (#2316) shipped a working service that stayed off the matrix
# for five days with nothing red anywhere. An expiring entry forces a human to either
# add the row or come back and renew the date with a fresh justification; it can never
# just be forgotten. Remove an entry outright once the referenced PR merges and the
# row lands - don't wait for it to expire.
deferred: []
# Rows whose count is checked against the dispatchers behind them, without
# flattening the grouped or multi-table page into one generated table. The key is the
# row's link target: `slug`, or `slug#anchor` for a row linking to a section of a page
# that documents more than one service. A value is one switch dispatcher's path, or a
# mapping with:
# sources: paths, or `{ path, mode }` for another regen_action_docs.py mode:
# `rest` (JAX-RS methods, optionally narrowed by `route_prefix` or
# `skip_route_prefix`), `map_entries`, or `tag_handler` (a TagHandler
# class, for which the shared /tags controllers serve TagResource,
# UntagResource and ListTagsForResource)
# rename_actions: a method not named after its AWS action, or a list for a method
# serving several actions picked by a query parameter
# exclude_actions: labels or methods that are not actions of the row
# Every row of the matrix needs a generated action table, an entry here, or a
# hand_counted entry below. Paths are relative to the Java package root, PACKAGE_DIR
# in tools/java_sources.py.
action_count_sources:
amazonmq:
sources:
- { path: services/amazonmq/AmazonMqController.java, mode: rest }
exclude_actions: # BadRequestException for RabbitMQ brokers, as on AWS
- CreateUser
- DescribeUser
- ListUsers
- DeleteUser
api-gateway: # v1; the same controller serves v2 under /v2/
sources:
- { path: services/apigateway/ApiGatewayController.java, mode: rest, skip_route_prefix: /v2/ }
- { path: services/apigateway/ApiGatewayTagHandler.java, mode: tag_handler }
rename_actions:
CreateRestApi: [CreateRestApi, ImportRestApi] # mode=import
PostApiKeys: [CreateApiKey, ImportApiKeys] # mode=import
CreateV1VpcLink: CreateVpcLink
GetV1VpcLinks: GetVpcLinks
GetV1VpcLink: GetVpcLink
UpdateV1VpcLink: UpdateVpcLink
DeleteV1VpcLink: DeleteVpcLink
ListTagsForResource: GetTags
api-gateway#v2:
sources:
- { path: services/apigateway/ApiGatewayController.java, mode: rest, route_prefix: /v2/ }
- services/apigatewayv2/ApiGatewayV2JsonHandler.java
rename_actions:
CreateV2Authorizer: CreateAuthorizer
GetV2Authorizer: GetAuthorizer
GetV2Authorizers: GetAuthorizers
UpdateV2Authorizer: UpdateAuthorizer
DeleteV2Authorizer: DeleteAuthorizer
CreateV2Deployment: CreateDeployment
GetV2Deployment: GetDeployment
GetV2Deployments: GetDeployments
UpdateV2Deployment: UpdateDeployment
DeleteV2Deployment: DeleteDeployment
CreateV2DomainName: CreateDomainName
GetV2DomainName: GetDomainName
GetV2DomainNames: GetDomainNames
UpdateV2DomainName: UpdateDomainName
DeleteV2DomainName: DeleteDomainName
CreateV2Model: CreateModel
GetV2Model: GetModel
GetV2ModelTemplate: GetModelTemplate
GetV2Models: GetModels
UpdateV2Model: UpdateModel
DeleteV2Model: DeleteModel
CreateV2Stage: CreateStage
GetV2Stage: GetStage
GetV2Stages: GetStages
UpdateV2Stage: UpdateStage
DeleteV2Stage: DeleteStage
UpdateV2Integration: UpdateIntegration
GetTagsForResource: GetTags
appconfig:
sources:
- { path: services/appconfig/AppConfigController.java, mode: rest }
- { path: services/appconfig/AppConfigTagHandler.java, mode: tag_handler }
appconfig#data-plane:
sources:
- { path: services/appconfig/AppConfigDataController.java, mode: rest }
appsync:
sources:
- { path: services/appsync/AppSyncController.java, mode: rest }
- { path: services/appsync/AppSyncTagHandler.java, mode: tag_handler }
rename_actions:
ListResolversByType: ListResolvers
GetEnvironmentVariables: GetGraphqlApiEnvironmentVariables
PutEnvironmentVariables: PutGraphqlApiEnvironmentVariables
autoscaling: services/autoscaling/AutoScalingQueryHandler.java
backup:
sources:
- { path: services/backup/BackupController.java, mode: rest }
- { path: services/backup/BackupTagHandler.java, mode: tag_handler }
rename_actions:
ListTagsForResource: ListTags
batch:
sources:
- { path: services/batch/BatchController.java, mode: rest }
- { path: services/batch/BatchTagHandler.java, mode: tag_handler }
bcm-data-exports: services/bcmdataexports/BcmDataExportsJsonHandler.java
bcm-pricing-calculator: services/bcmpricingcalculator/BcmPricingCalculatorJsonHandler.java
bedrock-agentcore#data-plane-invokeagentruntime:
sources:
- { path: services/bedrockagentcore/BedrockAgentCoreController.java, mode: rest }
bedrock-runtime:
sources:
- { path: services/bedrockruntime/BedrockRuntimeController.java, mode: rest }
exclude_actions:
- InvokeModelWithResponseStream # answers 501
cloudcontrol: services/cloudcontrol/CloudControlJsonHandler.java
cloudfront:
sources:
- { path: services/cloudfront/CloudFrontController.java, mode: rest }
rename_actions:
CreateDistribution: [CreateDistribution, CreateDistributionWithTags] # WithTags
Tagging: [TagResource, UntagResource] # Operation=Tag|Untag
cloudfront#key-value-stores: # the cloudfront-keyvaluestore data plane, a client of its own
sources:
- { path: services/cloudfront/CloudFrontKeyValueStoreController.java, mode: rest }
cloudmap: services/cloudmap/CloudMapHandler.java
cloudwatch: services/cloudwatch/logs/CloudWatchLogsHandler.java # the CloudWatch Logs row; it routes the nested handlers by name
cloudwatch#metrics:
sources:
- services/cloudwatch/metrics/CloudWatchMetricsJsonHandler.java
- services/cloudwatch/metrics/CloudWatchMetricsQueryHandler.java
codebuild: services/codebuild/CodeBuildJsonHandler.java
codedeploy: services/codedeploy/CodeDeployJsonHandler.java
codepipeline:
sources:
- services/codepipeline/CodePipelineService.java
exclude_actions: # action providers and execution states, not actions
- Abandoned
- CodeBuild
- CodeDeploy
- CodePipeline
- Failed
- Lambda
- LambdaInvoke
- Stopped
- Succeeded
- VariableCheck
cognito: services/cognito/CognitoJsonHandler.java
config: services/configservice/ConfigServiceJsonHandler.java
controltower:
sources:
- { path: services/controltower/ControlTowerController.java, mode: rest }
- { path: services/controltower/ControlTowerControlController.java, mode: rest }
- { path: services/controltower/ControlTowerTagHandler.java, mode: tag_handler }
rename_actions:
Enable: EnableControl
List: ListEnabledControls
Get: GetEnabledControl
Update: UpdateEnabledControl
Reset: ResetEnabledControl
Operation: GetControlOperation
cur: services/cur/CurJsonHandler.java
dynamodb: services/dynamodb/NativeDynamoDbJsonHandler.java
dynamodb#streams: services/dynamodb/NativeDynamoDbStreamsJsonHandler.java
ec2: services/ec2/Ec2QueryHandler.java
ecr: services/ecr/EcrJsonHandler.java
ecs: services/ecs/EcsJsonHandler.java
eks:
sources:
- { path: services/eks/EksController.java, mode: rest }
- { path: services/eks/EksService.java, mode: tag_handler }
rename_actions:
CreateNodeGroup: CreateNodegroup
DescribeNodeGroup: DescribeNodegroup
ListNodeGroups: ListNodegroups
DeleteNodeGroup: DeleteNodegroup
elastic-beanstalk: services/elasticbeanstalk/ElasticBeanstalkQueryHandler.java
elb: services/elbv2/ElbV2QueryHandler.java
elb-classic: services/elb/ElbClassicQueryHandler.java
emr-serverless:
sources:
- { path: services/emrserverless/EmrServerlessController.java, mode: rest }
- { path: services/emrserverless/EmrServerlessTagHandler.java, mode: tag_handler }
glue: services/glue/GlueJsonHandler.java
guardduty:
sources:
- { path: services/guardduty/GuardDutyController.java, mode: rest }
- { path: services/securityadmin/SecurityAdminController.java, mode: rest, route_prefix: /admin } # shared with Macie
- { path: services/guardduty/GuardDutyTagHandler.java, mode: tag_handler }
rename_actions:
ListAdmin: ListOrganizationAdminAccounts
iam: services/iam/IamQueryHandler.java
iam#aws-sign-in-login-credentials:
sources:
- { path: services/signin/SigninController.java, mode: rest }
rename_actions:
Authorize: AuthorizeOAuth2Access
Token: CreateOAuth2Token
exclude_actions: # the local sign-in pages the browser flow shows
- ConsentPage
- Consent
- ConfirmationPage
iot:
sources:
- { path: services/iot/IotController.java, mode: rest }
- { path: services/iot/IotAuthorizerController.java, mode: rest }
- { path: services/iot/IotDomainConfigurationController.java, mode: rest }
- { path: services/iot/IotFleetIndexingController.java, mode: rest }
- { path: services/iot/IotLoggingController.java, mode: rest }
- { path: services/iot/IotTagHandler.java, mode: tag_handler }
rename_actions:
RegisterCertificateWithoutCa: RegisterCertificateWithoutCA
ListAttachedPoliciesPost: ListAttachedPolicies
ListTargetsForPolicyPost: ListTargetsForPolicy
CreateTopicRulePost: CreateTopicRule
ListJobExecutionsForThing: [ListJobExecutionsForThing, GetPendingJobExecutions] # one answer carries both
iot#iot-data:
sources:
- { path: services/iot/IotDataController.java, mode: rest }
lakeformation:
sources:
- { path: services/lakeformation/LakeFormationController.java, mode: rest }
lambda:
sources:
- { path: services/lambda/LambdaController.java, mode: rest }
- { path: services/lambda/LambdaAccountSettingsController.java, mode: rest }
- { path: services/lambda/LambdaCodeSigningController.java, mode: rest }
- { path: services/lambda/LambdaCodeSigningConfigFunctionsController.java, mode: rest }
- { path: services/lambda/LambdaResponseStreamController.java, mode: rest }
- { path: services/lambda/LambdaConcurrencyController.java, mode: rest }
- { path: services/lambda/LambdaProvisionedConcurrencyController.java, mode: rest }
- { path: services/lambda/LambdaEventInvokeController.java, mode: rest }
- { path: services/lambda/LambdaLayerController.java, mode: rest }
- { path: services/lambda/LambdaTagController.java, mode: rest }
- { path: services/lambda/LambdaUrlController.java, mode: rest }
- { path: services/lambda/durable/DurableExecutionController.java, mode: rest }
rename_actions:
ListLayers: [ListLayers, GetLayerVersionByArn] # find=LayerVersion
Put: PutProvisionedConcurrencyConfig
Get: [GetProvisionedConcurrencyConfig, ListProvisionedConcurrencyConfigs] # List=ALL
Delete: DeleteProvisionedConcurrencyConfig
Checkpoint: CheckpointDurableExecution
GetState: GetDurableExecutionState
GetHistory: GetDurableExecutionHistory
GetExecution: GetDurableExecution
ListByFunction: ListDurableExecutionsByFunction
Stop: StopDurableExecution
CallbackSucceed: SendDurableExecutionCallbackSuccess
CallbackFail: SendDurableExecutionCallbackFailure
CallbackHeartbeat: SendDurableExecutionCallbackHeartbeat
lambda-microvms:
sources:
- { path: services/lambdamicrovms/LambdaMicrovmsController.java, mode: rest }
- { path: services/lambdamicrovms/LambdaNetworkConnectorsController.java, mode: rest }
rename_actions:
ListVersions: ListMicrovmImageVersions
GetVersion: GetMicrovmImageVersion
UpdateVersion: UpdateMicrovmImageVersion
DeleteVersion: DeleteMicrovmImageVersion
ListBuilds: ListMicrovmImageBuilds
GetBuild: GetMicrovmImageBuild
ListManagedImages: ListManagedMicrovmImages
ListManagedImageVersions: ListManagedMicrovmImageVersions
lightsail: # local responses: switch arms plus the empty-list answers
sources:
- services/lightsail/LightsailJsonHandler.java
- { path: services/lightsail/LightsailJsonHandler.java, mode: map_entries }
managed-prometheus:
sources:
- { path: services/aps/ApsController.java, mode: rest }
- { path: services/aps/ApsService.java, mode: tag_handler }
msk:
sources:
- { path: services/msk/MskController.java, mode: rest }
- { path: services/msk/MskTagHandler.java, mode: tag_handler }
mwaa:
sources:
- { path: services/mwaa/MwaaController.java, mode: rest }
- { path: services/mwaa/MwaaService.java, mode: tag_handler }
oam:
sources:
- { path: services/oam/OamController.java, mode: rest }
rename_actions:
ListTags: ListTagsForResource
Tag: TagResource
Untag: UntagResource
opensearch: # with the legacy Elasticsearch API at /2015-01-01/es
sources:
- { path: services/opensearch/OpenSearchController.java, mode: rest }
- { path: services/opensearch/ElasticsearchController.java, mode: rest }
pipes:
sources:
- { path: services/pipes/PipesController.java, mode: rest }
- { path: services/pipes/PipesService.java, mode: tag_handler }
pricing: services/pricing/PricingJsonHandler.java
rds-data:
sources:
- { path: services/rdsdata/RdsDataController.java, mode: rest }
exclude_actions:
- ExecuteSql # answers BadRequestException, not supported
resource-groups-tagging: services/resourcegroupstagging/ResourceGroupsTaggingJsonHandler.java
rum:
sources:
- { path: services/rum/RumController.java, mode: rest }
s3tables:
sources:
- { path: services/s3tables/S3TablesController.java, mode: rest }
s3vectors:
sources:
- { path: services/s3vectors/S3VectorsController.java, mode: rest }
sagemaker#endpoint-hosting:
sources:
- { path: services/sagemaker/SageMakerRuntimeController.java, mode: rest }
rename_actions:
Invoke: InvokeEndpoint
scheduler:
sources:
- { path: services/scheduler/SchedulerController.java, mode: rest }
- { path: services/scheduler/SchedulerTagHandler.java, mode: tag_handler }
ses: services/ses/SesQueryHandler.java
ses#v2:
sources:
- { path: services/ses/SesAccountController.java, mode: rest }
- { path: services/ses/SesConfigurationSetController.java, mode: rest }
- { path: services/ses/SesContactController.java, mode: rest }
- { path: services/ses/SesCvetController.java, mode: rest }
- { path: services/ses/SesDedicatedIpController.java, mode: rest }
- { path: services/ses/SesExportJobController.java, mode: rest }
- { path: services/ses/SesIdentityController.java, mode: rest }
- { path: services/ses/SesImportJobController.java, mode: rest }
- { path: services/ses/SesInsightsController.java, mode: rest }
- { path: services/ses/SesMetricsController.java, mode: rest }
- { path: services/ses/SesRecommendationController.java, mode: rest }
- { path: services/ses/SesReputationEntityController.java, mode: rest }
- { path: services/ses/SesSendController.java, mode: rest }
- { path: services/ses/SesSuppressionController.java, mode: rest }
- { path: services/ses/SesTagController.java, mode: rest }
- { path: services/ses/SesTemplateController.java, mode: rest }
- { path: services/ses/SesTenantController.java, mode: rest }
rename_actions:
ListConfigurationSetsWithFilter: ListConfigurationSets
ListEmailIdentitiesWithFilter: ListEmailIdentities
sns:
sources:
- services/sns/SnsJsonHandler.java
- services/sns/SnsQueryHandler.java
ssm:
sources:
- services/ssm/SsmJsonHandler.java
- services/ssm/Ec2MessagesJsonHandler.java
sts: services/iam/StsQueryHandler.java
textract: services/textract/TextractJsonHandler.java
transcribe: services/transcribe/TranscribeJsonHandler.java
transfer: services/transfer/TransferHandler.java
# Rows whose count cannot be derived from their dispatchers, each with the reason. These
# are the only counts still kept by hand.
hand_counted:
s3: one controller method answers many operations, picked by query-string subresources (?tagging, ?acl, ?versioning, ...)
# docs/services pages that intentionally have no Service Matrix row of their own.
facet_pages:
- cloudfront-private-origin
- cloudwatch-metric-filters-verification