@cloud-copilot/iam-data 0.19.202607031 → 0.20.202607151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/data/actions/a4b.json +149 -78
- package/data/actions/access-analyzer.json +5 -11
- package/data/actions/account.json +12 -13
- package/data/actions/acm-pca.json +8 -8
- package/data/actions/acm.json +78 -86
- package/data/actions/aco-automation.json +20 -24
- package/data/actions/aidevops.json +3 -4
- package/data/actions/aiops.json +26 -113
- package/data/actions/airflow-serverless.json +8 -8
- package/data/actions/airflow.json +7 -7
- package/data/actions/amplify.json +4 -4
- package/data/actions/amplifybackend.json +1 -3
- package/data/actions/amplifyuibuilder.json +22 -77
- package/data/actions/aoss.json +5 -5
- package/data/actions/apigateway.json +45 -45
- package/data/actions/app-integrations.json +78 -133
- package/data/actions/appconfig.json +4 -4
- package/data/actions/appfabric.json +4 -4
- package/data/actions/appflow.json +87 -93
- package/data/actions/application-autoscaling.json +16 -18
- package/data/actions/application-signals-mcp.json +6 -2
- package/data/actions/application-signals.json +10 -11
- package/data/actions/applicationinsights.json +10 -11
- package/data/actions/appmesh-preview.json +55 -58
- package/data/actions/appmesh.json +75 -78
- package/data/actions/apprunner.json +78 -82
- package/data/actions/appstream.json +8 -8
- package/data/actions/appstudio.json +0 -5
- package/data/actions/appsync.json +148 -165
- package/data/actions/apptest.json +81 -59
- package/data/actions/aps.json +8 -17
- package/data/actions/arc-region-switch.json +33 -36
- package/data/actions/arc-zonal-shift.json +3 -11
- package/data/actions/arsenal.json +0 -1
- package/data/actions/artifact.json +2 -2
- package/data/actions/athena.json +26 -26
- package/data/actions/auditmanager.json +10 -10
- package/data/actions/autoscaling.json +160 -165
- package/data/actions/aws-external-anthropic.json +271 -274
- package/data/actions/aws-marketplace-management.json +0 -13
- package/data/actions/aws-marketplace.json +49 -61
- package/data/actions/aws-portal.json +0 -9
- package/data/actions/awsconnector.json +0 -3
- package/data/actions/b2bi.json +16 -16
- package/data/actions/backup-gateway.json +4 -8
- package/data/actions/backup-search.json +3 -5
- package/data/actions/backup-storage.json +0 -15
- package/data/actions/backup.json +124 -152
- package/data/actions/batch.json +46 -48
- package/data/actions/bcm-dashboards.json +5 -7
- package/data/actions/bcm-data-exports.json +15 -15
- package/data/actions/bcm-pricing-calculator.json +3 -3
- package/data/actions/bedrock-agentcore.json +191 -254
- package/data/actions/bedrock-mantle.json +114 -102
- package/data/actions/bedrock.json +209 -219
- package/data/actions/billing.json +151 -171
- package/data/actions/billingconductor.json +14 -14
- package/data/actions/braket.json +18 -21
- package/data/actions/budgets.json +10 -18
- package/data/actions/bugbust.json +73 -105
- package/data/actions/cases.json +2 -2
- package/data/actions/cassandra.json +4 -4
- package/data/actions/ce.json +102 -114
- package/data/actions/chatbot.json +12 -12
- package/data/actions/chime.json +102 -181
- package/data/actions/cleanrooms-ml.json +13 -13
- package/data/actions/cleanrooms.json +136 -243
- package/data/actions/cloud9.json +163 -185
- package/data/actions/clouddirectory.json +2 -2
- package/data/actions/cloudformation.json +30 -35
- package/data/actions/cloudfront.json +61 -75
- package/data/actions/cloudhsm.json +10 -40
- package/data/actions/cloudsearch.json +48 -51
- package/data/actions/cloudshell.json +0 -11
- package/data/actions/cloudtrail.json +100 -176
- package/data/actions/cloudwatch.json +155 -175
- package/data/actions/codeartifact.json +4 -4
- package/data/actions/codebuild.json +326 -334
- package/data/actions/codecatalyst.json +7 -39
- package/data/actions/codecommit.json +169 -180
- package/data/actions/codeconnections.json +136 -162
- package/data/actions/codedeploy.json +12 -13
- package/data/actions/codeguru-profiler.json +8 -8
- package/data/actions/codeguru-reviewer.json +29 -50
- package/data/actions/codeguru-security.json +22 -24
- package/data/actions/codeguru.json +0 -1
- package/data/actions/codepipeline.json +2 -2
- package/data/actions/codestar-connections.json +136 -162
- package/data/actions/codestar-notifications.json +8 -8
- package/data/actions/codestar.json +105 -76
- package/data/actions/codewhisperer.json +85 -90
- package/data/actions/cognito-identity.json +13 -13
- package/data/actions/cognito-idp.json +86 -74
- package/data/actions/cognito-sync.json +23 -25
- package/data/actions/comprehend.json +36 -36
- package/data/actions/compute-optimizer.json +20 -85
- package/data/actions/config.json +13 -49
- package/data/actions/connect-campaigns.json +6 -6
- package/data/actions/connect.json +366 -590
- package/data/actions/consolidatedbilling.json +0 -2
- package/data/actions/controltower.json +206 -246
- package/data/actions/cost-optimization-hub.json +2 -6
- package/data/actions/cur.json +51 -56
- package/data/actions/customer-verification.json +0 -5
- package/data/actions/databrew.json +16 -16
- package/data/actions/dataexchange.json +51 -67
- package/data/actions/datapipeline.json +25 -29
- package/data/actions/datasync.json +6 -6
- package/data/actions/datazone.json +249 -214
- package/data/actions/dax.json +3 -14
- package/data/actions/deadline.json +140 -391
- package/data/actions/detective.json +109 -131
- package/data/actions/devicefarm.json +16 -40
- package/data/actions/devops-guru.json +2 -8
- package/data/actions/directconnect.json +8 -8
- package/data/actions/discovery.json +4 -16
- package/data/actions/dlm.json +2 -2
- package/data/actions/dms.json +90 -124
- package/data/actions/docdb-elastic.json +17 -121
- package/data/actions/drs.json +568 -728
- package/data/actions/ds-data.json +47 -83
- package/data/actions/ds.json +160 -277
- package/data/actions/dsql.json +64 -82
- package/data/actions/dynamodb.json +267 -268
- package/data/actions/ebs.json +1 -3
- package/data/actions/ec2-instance-connect.json +2 -8
- package/data/actions/ec2.json +1305 -1611
- package/data/actions/ec2messages.json +4 -4
- package/data/actions/ecr-public.json +4 -6
- package/data/actions/ecr.json +56 -77
- package/data/actions/ecs.json +141 -152
- package/data/actions/eks.json +53 -57
- package/data/actions/elasticache.json +148 -268
- package/data/actions/elasticbeanstalk.json +79 -79
- package/data/actions/elasticfilesystem.json +59 -70
- package/data/actions/elasticloadbalancing.json +103 -119
- package/data/actions/elasticmapreduce.json +275 -298
- package/data/actions/elemental-activations.json +0 -13
- package/data/actions/elemental-appliances-software.json +0 -14
- package/data/actions/elemental-inference.json +2 -2
- package/data/actions/elemental-support-cases.json +45 -40
- package/data/actions/elemental-support-content.json +0 -1
- package/data/actions/emr-containers.json +2 -2
- package/data/actions/emr-serverless.json +6 -17
- package/data/actions/entityresolution.json +7 -7
- package/data/actions/es.json +2 -2
- package/data/actions/events.json +71 -74
- package/data/actions/eventsbilltoaws.json +4 -4
- package/data/actions/evidently.json +120 -50
- package/data/actions/evs.json +8 -103
- package/data/actions/finops-agent.json +0 -46
- package/data/actions/finspace.json +39 -46
- package/data/actions/firehose.json +2 -2
- package/data/actions/fis.json +69 -74
- package/data/actions/fms.json +2 -2
- package/data/actions/forecast.json +80 -85
- package/data/actions/frauddetector.json +31 -20
- package/data/actions/freertos.json +18 -9
- package/data/actions/freetier.json +16 -18
- package/data/actions/fsx.json +150 -206
- package/data/actions/gamelift.json +19 -94
- package/data/actions/gameliftstreams.json +6 -16
- package/data/actions/geo.json +2 -2
- package/data/actions/glacier.json +8 -8
- package/data/actions/globalaccelerator.json +4 -8
- package/data/actions/glue.json +439 -454
- package/data/actions/grafana.json +11 -29
- package/data/actions/greengrass.json +31 -33
- package/data/actions/groundstation.json +4 -4
- package/data/actions/groundtruthlabeling.json +0 -16
- package/data/actions/guardduty.json +11 -34
- package/data/actions/health-agent.json +286 -252
- package/data/actions/health.json +10 -29
- package/data/actions/healthlake.json +5 -5
- package/data/actions/honeycode.json +115 -130
- package/data/actions/iam.json +101 -111
- package/data/actions/identity-sync.json +3 -8
- package/data/actions/identitystore-auth.json +0 -3
- package/data/actions/identitystore.json +38 -96
- package/data/actions/imagebuilder.json +33 -173
- package/data/actions/inspector.json +1 -1
- package/data/actions/inspector2.json +6 -6
- package/data/actions/interconnect.json +2 -2
- package/data/actions/internetmonitor.json +10 -11
- package/data/actions/invoicing.json +46 -51
- package/data/actions/iot.json +76 -102
- package/data/actions/iotanalytics.json +188 -62
- package/data/actions/iotdeviceadvisor.json +2 -2
- package/data/actions/iotevents.json +130 -57
- package/data/actions/iotfleethub.json +27 -22
- package/data/actions/iotfleetwise.json +34 -40
- package/data/actions/iotmanagedintegrations.json +10 -10
- package/data/actions/iotsitewise.json +38 -45
- package/data/actions/iottwinmaker.json +19 -31
- package/data/actions/iotwireless.json +16 -24
- package/data/actions/ivs.json +39 -39
- package/data/actions/ivschat.json +12 -12
- package/data/actions/kafka-cluster.json +36 -73
- package/data/actions/kafka.json +18 -102
- package/data/actions/kafkaconnect.json +11 -34
- package/data/actions/kendra-ranking.json +2 -2
- package/data/actions/kendra.json +18 -18
- package/data/actions/kinesis.json +123 -124
- package/data/actions/kinesisanalytics.json +2 -3
- package/data/actions/kinesisvideo.json +4 -4
- package/data/actions/kms.json +110 -126
- package/data/actions/lakeformation.json +11 -20
- package/data/actions/lambda.json +113 -138
- package/data/actions/launchwizard.json +144 -169
- package/data/actions/lex.json +188 -154
- package/data/actions/license-manager-linux-subscriptions.json +2 -2
- package/data/actions/license-manager-user-subscriptions.json +2 -2
- package/data/actions/license-manager.json +5 -5
- package/data/actions/lightsail.json +8 -31
- package/data/actions/logs.json +195 -198
- package/data/actions/lookoutequipment.json +10 -10
- package/data/actions/lookoutmetrics.json +134 -58
- package/data/actions/lookoutvision.json +64 -50
- package/data/actions/m2.json +11 -48
- package/data/actions/machinelearning.json +2 -2
- package/data/actions/macie2.json +2 -2
- package/data/actions/managedblockchain.json +43 -56
- package/data/actions/mapcredits.json +0 -3
- package/data/actions/mediaconnect.json +8 -43
- package/data/actions/mediaconvert.json +6 -6
- package/data/actions/mediaimport.json +0 -1
- package/data/actions/medialive.json +4 -4
- package/data/actions/mediapackage-vod.json +3 -5
- package/data/actions/mediapackage.json +3 -5
- package/data/actions/mediapackagev2.json +2 -2
- package/data/actions/mediastore.json +9 -11
- package/data/actions/mediatailor.json +5 -7
- package/data/actions/medical-imaging.json +14 -14
- package/data/actions/memorydb.json +54 -122
- package/data/actions/mgh.json +6 -6
- package/data/actions/mgn.json +554 -937
- package/data/actions/migrationhub-orchestrator.json +4 -4
- package/data/actions/mobiletargeting.json +35 -36
- package/data/actions/monitron.json +72 -118
- package/data/actions/mpa.json +41 -44
- package/data/actions/mq.json +34 -56
- package/data/actions/neptune-graph.json +12 -54
- package/data/actions/network-firewall.json +14 -29
- package/data/actions/networkflowmonitor.json +2 -2
- package/data/actions/networkmanager-chat.json +0 -7
- package/data/actions/networkmanager.json +44 -99
- package/data/actions/networkmonitor.json +2 -2
- package/data/actions/nimble.json +475 -221
- package/data/actions/notifications-contacts.json +6 -6
- package/data/actions/notifications.json +26 -33
- package/data/actions/oam.json +4 -8
- package/data/actions/observabilityadmin.json +16 -16
- package/data/actions/odb.json +161 -171
- package/data/actions/omics.json +9 -17
- package/data/actions/one.json +105 -85
- package/data/actions/opensearch.json +16 -2
- package/data/actions/opsworks-cm.json +2 -2
- package/data/actions/opsworks.json +4 -4
- package/data/actions/organizations.json +39 -43
- package/data/actions/osis.json +10 -29
- package/data/actions/outposts.json +2 -2
- package/data/actions/panorama.json +110 -58
- package/data/actions/partnercentral-account-management.json +0 -4
- package/data/actions/partnercentral.json +209 -154
- package/data/actions/payment-cryptography.json +15 -29
- package/data/actions/payments.json +77 -78
- package/data/actions/pca-connector-ad.json +8 -29
- package/data/actions/pca-connector-scep.json +3 -8
- package/data/actions/pcs.json +12 -77
- package/data/actions/personalize.json +8 -20
- package/data/actions/pi.json +2 -2
- package/data/actions/pipes.json +4 -8
- package/data/actions/polly.json +1 -3
- package/data/actions/private-networks.json +135 -75
- package/data/actions/profile.json +43 -62
- package/data/actions/proton.json +47 -57
- package/data/actions/purchase-orders.json +55 -66
- package/data/actions/q.json +112 -173
- package/data/actions/qapps.json +122 -127
- package/data/actions/qbusiness.json +53 -63
- package/data/actions/qdeveloper.json +56 -49
- package/data/actions/qldb.json +200 -110
- package/data/actions/quicksight.json +543 -564
- package/data/actions/ram.json +25 -31
- package/data/actions/rbin.json +2 -2
- package/data/actions/rds-data.json +2 -6
- package/data/actions/rds-db.json +1 -1
- package/data/actions/rds.json +233 -380
- package/data/actions/redshift-data.json +4 -4
- package/data/actions/redshift-serverless.json +48 -99
- package/data/actions/redshift.json +424 -369
- package/data/actions/refactor-spaces.json +45 -45
- package/data/actions/rekognition.json +2 -2
- package/data/actions/repostspace.json +8 -8
- package/data/actions/resiliencehub.json +182 -227
- package/data/actions/resource-explorer-2.json +72 -80
- package/data/actions/resource-explorer.json +1 -6
- package/data/actions/resource-groups.json +68 -99
- package/data/actions/robomaker.json +286 -140
- package/data/actions/rolesanywhere.json +5 -11
- package/data/actions/route53-recovery-control-config.json +34 -36
- package/data/actions/route53-recovery-readiness.json +6 -6
- package/data/actions/route53.json +7 -15
- package/data/actions/route53domains.json +2 -2
- package/data/actions/route53globalresolver.json +8 -12
- package/data/actions/route53profiles.json +41 -45
- package/data/actions/route53resolver.json +24 -74
- package/data/actions/rtbfabric.json +2 -2
- package/data/actions/rum.json +4 -10
- package/data/actions/s3-object-lambda.json +6 -6
- package/data/actions/s3-outposts.json +38 -40
- package/data/actions/s3.json +626 -652
- package/data/actions/s3express.json +167 -76
- package/data/actions/s3files.json +6 -9
- package/data/actions/s3tables.json +74 -77
- package/data/actions/s3vectors.json +16 -20
- package/data/actions/sagemaker-data-science-assistant.json +0 -1
- package/data/actions/sagemaker-geospatial.json +9 -21
- package/data/actions/sagemaker-mlflow.json +240 -240
- package/data/actions/sagemaker-unified-studio-mcp.json +3 -22
- package/data/actions/sagemaker.json +374 -614
- package/data/actions/savingsplans.json +4 -4
- package/data/actions/scheduler.json +9 -15
- package/data/actions/schemas.json +4 -4
- package/data/actions/scn.json +2 -2
- package/data/actions/secretsmanager.json +73 -73
- package/data/actions/security-ir.json +4 -12
- package/data/actions/securityagent.json +58 -198
- package/data/actions/securityhub.json +208 -246
- package/data/actions/securitylake.json +17 -215
- package/data/actions/servicecatalog.json +81 -97
- package/data/actions/servicediscovery.json +57 -60
- package/data/actions/serviceextract.json +0 -1
- package/data/actions/servicequotas.json +11 -44
- package/data/actions/ses.json +387 -374
- package/data/actions/shield.json +52 -83
- package/data/actions/signer.json +8 -8
- package/data/actions/signin.json +123 -23
- package/data/actions/simspaceweaver.json +46 -22
- package/data/actions/sms-voice.json +35 -64
- package/data/actions/sms.json +16 -18
- package/data/actions/snow-device-management.json +2 -2
- package/data/actions/sns.json +33 -20
- package/data/actions/social-messaging.json +2 -2
- package/data/actions/sqlworkbench.json +217 -203
- package/data/actions/sqs.json +5 -5
- package/data/actions/ssm-contacts.json +24 -29
- package/data/actions/ssm-guiconnect.json +16 -20
- package/data/actions/ssm-incidents.json +15 -24
- package/data/actions/ssm-quicksetup.json +10 -10
- package/data/actions/ssm-sap.json +7 -7
- package/data/actions/ssm.json +114 -133
- package/data/actions/ssmmessages.json +2 -2
- package/data/actions/sso-directory.json +36 -108
- package/data/actions/sso-oauth.json +12 -20
- package/data/actions/sso.json +221 -490
- package/data/actions/states.json +23 -33
- package/data/actions/storagegateway.json +4 -19
- package/data/actions/sts.json +191 -122
- package/data/actions/support-console.json +0 -13
- package/data/actions/support.json +1 -3
- package/data/actions/supportapp.json +24 -27
- package/data/actions/supportauthz.json +156 -0
- package/data/actions/supportplans.json +0 -5
- package/data/actions/swf.json +126 -138
- package/data/actions/synthetics.json +2 -2
- package/data/actions/tag.json +2 -2
- package/data/actions/tax.json +24 -27
- package/data/actions/textract.json +12 -28
- package/data/actions/thinclient.json +44 -57
- package/data/actions/timestream-influxdb.json +6 -14
- package/data/actions/timestream.json +38 -118
- package/data/actions/tiros.json +0 -5
- package/data/actions/tnb.json +4 -4
- package/data/actions/transcribe.json +29 -52
- package/data/actions/transfer.json +38 -64
- package/data/actions/transform-custom.json +232 -182
- package/data/actions/transform.json +32 -50
- package/data/actions/translate.json +2 -2
- package/data/actions/trustedadvisor.json +149 -166
- package/data/actions/ts.json +26 -21
- package/data/actions/vendor-insights.json +129 -88
- package/data/actions/verified-access.json +0 -1
- package/data/actions/verifiedpermissions.json +4 -6
- package/data/actions/voiceid.json +18 -20
- package/data/actions/vpc-lattice-svcs.json +7 -7
- package/data/actions/vpc-lattice.json +40 -69
- package/data/actions/vpce.json +0 -1
- package/data/actions/waf-regional.json +9 -13
- package/data/actions/waf.json +9 -13
- package/data/actions/wafv2.json +82 -136
- package/data/actions/wam.json +0 -1
- package/data/actions/wellarchitected.json +420 -9
- package/data/actions/wickr.json +4 -4
- package/data/actions/wisdom.json +55 -60
- package/data/actions/workdocs.json +137 -154
- package/data/actions/worklink.json +123 -64
- package/data/actions/workmail.json +523 -557
- package/data/actions/workspaces-instances.json +8 -24
- package/data/actions/workspaces-web.json +38 -87
- package/data/actions/workspaces.json +131 -154
- package/data/actions/xray.json +29 -33
- package/data/categories/analytics.json +41 -0
- package/data/categories/application-integration.json +20 -0
- package/data/categories/blockchain.json +9 -0
- package/data/categories/business-applications.json +32 -0
- package/data/categories/cloud-financial-management.json +34 -0
- package/data/categories/compute.json +23 -0
- package/data/categories/containers.json +14 -0
- package/data/categories/customer-enablement.json +8 -0
- package/data/categories/databases.json +17 -0
- package/data/categories/developer-tools.json +27 -0
- package/data/categories/end-user-computing.json +14 -0
- package/data/categories/front-end-web-and-mobile.json +17 -0
- package/data/categories/game-tech.json +8 -0
- package/data/categories/internet-of-things.json +20 -0
- package/data/categories/machine-learning-and-ai.json +50 -0
- package/data/categories/management-and-governance.json +77 -0
- package/data/categories/media.json +24 -0
- package/data/categories/migration-and-transfer.json +25 -0
- package/data/categories/networking-and-content-delivery.json +36 -0
- package/data/categories/quantum-technologies.json +7 -0
- package/data/categories/satellite.json +7 -0
- package/data/categories/security-identity-and-compliance.json +55 -0
- package/data/categories/storage.json +25 -0
- package/data/categories.json +25 -0
- package/data/categoryNames.json +25 -0
- package/data/conditionKeys/bedrock-agentcore.json +72 -2
- package/data/conditionKeys/signin.json +25 -0
- package/data/conditionKeys/sts.json +370 -0
- package/data/conditionKeys/supportauthz.json +17 -0
- package/data/conditionPatterns.json +60 -0
- package/data/resourceTypes/a4b.json +34 -34
- package/data/resourceTypes/acm.json +9 -9
- package/data/resourceTypes/amplify.json +4 -4
- package/data/resourceTypes/amplifybackend.json +18 -18
- package/data/resourceTypes/apigateway.json +105 -105
- package/data/resourceTypes/app-integrations.json +12 -12
- package/data/resourceTypes/appconfig.json +16 -16
- package/data/resourceTypes/appfabric.json +6 -6
- package/data/resourceTypes/appflow.json +7 -7
- package/data/resourceTypes/application-signals.json +6 -6
- package/data/resourceTypes/appmesh-preview.json +14 -14
- package/data/resourceTypes/appmesh.json +20 -20
- package/data/resourceTypes/apprunner.json +9 -9
- package/data/resourceTypes/appstream.json +21 -21
- package/data/resourceTypes/appstudio.json +4 -4
- package/data/resourceTypes/appsync.json +26 -26
- package/data/resourceTypes/aps.json +16 -16
- package/data/resourceTypes/artifact.json +11 -11
- package/data/resourceTypes/athena.json +12 -12
- package/data/resourceTypes/auditmanager.json +4 -4
- package/data/resourceTypes/aws-marketplace.json +21 -21
- package/data/resourceTypes/b2bi.json +7 -7
- package/data/resourceTypes/backup-search.json +6 -6
- package/data/resourceTypes/backup.json +16 -16
- package/data/resourceTypes/batch.json +20 -20
- package/data/resourceTypes/bcm-data-exports.json +7 -7
- package/data/resourceTypes/bedrock-agentcore.json +91 -91
- package/data/resourceTypes/bedrock-mantle.json +6 -6
- package/data/resourceTypes/bedrock.json +113 -113
- package/data/resourceTypes/billingconductor.json +7 -7
- package/data/resourceTypes/braket.json +10 -10
- package/data/resourceTypes/cases.json +7 -7
- package/data/resourceTypes/cassandra.json +6 -6
- package/data/resourceTypes/ce.json +10 -10
- package/data/resourceTypes/chime.json +28 -28
- package/data/resourceTypes/cleanrooms-ml.json +27 -27
- package/data/resourceTypes/cleanrooms.json +6 -6
- package/data/resourceTypes/cloudformation.json +8 -8
- package/data/resourceTypes/cloudfront.json +50 -50
- package/data/resourceTypes/cloudtrail.json +12 -12
- package/data/resourceTypes/cloudwatch.json +6 -6
- package/data/resourceTypes/codeartifact.json +9 -9
- package/data/resourceTypes/codebuild.json +8 -8
- package/data/resourceTypes/codecatalyst.json +4 -4
- package/data/resourceTypes/codewhisperer.json +6 -6
- package/data/resourceTypes/comprehend.json +38 -38
- package/data/resourceTypes/config.json +17 -17
- package/data/resourceTypes/connect.json +123 -123
- package/data/resourceTypes/controltower.json +7 -7
- package/data/resourceTypes/databrew.json +12 -12
- package/data/resourceTypes/dataexchange.json +25 -25
- package/data/resourceTypes/datasync.json +14 -14
- package/data/resourceTypes/devicefarm.json +52 -52
- package/data/resourceTypes/directconnect.json +7 -7
- package/data/resourceTypes/dms.json +8 -8
- package/data/resourceTypes/drs.json +10 -10
- package/data/resourceTypes/dynamodb.json +16 -16
- package/data/resourceTypes/ec2.json +201 -201
- package/data/resourceTypes/ecr-public.json +4 -4
- package/data/resourceTypes/eks.json +38 -38
- package/data/resourceTypes/elasticache.json +66 -66
- package/data/resourceTypes/elasticbeanstalk.json +4 -4
- package/data/resourceTypes/elasticfilesystem.json +6 -6
- package/data/resourceTypes/elasticloadbalancing.json +17 -17
- package/data/resourceTypes/emr-containers.json +7 -7
- package/data/resourceTypes/entityresolution.json +12 -12
- package/data/resourceTypes/es.json +13 -13
- package/data/resourceTypes/events.json +41 -41
- package/data/resourceTypes/evidently.json +9 -9
- package/data/resourceTypes/execute-api.json +4 -4
- package/data/resourceTypes/finspace.json +22 -22
- package/data/resourceTypes/fms.json +6 -6
- package/data/resourceTypes/forecast.json +25 -25
- package/data/resourceTypes/frauddetector.json +20 -20
- package/data/resourceTypes/fsx.json +20 -20
- package/data/resourceTypes/gamelift.json +6 -6
- package/data/resourceTypes/geo.json +7 -7
- package/data/resourceTypes/globalaccelerator.json +6 -6
- package/data/resourceTypes/glue.json +61 -61
- package/data/resourceTypes/greengrass.json +30 -27
- package/data/resourceTypes/groundstation.json +7 -7
- package/data/resourceTypes/guardduty.json +12 -12
- package/data/resourceTypes/health-agent.json +16 -16
- package/data/resourceTypes/honeycode.json +8 -8
- package/data/resourceTypes/iam.json +7 -7
- package/data/resourceTypes/identitystore.json +16 -16
- package/data/resourceTypes/imagebuilder.json +25 -25
- package/data/resourceTypes/inspector2.json +16 -16
- package/data/resourceTypes/internetmonitor.json +4 -4
- package/data/resourceTypes/iot.json +99 -99
- package/data/resourceTypes/iotevents.json +6 -6
- package/data/resourceTypes/iotfleetwise.json +6 -6
- package/data/resourceTypes/iotsitewise.json +27 -27
- package/data/resourceTypes/iottwinmaker.json +12 -12
- package/data/resourceTypes/iotwireless.json +39 -39
- package/data/resourceTypes/iq.json +29 -29
- package/data/resourceTypes/ivs.json +33 -33
- package/data/resourceTypes/ivschat.json +6 -6
- package/data/resourceTypes/kafka-cluster.json +4 -4
- package/data/resourceTypes/kafka.json +10 -10
- package/data/resourceTypes/kafkaconnect.json +7 -7
- package/data/resourceTypes/kendra.json +19 -19
- package/data/resourceTypes/kinesis.json +7 -7
- package/data/resourceTypes/kinesisvideo.json +6 -6
- package/data/resourceTypes/lambda.json +6 -6
- package/data/resourceTypes/lex.json +2 -2
- package/data/resourceTypes/license-manager-user-subscriptions.json +7 -7
- package/data/resourceTypes/license-manager.json +20 -20
- package/data/resourceTypes/lightsail.json +52 -52
- package/data/resourceTypes/logs.json +24 -24
- package/data/resourceTypes/lookoutequipment.json +12 -12
- package/data/resourceTypes/lookoutmetrics.json +7 -7
- package/data/resourceTypes/managedblockchain.json +17 -17
- package/data/resourceTypes/mediaconvert.json +10 -10
- package/data/resourceTypes/medialive.json +47 -47
- package/data/resourceTypes/mediapackage.json +6 -6
- package/data/resourceTypes/mediapackagev2.json +13 -13
- package/data/resourceTypes/mediastore.json +4 -4
- package/data/resourceTypes/mediatailor.json +14 -14
- package/data/resourceTypes/memorydb.json +25 -25
- package/data/resourceTypes/mgh.json +8 -8
- package/data/resourceTypes/mgn.json +33 -33
- package/data/resourceTypes/migrationhub-orchestrator.json +6 -6
- package/data/resourceTypes/mobiletargeting.json +79 -79
- package/data/resourceTypes/neptune-graph.json +4 -4
- package/data/resourceTypes/network-firewall.json +28 -28
- package/data/resourceTypes/networkmanager.json +26 -26
- package/data/resourceTypes/nimble.json +27 -27
- package/data/resourceTypes/notifications.json +11 -11
- package/data/resourceTypes/observabilityadmin.json +9 -9
- package/data/resourceTypes/omics.json +18 -18
- package/data/resourceTypes/one.json +7 -7
- package/data/resourceTypes/opsworks-cm.json +4 -4
- package/data/resourceTypes/organizations.json +10 -10
- package/data/resourceTypes/osis.json +4 -4
- package/data/resourceTypes/panorama.json +7 -7
- package/data/resourceTypes/partnercentral.json +63 -63
- package/data/resourceTypes/payment-cryptography.json +8 -8
- package/data/resourceTypes/personalize.json +48 -48
- package/data/resourceTypes/private-networks.json +12 -12
- package/data/resourceTypes/profile.json +32 -32
- package/data/resourceTypes/proton.json +39 -39
- package/data/resourceTypes/q.json +6 -6
- package/data/resourceTypes/qbusiness.json +22 -22
- package/data/resourceTypes/qldb.json +7 -7
- package/data/resourceTypes/quicksight.json +106 -106
- package/data/resourceTypes/ram.json +17 -17
- package/data/resourceTypes/rds.json +42 -42
- package/data/resourceTypes/redshift-data.json +4 -4
- package/data/resourceTypes/redshift-serverless.json +15 -15
- package/data/resourceTypes/redshift.json +8 -8
- package/data/resourceTypes/refactor-spaces.json +14 -14
- package/data/resourceTypes/rekognition.json +6 -6
- package/data/resourceTypes/resiliencehub.json +9 -9
- package/data/resourceTypes/resource-explorer-2.json +7 -7
- package/data/resourceTypes/robomaker.json +27 -27
- package/data/resourceTypes/rolesanywhere.json +6 -6
- package/data/resourceTypes/route53-recovery-readiness.json +12 -12
- package/data/resourceTypes/route53.json +8 -8
- package/data/resourceTypes/route53resolver.json +34 -34
- package/data/resourceTypes/s3.json +41 -41
- package/data/resourceTypes/s3express.json +8 -8
- package/data/resourceTypes/s3files.json +6 -6
- package/data/resourceTypes/s3tables.json +8 -8
- package/data/resourceTypes/sagemaker.json +223 -223
- package/data/resourceTypes/scheduler.json +4 -4
- package/data/resourceTypes/scn.json +13 -13
- package/data/resourceTypes/securityagent.json +15 -15
- package/data/resourceTypes/securityhub.json +22 -22
- package/data/resourceTypes/ses.json +17 -17
- package/data/resourceTypes/signer.json +4 -4
- package/data/resourceTypes/signin.json +11 -3
- package/data/resourceTypes/sms-voice.json +11 -11
- package/data/resourceTypes/sqlworkbench.json +12 -12
- package/data/resourceTypes/ssm-incidents.json +7 -7
- package/data/resourceTypes/ssm.json +21 -21
- package/data/resourceTypes/sso.json +14 -14
- package/data/resourceTypes/states.json +18 -18
- package/data/resourceTypes/storagegateway.json +8 -2
- package/data/resourceTypes/sts.json +8 -8
- package/data/resourceTypes/supportauthz.json +13 -0
- package/data/resourceTypes/thinclient.json +6 -6
- package/data/resourceTypes/timestream.json +6 -6
- package/data/resourceTypes/tnb.json +12 -12
- package/data/resourceTypes/transcribe.json +21 -21
- package/data/resourceTypes/transfer.json +23 -23
- package/data/resourceTypes/transform.json +4 -4
- package/data/resourceTypes/translate.json +6 -6
- package/data/resourceTypes/waf-regional.json +19 -19
- package/data/resourceTypes/waf.json +19 -19
- package/data/resourceTypes/wafv2.json +35 -35
- package/data/resourceTypes/wellarchitected.json +17 -3
- package/data/resourceTypes/wisdom.json +12 -12
- package/data/resourceTypes/workspaces-instances.json +6 -6
- package/data/resourceTypes/workspaces-web.json +23 -23
- package/data/resourceTypes/workspaces.json +14 -14
- package/data/serviceCategories.json +454 -0
- package/data/serviceNames.json +1 -0
- package/data/services.json +1 -0
- package/data/unassociatedConditions.json +30 -0
- package/dist/cjs/categories.d.ts +55 -0
- package/dist/cjs/categories.d.ts.map +1 -0
- package/dist/cjs/categories.js +83 -0
- package/dist/cjs/categories.js.map +1 -0
- package/dist/cjs/data.d.ts +7 -0
- package/dist/cjs/data.d.ts.map +1 -1
- package/dist/cjs/data.js +10 -0
- package/dist/cjs/data.js.map +1 -1
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/categories.d.ts +55 -0
- package/dist/esm/categories.d.ts.map +1 -0
- package/dist/esm/categories.js +75 -0
- package/dist/esm/categories.js.map +1 -0
- package/dist/esm/data.d.ts +7 -0
- package/dist/esm/data.d.ts.map +1 -1
- package/dist/esm/data.js +9 -0
- package/dist/esm/data.js.map +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Details for an AWS service category and the IAM services assigned to it.
|
|
3
|
+
*/
|
|
4
|
+
export interface CategoryDetails {
|
|
5
|
+
/** Stable lowercase category key. */
|
|
6
|
+
readonly key: string;
|
|
7
|
+
/** Properly capitalized category name from AWS. */
|
|
8
|
+
readonly name: string;
|
|
9
|
+
/** Sorted IAM service keys assigned to the category. */
|
|
10
|
+
readonly services: string[];
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Get all service category keys.
|
|
14
|
+
*
|
|
15
|
+
* @returns an array of all service category keys
|
|
16
|
+
*/
|
|
17
|
+
export declare function serviceCategories(): Promise<string[]>;
|
|
18
|
+
/**
|
|
19
|
+
* Check if a service category exists.
|
|
20
|
+
*
|
|
21
|
+
* @param category the category key to check, is case insensitive
|
|
22
|
+
* @returns true if the category exists, false otherwise
|
|
23
|
+
*/
|
|
24
|
+
export declare function serviceCategoryExists(category: string): Promise<boolean>;
|
|
25
|
+
/**
|
|
26
|
+
* Get the IAM service to category mapping.
|
|
27
|
+
*
|
|
28
|
+
* @returns a map of IAM service keys to category keys
|
|
29
|
+
*/
|
|
30
|
+
export declare function iamServiceCategoryMap(): Promise<Record<string, string>>;
|
|
31
|
+
/**
|
|
32
|
+
* Get IAM service keys assigned to a service category.
|
|
33
|
+
*
|
|
34
|
+
* @param category the category key to get IAM services for, is case insensitive
|
|
35
|
+
* @throws an error if the category does not exist
|
|
36
|
+
* @returns sorted IAM service keys assigned to the category
|
|
37
|
+
*/
|
|
38
|
+
export declare function iamServicesForCategory(category: string): Promise<string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Get the service category key for an IAM service.
|
|
41
|
+
*
|
|
42
|
+
* @param service the IAM service key to get the category for, is case insensitive
|
|
43
|
+
* @throws an error if the service does not exist or has no category mapping
|
|
44
|
+
* @returns the category key for the IAM service
|
|
45
|
+
*/
|
|
46
|
+
export declare function categoryForIamService(service: string): Promise<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Get details for a service category.
|
|
49
|
+
*
|
|
50
|
+
* @param category the category key to get details for, is case insensitive
|
|
51
|
+
* @throws an error if the category does not exist
|
|
52
|
+
* @returns details for the service category
|
|
53
|
+
*/
|
|
54
|
+
export declare function getServiceCategory(category: string): Promise<CategoryDetails>;
|
|
55
|
+
//# sourceMappingURL=categories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"categories.d.ts","sourceRoot":"","sources":["../../src/categories.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,qCAAqC;IACrC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,mDAAmD;IACnD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,wDAAwD;IACxD,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,CAAA;CAC5B;AAED;;;;GAIG;AACH,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAE3D;AAED;;;;;GAKG;AACH,wBAAsB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAG9E;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAE7E;AAED;;;;;;GAMG;AACH,wBAAsB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAGhF;AAED;;;;;;GAMG;AACH,wBAAsB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAa5E;AAED;;;;;;GAMG;AACH,wBAAsB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAOnF"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.serviceCategories = serviceCategories;
|
|
4
|
+
exports.serviceCategoryExists = serviceCategoryExists;
|
|
5
|
+
exports.iamServiceCategoryMap = iamServiceCategoryMap;
|
|
6
|
+
exports.iamServicesForCategory = iamServicesForCategory;
|
|
7
|
+
exports.categoryForIamService = categoryForIamService;
|
|
8
|
+
exports.getServiceCategory = getServiceCategory;
|
|
9
|
+
const data_js_1 = require("./data.js");
|
|
10
|
+
const services_js_1 = require("./services.js");
|
|
11
|
+
/**
|
|
12
|
+
* Get all service category keys.
|
|
13
|
+
*
|
|
14
|
+
* @returns an array of all service category keys
|
|
15
|
+
*/
|
|
16
|
+
async function serviceCategories() {
|
|
17
|
+
return (0, data_js_1.readDataFile)('categories.json');
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Check if a service category exists.
|
|
21
|
+
*
|
|
22
|
+
* @param category the category key to check, is case insensitive
|
|
23
|
+
* @returns true if the category exists, false otherwise
|
|
24
|
+
*/
|
|
25
|
+
async function serviceCategoryExists(category) {
|
|
26
|
+
const categoryNames = await (0, data_js_1.readDataFile)('categoryNames.json');
|
|
27
|
+
return !!categoryNames[category.toLowerCase()];
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Get the IAM service to category mapping.
|
|
31
|
+
*
|
|
32
|
+
* @returns a map of IAM service keys to category keys
|
|
33
|
+
*/
|
|
34
|
+
async function iamServiceCategoryMap() {
|
|
35
|
+
return (0, data_js_1.readDataFile)('serviceCategories.json');
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Get IAM service keys assigned to a service category.
|
|
39
|
+
*
|
|
40
|
+
* @param category the category key to get IAM services for, is case insensitive
|
|
41
|
+
* @throws an error if the category does not exist
|
|
42
|
+
* @returns sorted IAM service keys assigned to the category
|
|
43
|
+
*/
|
|
44
|
+
async function iamServicesForCategory(category) {
|
|
45
|
+
const categoryDetails = await getServiceCategory(category);
|
|
46
|
+
return categoryDetails.services;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get the service category key for an IAM service.
|
|
50
|
+
*
|
|
51
|
+
* @param service the IAM service key to get the category for, is case insensitive
|
|
52
|
+
* @throws an error if the service does not exist or has no category mapping
|
|
53
|
+
* @returns the category key for the IAM service
|
|
54
|
+
*/
|
|
55
|
+
async function categoryForIamService(service) {
|
|
56
|
+
const serviceKey = service.toLowerCase();
|
|
57
|
+
const serviceExists = await (0, services_js_1.iamServiceExists)(serviceKey);
|
|
58
|
+
if (!serviceExists) {
|
|
59
|
+
throw new Error(`Service ${service} does not exist`);
|
|
60
|
+
}
|
|
61
|
+
const serviceCategories = await iamServiceCategoryMap();
|
|
62
|
+
const category = serviceCategories[serviceKey];
|
|
63
|
+
if (!category) {
|
|
64
|
+
throw new Error(`Category for service ${service} does not exist`);
|
|
65
|
+
}
|
|
66
|
+
return category;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Get details for a service category.
|
|
70
|
+
*
|
|
71
|
+
* @param category the category key to get details for, is case insensitive
|
|
72
|
+
* @throws an error if the category does not exist
|
|
73
|
+
* @returns details for the service category
|
|
74
|
+
*/
|
|
75
|
+
async function getServiceCategory(category) {
|
|
76
|
+
const categoryKey = category.toLowerCase();
|
|
77
|
+
const exists = await serviceCategoryExists(categoryKey);
|
|
78
|
+
if (!exists) {
|
|
79
|
+
throw new Error(`Category ${category} does not exist`);
|
|
80
|
+
}
|
|
81
|
+
return (0, data_js_1.readCategoryDetails)(categoryKey);
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=categories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"categories.js","sourceRoot":"","sources":["../../src/categories.ts"],"names":[],"mappings":";;AAoBA,8CAEC;AAQ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ED;;;;;;GAMG;AACI,KAAK,UAAU,kBAAkB,CAAC,QAAgB;IACvD,MAAM,WAAW,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAA;IAC1C,MAAM,MAAM,GAAG,MAAM,qBAAqB,CAAC,WAAW,CAAC,CAAA;IACvD,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,MAAM,IAAI,KAAK,CAAC,YAAY,QAAQ,iBAAiB,CAAC,CAAA;IACxD,CAAC;IACD,OAAO,IAAA,6BAAmB,EAAkB,WAAW,CAAC,CAAA;AAC1D,CAAC"}
|
package/dist/cjs/data.d.ts
CHANGED
|
@@ -20,6 +20,13 @@ export declare function readConditionKeys<T>(serviceKey: string): Promise<T>;
|
|
|
20
20
|
* @returns the resource type data
|
|
21
21
|
*/
|
|
22
22
|
export declare function readResourceTypes<T>(serviceKey: string): Promise<T>;
|
|
23
|
+
/**
|
|
24
|
+
* Read the category details data for a category
|
|
25
|
+
*
|
|
26
|
+
* @param categoryKey the category key to read details for
|
|
27
|
+
* @returns the category details data
|
|
28
|
+
*/
|
|
29
|
+
export declare function readCategoryDetails<T>(categoryKey: string): Promise<T>;
|
|
23
30
|
/**
|
|
24
31
|
* Read the condition patterns data
|
|
25
32
|
*
|
package/dist/cjs/data.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../src/data.ts"],"names":[],"mappings":"AAKA,wBAAsB,YAAY,CAAC,CAAC,EAAE,GAAG,SAAS,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC,CA0BxE;AAED;;;;;GAKG;AACH,wBAAsB,cAAc,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAEtE;AAED;;;;;GAKG;AACH,wBAAsB,iBAAiB,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAEzE;AAED;;;;;GAKG;AACH,w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-4,6 +4,7 @@ exports.readDataFile = readDataFile;
|
|
|
4
4
|
exports.readActionData = readActionData;
|
|
5
5
|
exports.readConditionKeys = readConditionKeys;
|
|
6
6
|
exports.readResourceTypes = readResourceTypes;
|
|
7
|
+
exports.readCategoryDetails = readCategoryDetails;
|
|
7
8
|
exports.readConditionPatterns = readConditionPatterns;
|
|
8
9
|
exports.readUnassociatedConditions = readUnassociatedConditions;
|
|
9
10
|
const readRelativeFile_js_1 = require("./readRelativeFile.js");
|
|
@@ -60,6 +61,15 @@ async function readConditionKeys(serviceKey) {
|
|
|
60
61
|
async function readResourceTypes(serviceKey) {
|
|
61
62
|
return readDataFile('resourceTypes', `${serviceKey}.json`);
|
|
62
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* Read the category details data for a category
|
|
66
|
+
*
|
|
67
|
+
* @param categoryKey the category key to read details for
|
|
68
|
+
* @returns the category details data
|
|
69
|
+
*/
|
|
70
|
+
async function readCategoryDetails(categoryKey) {
|
|
71
|
+
return readDataFile('categories', `${categoryKey}.json`);
|
|
72
|
+
}
|
|
63
73
|
/**
|
|
64
74
|
* Read the condition patterns data
|
|
65
75
|
*
|
package/dist/cjs/data.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../src/data.ts"],"names":[],"mappings":";;AAKA,oCA0BC;AAQD,wCAEC;AAQD,8CAEC;AAQD,8CAEC;AAOD,sDAEC;AAOD,gEAEC;
|
|
1
|
+
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../src/data.ts"],"names":[],"mappings":";;AAKA,oCA0BC;AAQD,wCAEC;AAQD,8CAEC;AAQD,8CAEC;AAQD,kDAEC;AAOD,sDAEC;AAOD,gEAEC;AAzFD,+DAAwD;AAExD,MAAM,SAAS,GAAwB,EAAE,CAAA;AACzC,MAAM,YAAY,GAAiC,EAAE,CAAA;AAE9C,KAAK,UAAU,YAAY,CAAI,GAAG,SAAmB;IAC1D,SAAS,CAAC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AAO,YAAY,CAAI,YAAY,EAAE,GAAG,WAAW,OAAO,CAAC,CAAA;AAC7D,CAAC;AAED;;;;GAIG;AACI,KAAK,UAAU,qBAAqB;IACzC,OAAO,YAAY,CAAyC,wBAAwB,CAAC,CAAA;AACvF,CAAC;AAED;;;;GAIG;AACI,KAAK,UAAU,0BAA0B;IAC9C,OAAO,YAAY,CAA2B,6BAA6B,CAAC,CAAA;AAC9E,CAAC"}
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './actions.js';
|
|
2
|
+
export * from './categories.js';
|
|
2
3
|
export * from './conditionKeys.js';
|
|
3
4
|
export { findConditionKey } from './findConditionKey.js';
|
|
4
5
|
export { getAllGlobalConditionKeys, getGlobalConditionKeyByName, getGlobalConditionKeyByPrefix, type GlobalConditionKey } from './globalConditionKeys.js';
|
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC7B,KAAK,kBAAkB,EACxB,MAAM,0BAA0B,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC7B,KAAK,kBAAkB,EACxB,MAAM,0BAA0B,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.getGlobalConditionKeyByPrefix = exports.getGlobalConditionKeyByName = exports.getAllGlobalConditionKeys = exports.findConditionKey = void 0;
|
|
18
18
|
__exportStar(require("./actions.js"), exports);
|
|
19
|
+
__exportStar(require("./categories.js"), exports);
|
|
19
20
|
__exportStar(require("./conditionKeys.js"), exports);
|
|
20
21
|
var findConditionKey_js_1 = require("./findConditionKey.js");
|
|
21
22
|
Object.defineProperty(exports, "findConditionKey", { enumerable: true, get: function () { return findConditionKey_js_1.findConditionKey; } });
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,qDAAkC;AAClC,6DAAwD;AAA/C,uHAAA,gBAAgB,OAAA;AACzB,mEAKiC;AAJ/B,mIAAA,yBAAyB,OAAA;AACzB,qIAAA,2BAA2B,OAAA;AAC3B,uIAAA,6BAA6B,OAAA;AAG/B,qDAAkC;AAClC,gDAA6B;AAC7B,+CAA4B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,kDAA+B;AAC/B,qDAAkC;AAClC,6DAAwD;AAA/C,uHAAA,gBAAgB,OAAA;AACzB,mEAKiC;AAJ/B,mIAAA,yBAAyB,OAAA;AACzB,qIAAA,2BAA2B,OAAA;AAC3B,uIAAA,6BAA6B,OAAA;AAG/B,qDAAkC;AAClC,gDAA6B;AAC7B,+CAA4B"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Details for an AWS service category and the IAM services assigned to it.
|
|
3
|
+
*/
|
|
4
|
+
export interface CategoryDetails {
|
|
5
|
+
/** Stable lowercase category key. */
|
|
6
|
+
readonly key: string;
|
|
7
|
+
/** Properly capitalized category name from AWS. */
|
|
8
|
+
readonly name: string;
|
|
9
|
+
/** Sorted IAM service keys assigned to the category. */
|
|
10
|
+
readonly services: string[];
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Get all service category keys.
|
|
14
|
+
*
|
|
15
|
+
* @returns an array of all service category keys
|
|
16
|
+
*/
|
|
17
|
+
export declare function serviceCategories(): Promise<string[]>;
|
|
18
|
+
/**
|
|
19
|
+
* Check if a service category exists.
|
|
20
|
+
*
|
|
21
|
+
* @param category the category key to check, is case insensitive
|
|
22
|
+
* @returns true if the category exists, false otherwise
|
|
23
|
+
*/
|
|
24
|
+
export declare function serviceCategoryExists(category: string): Promise<boolean>;
|
|
25
|
+
/**
|
|
26
|
+
* Get the IAM service to category mapping.
|
|
27
|
+
*
|
|
28
|
+
* @returns a map of IAM service keys to category keys
|
|
29
|
+
*/
|
|
30
|
+
export declare function iamServiceCategoryMap(): Promise<Record<string, string>>;
|
|
31
|
+
/**
|
|
32
|
+
* Get IAM service keys assigned to a service category.
|
|
33
|
+
*
|
|
34
|
+
* @param category the category key to get IAM services for, is case insensitive
|
|
35
|
+
* @throws an error if the category does not exist
|
|
36
|
+
* @returns sorted IAM service keys assigned to the category
|
|
37
|
+
*/
|
|
38
|
+
export declare function iamServicesForCategory(category: string): Promise<string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Get the service category key for an IAM service.
|
|
41
|
+
*
|
|
42
|
+
* @param service the IAM service key to get the category for, is case insensitive
|
|
43
|
+
* @throws an error if the service does not exist or has no category mapping
|
|
44
|
+
* @returns the category key for the IAM service
|
|
45
|
+
*/
|
|
46
|
+
export declare function categoryForIamService(service: string): Promise<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Get details for a service category.
|
|
49
|
+
*
|
|
50
|
+
* @param category the category key to get details for, is case insensitive
|
|
51
|
+
* @throws an error if the category does not exist
|
|
52
|
+
* @returns details for the service category
|
|
53
|
+
*/
|
|
54
|
+
export declare function getServiceCategory(category: string): Promise<CategoryDetails>;
|
|
55
|
+
//# sourceMappingURL=categories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"categories.d.ts","sourceRoot":"","sources":["../../src/categories.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,qCAAqC;IACrC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,mDAAmD;IACnD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,wDAAwD;IACxD,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,CAAA;CAC5B;AAED;;;;GAIG;AACH,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAE3D;AAED;;;;;GAKG;AACH,wBAAsB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAG9E;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAE7E;AAED;;;;;;GAMG;AACH,wBAAsB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAGhF;AAED;;;;;;GAMG;AACH,wBAAsB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAa5E;AAED;;;;;;GAMG;AACH,wBAAsB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAOnF"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { readCategoryDetails, readDataFile } from './data.js';
|
|
2
|
+
import { iamServiceExists } from './services.js';
|
|
3
|
+
/**
|
|
4
|
+
* Get all service category keys.
|
|
5
|
+
*
|
|
6
|
+
* @returns an array of all service category keys
|
|
7
|
+
*/
|
|
8
|
+
export async function serviceCategories() {
|
|
9
|
+
return readDataFile('categories.json');
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Check if a service category exists.
|
|
13
|
+
*
|
|
14
|
+
* @param category the category key to check, is case insensitive
|
|
15
|
+
* @returns true if the category exists, false otherwise
|
|
16
|
+
*/
|
|
17
|
+
export async function serviceCategoryExists(category) {
|
|
18
|
+
const categoryNames = await readDataFile('categoryNames.json');
|
|
19
|
+
return !!categoryNames[category.toLowerCase()];
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Get the IAM service to category mapping.
|
|
23
|
+
*
|
|
24
|
+
* @returns a map of IAM service keys to category keys
|
|
25
|
+
*/
|
|
26
|
+
export async function iamServiceCategoryMap() {
|
|
27
|
+
return readDataFile('serviceCategories.json');
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Get IAM service keys assigned to a service category.
|
|
31
|
+
*
|
|
32
|
+
* @param category the category key to get IAM services for, is case insensitive
|
|
33
|
+
* @throws an error if the category does not exist
|
|
34
|
+
* @returns sorted IAM service keys assigned to the category
|
|
35
|
+
*/
|
|
36
|
+
export async function iamServicesForCategory(category) {
|
|
37
|
+
const categoryDetails = await getServiceCategory(category);
|
|
38
|
+
return categoryDetails.services;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Get the service category key for an IAM service.
|
|
42
|
+
*
|
|
43
|
+
* @param service the IAM service key to get the category for, is case insensitive
|
|
44
|
+
* @throws an error if the service does not exist or has no category mapping
|
|
45
|
+
* @returns the category key for the IAM service
|
|
46
|
+
*/
|
|
47
|
+
export async function categoryForIamService(service) {
|
|
48
|
+
const serviceKey = service.toLowerCase();
|
|
49
|
+
const serviceExists = await iamServiceExists(serviceKey);
|
|
50
|
+
if (!serviceExists) {
|
|
51
|
+
throw new Error(`Service ${service} does not exist`);
|
|
52
|
+
}
|
|
53
|
+
const serviceCategories = await iamServiceCategoryMap();
|
|
54
|
+
const category = serviceCategories[serviceKey];
|
|
55
|
+
if (!category) {
|
|
56
|
+
throw new Error(`Category for service ${service} does not exist`);
|
|
57
|
+
}
|
|
58
|
+
return category;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Get details for a service category.
|
|
62
|
+
*
|
|
63
|
+
* @param category the category key to get details for, is case insensitive
|
|
64
|
+
* @throws an error if the category does not exist
|
|
65
|
+
* @returns details for the service category
|
|
66
|
+
*/
|
|
67
|
+
export async function getServiceCategory(category) {
|
|
68
|
+
const categoryKey = category.toLowerCase();
|
|
69
|
+
const exists = await serviceCategoryExists(categoryKey);
|
|
70
|
+
if (!exists) {
|
|
71
|
+
throw new Error(`Category ${category} does not exist`);
|
|
72
|
+
}
|
|
73
|
+
return readCategoryDetails(categoryKey);
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=categories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"categories.js","sourceRoot":"","sources":["../../src/categories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAchD;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB;IACrC,OAAO,YAAY,CAAW,iBAAiB,CAAC,CAAA;AAClD,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAC,QAAgB;IAC1D,MAAM,aAAa,GAAG,MAAM,YAAY,CAAyB,oBAAoB,CAAC,CAAA;IACtF,OAAO,CAAC,CAAC,aAAa,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAA;AAChD,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,KAAK,UA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serviceKey: string): Promise<T>;
|
|
|
20
20
|
* @returns the resource type data
|
|
21
21
|
*/
|
|
22
22
|
export declare function readResourceTypes<T>(serviceKey: string): Promise<T>;
|
|
23
|
+
/**
|
|
24
|
+
* Read the category details data for a category
|
|
25
|
+
*
|
|
26
|
+
* @param categoryKey the category key to read details for
|
|
27
|
+
* @returns the category details data
|
|
28
|
+
*/
|
|
29
|
+
export declare function readCategoryDetails<T>(categoryKey: string): Promise<T>;
|
|
23
30
|
/**
|
|
24
31
|
* Read the condition patterns data
|
|
25
32
|
*
|
package/dist/esm/data.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../src/data.ts"],"names":[],"mappings":"AAKA,wBAAsB,YAAY,CAAC,CAAC,EAAE,GAAG,SAAS,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC,CA0BxE;AAED;;;;;GAKG;AACH,wBAAsB,cAAc,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAEtE;AAED;;;;;GAKG;AACH,wBAAsB,iBAAiB,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAEzE;AAED;;;;;GAKG;AACH,wBAAsB,iBAAiB,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAEzE;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAE7F;AAED;;;;GAIG;AACH,wBAAsB,0BAA0B,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAEpF"}
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../src/data.ts"],"names":[],"mappings":"AAKA,wBAAsB,YAAY,CAAC,CAAC,EAAE,GAAG,SAAS,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC,CA0BxE;AAED;;;;;GAKG;AACH,wBAAsB,cAAc,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAEtE;AAED;;;;;GAKG;AACH,wBAAsB,iBAAiB,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAEzE;AAED;;;;;GAKG;AACH,wBAAsB,iBAAiB,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAEzE;AAED;;;;;GAKG;AACH,wBAAsB,mBAAmB,CAAC,CAAC,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAE5E;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAE7F;AAED;;;;GAIG;AACH,wBAAsB,0BAA0B,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAEpF"}
|
package/dist/esm/data.js
CHANGED
|
@@ -52,6 +52,15 @@ export async function readConditionKeys(serviceKey) {
|
|
|
52
52
|
export async function readResourceTypes(serviceKey) {
|
|
53
53
|
return readDataFile('resourceTypes', `${serviceKey}.json`);
|
|
54
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* Read the category details data for a category
|
|
57
|
+
*
|
|
58
|
+
* @param categoryKey the category key to read details for
|
|
59
|
+
* @returns the category details data
|
|
60
|
+
*/
|
|
61
|
+
export async function readCategoryDetails(categoryKey) {
|
|
62
|
+
return readDataFile('categories', `${categoryKey}.json`);
|
|
63
|
+
}
|
|
55
64
|
/**
|
|
56
65
|
* Read the condition patterns data
|
|
57
66
|
*
|
package/dist/esm/data.js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|
3
4
|
export { findConditionKey } from './findConditionKey.js';
|
|
4
5
|
export { getAllGlobalConditionKeys, getGlobalConditionKeyByName, getGlobalConditionKeyByPrefix, type GlobalConditionKey } from './globalConditionKeys.js';
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC7B,KAAK,kBAAkB,EACxB,MAAM,0BAA0B,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC7B,KAAK,kBAAkB,EACxB,MAAM,0BAA0B,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA"}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './actions.js';
|
|
2
|
+
export * from './categories.js';
|
|
2
3
|
export * from './conditionKeys.js';
|
|
3
4
|
export { findConditionKey } from './findConditionKey.js';
|
|
4
5
|
export { getAllGlobalConditionKeys, getGlobalConditionKeyByName, getGlobalConditionKeyByPrefix } from './globalConditionKeys.js';
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAE9B,MAAM,0BAA0B,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAE9B,MAAM,0BAA0B,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloud-copilot/iam-data",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.202607151",
|
|
4
4
|
"description": "AWS IAM Data",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/cloud-copilot/iam-data.git"
|
|
8
8
|
},
|
|
9
|
-
"updatedAt": "2026-07-
|
|
9
|
+
"updatedAt": "2026-07-15T15:32:31.487Z",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
12
|
"import": "./dist/esm/index.js",
|