@cloud-copilot/iam-data 0.2.202408312 → 0.2.202408313
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 +2 -0
- package/data/actions/a2c.json +4 -4
- package/data/actions/a4b.json +96 -96
- package/data/actions/access-analyzer.json +34 -34
- package/data/actions/account.json +16 -16
- package/data/actions/acm-pca.json +23 -23
- package/data/actions/acm.json +15 -15
- package/data/actions/activate.json +8 -8
- package/data/actions/airflow.json +11 -11
- package/data/actions/amplify.json +37 -37
- package/data/actions/amplifybackend.json +31 -31
- package/data/actions/amplifyuibuilder.json +29 -29
- package/data/actions/aoss.json +39 -39
- package/data/actions/apigateway.json +9 -9
- package/data/actions/app-integrations.json +28 -28
- package/data/actions/appconfig.json +45 -45
- package/data/actions/appfabric.json +26 -26
- package/data/actions/appflow.json +31 -31
- package/data/actions/application-autoscaling.json +13 -13
- package/data/actions/application-cost-profiler.json +6 -6
- package/data/actions/application-signals.json +15 -15
- package/data/actions/application-transformation.json +14 -14
- package/data/actions/applicationinsights.json +34 -34
- package/data/actions/appmesh-preview.json +39 -39
- package/data/actions/appmesh.json +42 -42
- package/data/actions/apprunner.json +42 -42
- package/data/actions/appstream.json +80 -80
- package/data/actions/appstudio.json +5 -5
- package/data/actions/appsync.json +70 -70
- package/data/actions/apptest.json +24 -24
- package/data/actions/aps.json +42 -42
- package/data/actions/arc-zonal-shift.json +13 -13
- package/data/actions/arsenal.json +1 -1
- package/data/actions/artifact.json +10 -10
- package/data/actions/athena.json +79 -79
- package/data/actions/auditmanager.json +62 -62
- package/data/actions/autoscaling-plans.json +6 -6
- package/data/actions/autoscaling.json +65 -65
- package/data/actions/aws-marketplace-management.json +13 -13
- package/data/actions/aws-marketplace.json +54 -54
- package/data/actions/aws-portal.json +9 -9
- package/data/actions/awsconnector.json +3 -3
- package/data/actions/b2bi.json +27 -27
- package/data/actions/backup-gateway.json +27 -27
- package/data/actions/backup-storage.json +15 -15
- package/data/actions/backup.json +96 -96
- package/data/actions/batch.json +25 -25
- package/data/actions/bcm-data-exports.json +12 -12
- package/data/actions/bedrock.json +123 -282
- package/data/actions/billing.json +13 -13
- package/data/actions/billingconductor.json +32 -32
- package/data/actions/braket.json +17 -17
- package/data/actions/budgets.json +13 -13
- package/data/actions/bugbust.json +17 -17
- package/data/actions/cases.json +35 -35
- package/data/actions/cassandra.json +17 -17
- package/data/actions/ce.json +53 -53
- package/data/actions/chatbot.json +31 -31
- package/data/actions/chime.json +309 -309
- package/data/actions/cleanrooms-ml.json +25 -25
- package/data/actions/cleanrooms.json +80 -80
- package/data/actions/cloud9.json +30 -30
- package/data/actions/clouddirectory.json +66 -66
- package/data/actions/cloudformation.json +93 -93
- package/data/actions/cloudfront-keyvaluestore.json +6 -6
- package/data/actions/cloudfront.json +118 -118
- package/data/actions/cloudhsm.json +18 -18
- package/data/actions/cloudsearch.json +29 -29
- package/data/actions/cloudshell.json +10 -10
- package/data/actions/cloudtrail-data.json +1 -1
- package/data/actions/cloudtrail.json +55 -55
- package/data/actions/cloudwatch.json +53 -53
- package/data/actions/codeartifact.json +51 -51
- package/data/actions/codebuild.json +58 -58
- package/data/actions/codecatalyst.json +30 -30
- package/data/actions/codecommit.json +90 -90
- package/data/actions/codeconnections.json +38 -38
- package/data/actions/codedeploy-commands-secure.json +4 -4
- package/data/actions/codedeploy.json +48 -48
- package/data/actions/codeguru-profiler.json +23 -23
- package/data/actions/codeguru-reviewer.json +17 -17
- package/data/actions/codeguru-security.json +15 -15
- package/data/actions/codeguru.json +1 -1
- package/data/actions/codepipeline.json +43 -43
- package/data/actions/codestar-connections.json +38 -38
- package/data/actions/codestar-notifications.json +13 -13
- package/data/actions/codestar.json +22 -22
- package/data/actions/codewhisperer.json +18 -18
- package/data/actions/cognito-identity.json +26 -26
- package/data/actions/cognito-idp.json +107 -107
- package/data/actions/cognito-sync.json +19 -19
- package/data/actions/comprehend.json +85 -85
- package/data/actions/comprehendmedical.json +25 -25
- package/data/actions/compute-optimizer.json +26 -26
- package/data/actions/config.json +92 -92
- package/data/actions/connect-campaigns.json +22 -22
- package/data/actions/connect.json +260 -260
- package/data/actions/consoleapp.json +2 -2
- package/data/actions/consolidatedbilling.json +2 -2
- package/data/actions/controlcatalog.json +5 -5
- package/data/actions/controltower.json +64 -64
- package/data/actions/cost-optimization-hub.json +7 -7
- package/data/actions/cur.json +12 -12
- package/data/actions/customer-verification.json +5 -5
- package/data/actions/databrew.json +44 -44
- package/data/actions/dataexchange.json +32 -32
- package/data/actions/datapipeline.json +21 -21
- package/data/actions/datasync.json +60 -60
- package/data/actions/datazone.json +165 -165
- package/data/actions/dax.json +30 -30
- package/data/actions/dbqms.json +13 -13
- package/data/actions/deadline.json +103 -103
- package/data/actions/deepcomposer.json +18 -18
- package/data/actions/deeplens.json +24 -24
- package/data/actions/deepracer.json +51 -51
- package/data/actions/detective.json +36 -36
- package/data/actions/devicefarm.json +77 -77
- package/data/actions/devops-guru.json +31 -31
- package/data/actions/directconnect.json +63 -63
- package/data/actions/discovery.json +29 -29
- package/data/actions/dlm.json +8 -8
- package/data/actions/dms.json +134 -134
- package/data/actions/docdb-elastic.json +16 -16
- package/data/actions/drs.json +90 -90
- package/data/actions/ds.json +77 -77
- package/data/actions/dynamodb.json +69 -69
- package/data/actions/ebs.json +6 -6
- package/data/actions/ec2-instance-connect.json +3 -3
- package/data/actions/ec2.json +641 -641
- package/data/actions/ec2messages.json +6 -6
- package/data/actions/ecr-public.json +23 -23
- package/data/actions/ecr.json +51 -51
- package/data/actions/ecs.json +58 -58
- package/data/actions/eks-auth.json +1 -1
- package/data/actions/eks.json +57 -57
- package/data/actions/elastic-inference.json +7 -7
- package/data/actions/elasticache.json +77 -77
- package/data/actions/elasticbeanstalk.json +50 -50
- package/data/actions/elasticfilesystem.json +36 -36
- package/data/actions/elasticloadbalancing.json +67 -67
- package/data/actions/elasticmapreduce.json +82 -82
- package/data/actions/elastictranscoder.json +17 -17
- package/data/actions/elemental-activations.json +13 -13
- package/data/actions/elemental-appliances-software.json +14 -14
- package/data/actions/elemental-support-cases.json +5 -5
- package/data/actions/elemental-support-content.json +1 -1
- package/data/actions/emr-containers.json +23 -23
- package/data/actions/emr-serverless.json +18 -18
- package/data/actions/entityresolution.json +39 -39
- package/data/actions/es.json +97 -97
- package/data/actions/events.json +59 -59
- package/data/actions/evidently.json +38 -38
- package/data/actions/execute-api.json +3 -3
- package/data/actions/finspace-api.json +1 -1
- package/data/actions/finspace.json +59 -59
- package/data/actions/firehose.json +12 -12
- package/data/actions/fis.json +27 -27
- package/data/actions/fms.json +42 -42
- package/data/actions/forecast.json +70 -70
- package/data/actions/frauddetector.json +76 -76
- package/data/actions/freertos.json +20 -20
- package/data/actions/freetier.json +3 -3
- package/data/actions/fsx.json +53 -53
- package/data/actions/gamelift.json +108 -108
- package/data/actions/geo.json +60 -60
- package/data/actions/glacier.json +33 -33
- package/data/actions/globalaccelerator.json +56 -56
- package/data/actions/glue.json +258 -258
- package/data/actions/grafana.json +25 -25
- package/data/actions/greengrass.json +112 -112
- package/data/actions/groundstation.json +33 -33
- package/data/actions/groundtruthlabeling.json +16 -16
- package/data/actions/guardduty.json +75 -75
- package/data/actions/health.json +14 -14
- package/data/actions/healthlake.json +25 -25
- package/data/actions/honeycode.json +30 -30
- package/data/actions/iam.json +171 -171
- package/data/actions/identity-sync.json +13 -13
- package/data/actions/identitystore-auth.json +3 -3
- package/data/actions/identitystore.json +19 -19
- package/data/actions/imagebuilder.json +73 -73
- package/data/actions/importexport.json +6 -6
- package/data/actions/inspector-scan.json +1 -1
- package/data/actions/inspector.json +37 -37
- package/data/actions/inspector2.json +59 -59
- package/data/actions/internetmonitor.json +17 -17
- package/data/actions/invoicing.json +4 -4
- package/data/actions/iot-device-tester.json +5 -5
- package/data/actions/iot.json +271 -271
- package/data/actions/iot1click.json +26 -26
- package/data/actions/iotanalytics.json +34 -34
- package/data/actions/iotdeviceadvisor.json +14 -14
- package/data/actions/iotevents.json +39 -39
- package/data/actions/iotfleethub.json +8 -8
- package/data/actions/iotfleetwise.json +52 -52
- package/data/actions/iotjobsdata.json +4 -4
- package/data/actions/iotroborunner.json +20 -20
- package/data/actions/iotsitewise.json +86 -86
- package/data/actions/iottwinmaker.json +40 -40
- package/data/actions/iotwireless.json +113 -113
- package/data/actions/iq-permission.json +9 -9
- package/data/actions/iq.json +63 -63
- package/data/actions/ivs.json +63 -63
- package/data/actions/ivschat.json +17 -17
- package/data/actions/kafka-cluster.json +19 -19
- package/data/actions/kafka.json +52 -52
- package/data/actions/kafkaconnect.json +16 -16
- package/data/actions/kendra-ranking.json +9 -9
- package/data/actions/kendra.json +66 -66
- package/data/actions/kinesis.json +32 -32
- package/data/actions/kinesisanalytics.json +34 -34
- package/data/actions/kinesisvideo.json +44 -44
- package/data/actions/kms.json +55 -55
- package/data/actions/lakeformation.json +53 -53
- package/data/actions/lambda.json +70 -70
- package/data/actions/launchwizard.json +37 -37
- package/data/actions/lex.json +145 -145
- package/data/actions/license-manager-linux-subscriptions.json +11 -11
- package/data/actions/license-manager-user-subscriptions.json +11 -11
- package/data/actions/license-manager.json +50 -50
- package/data/actions/lightsail.json +161 -161
- package/data/actions/logs.json +82 -82
- package/data/actions/lookoutequipment.json +49 -49
- package/data/actions/lookoutmetrics.json +30 -30
- package/data/actions/lookoutvision.json +25 -25
- package/data/actions/m2.json +34 -34
- package/data/actions/machinelearning.json +28 -28
- package/data/actions/macie2.json +81 -81
- package/data/actions/managedblockchain-query.json +9 -9
- package/data/actions/managedblockchain.json +34 -34
- package/data/actions/mapcredits.json +3 -3
- package/data/actions/marketplacecommerceanalytics.json +2 -2
- package/data/actions/mechanicalturk.json +39 -39
- package/data/actions/mediaconnect.json +54 -54
- package/data/actions/mediaconvert.json +29 -29
- package/data/actions/mediaimport.json +1 -1
- package/data/actions/medialive.json +92 -92
- package/data/actions/mediapackage-vod.json +17 -17
- package/data/actions/mediapackage.json +19 -19
- package/data/actions/mediapackagev2.json +27 -27
- package/data/actions/mediastore.json +26 -26
- package/data/actions/mediatailor.json +44 -44
- package/data/actions/medical-imaging.json +21 -21
- package/data/actions/memorydb.json +39 -39
- package/data/actions/mgh.json +21 -21
- package/data/actions/mgn.json +104 -104
- package/data/actions/migrationhub-orchestrator.json +34 -34
- package/data/actions/migrationhub-strategy.json +31 -31
- package/data/actions/mobileanalytics.json +3 -3
- package/data/actions/mobiletargeting.json +123 -123
- package/data/actions/monitron.json +18 -18
- package/data/actions/mq.json +24 -24
- package/data/actions/neptune-db.json +32 -32
- package/data/actions/neptune-graph.json +32 -32
- package/data/actions/network-firewall.json +36 -36
- package/data/actions/networkmanager-chat.json +7 -7
- package/data/actions/networkmanager.json +85 -85
- package/data/actions/networkmonitor.json +12 -12
- package/data/actions/nimble.json +51 -51
- package/data/actions/notifications-contacts.json +9 -9
- package/data/actions/notifications.json +21 -21
- package/data/actions/oam.json +15 -15
- package/data/actions/omics.json +82 -82
- package/data/actions/one.json +27 -27
- package/data/actions/opsworks-cm.json +19 -19
- package/data/actions/opsworks.json +74 -74
- package/data/actions/organizations.json +55 -55
- package/data/actions/osis.json +15 -15
- package/data/actions/outposts.json +33 -33
- package/data/actions/panorama.json +36 -36
- package/data/actions/partnercentral-account-management.json +3 -3
- package/data/actions/payment-cryptography.json +31 -31
- package/data/actions/payments.json +12 -12
- package/data/actions/pca-connector-ad.json +25 -25
- package/data/actions/pca-connector-scep.json +12 -12
- package/data/actions/personalize.json +82 -82
- package/data/actions/pi.json +13 -13
- package/data/actions/pipes.json +10 -10
- package/data/actions/polly.json +9 -9
- package/data/actions/pricing.json +5 -5
- package/data/actions/private-networks.json +26 -26
- package/data/actions/profile.json +54 -54
- package/data/actions/proton.json +111 -111
- package/data/actions/purchase-orders.json +14 -14
- package/data/actions/q.json +12 -12
- package/data/actions/qapps.json +32 -32
- package/data/actions/qbusiness.json +65 -65
- package/data/actions/qldb.json +35 -35
- package/data/actions/quicksight.json +205 -244
- package/data/actions/ram.json +34 -34
- package/data/actions/rbin.json +10 -10
- package/data/actions/rds-data.json +6 -6
- package/data/actions/rds.json +167 -167
- package/data/actions/redshift-data.json +10 -10
- package/data/actions/redshift-serverless.json +60 -104
- package/data/actions/redshift.json +158 -196
- package/data/actions/refactor-spaces.json +24 -24
- package/data/actions/rekognition.json +76 -76
- package/data/actions/repostspace.json +11 -11
- package/data/actions/resiliencehub.json +60 -60
- package/data/actions/resource-explorer-2.json +24 -24
- package/data/actions/resource-explorer.json +3 -3
- package/data/actions/resource-groups.json +24 -24
- package/data/actions/rhelkb.json +1 -1
- package/data/actions/robomaker.json +59 -59
- package/data/actions/rolesanywhere.json +30 -30
- package/data/actions/route53-recovery-cluster.json +4 -4
- package/data/actions/route53-recovery-control-config.json +25 -25
- package/data/actions/route53-recovery-readiness.json +32 -32
- package/data/actions/route53.json +70 -70
- package/data/actions/route53domains.json +34 -34
- package/data/actions/route53profiles.json +18 -18
- package/data/actions/route53resolver.json +68 -68
- package/data/actions/rum.json +17 -17
- package/data/actions/s3-object-lambda.json +26 -26
- package/data/actions/s3-outposts.json +48 -48
- package/data/actions/s3.json +159 -159
- package/data/actions/s3express.json +7 -7
- package/data/actions/sagemaker-geospatial.json +19 -19
- package/data/actions/sagemaker-groundtruth-synthetic.json +12 -12
- package/data/actions/sagemaker-mlflow.json +45 -45
- package/data/actions/sagemaker.json +366 -366
- package/data/actions/savingsplans.json +10 -10
- package/data/actions/scheduler.json +12 -12
- package/data/actions/schemas.json +31 -31
- package/data/actions/scn.json +16 -16
- package/data/actions/sdb.json +10 -10
- package/data/actions/secretsmanager.json +23 -23
- package/data/actions/securityhub.json +89 -89
- package/data/actions/securitylake.json +32 -32
- package/data/actions/serverlessrepo.json +15 -15
- package/data/actions/servicecatalog.json +114 -114
- package/data/actions/servicediscovery.json +27 -27
- package/data/actions/serviceextract.json +1 -1
- package/data/actions/servicequotas.json +19 -19
- package/data/actions/ses.json +193 -193
- package/data/actions/shield.json +36 -36
- package/data/actions/signer.json +19 -19
- package/data/actions/signin.json +2 -2
- package/data/actions/simspaceweaver.json +16 -16
- package/data/actions/sms-voice.json +87 -87
- package/data/actions/sms.json +37 -37
- package/data/actions/snow-device-management.json +13 -13
- package/data/actions/snowball.json +27 -27
- package/data/actions/sns.json +41 -41
- package/data/actions/sqlworkbench.json +70 -70
- package/data/actions/sqs.json +20 -20
- package/data/actions/ssm-contacts.json +40 -40
- package/data/actions/ssm-guiconnect.json +3 -3
- package/data/actions/ssm-incidents.json +31 -31
- package/data/actions/ssm-quicksetup.json +12 -12
- package/data/actions/ssm-sap.json +24 -24
- package/data/actions/ssm.json +149 -149
- package/data/actions/ssmmessages.json +4 -4
- package/data/actions/sso-directory.json +52 -52
- package/data/actions/sso-oauth.json +1 -1
- package/data/actions/sso.json +126 -126
- package/data/actions/states.json +39 -39
- package/data/actions/storagegateway.json +91 -91
- package/data/actions/sts.json +12 -12
- package/data/actions/support.json +25 -25
- package/data/actions/supportapp.json +13 -13
- package/data/actions/supportplans.json +4 -4
- package/data/actions/supportrecommendations.json +2 -2
- package/data/actions/sustainability.json +1 -1
- package/data/actions/swf.json +51 -51
- package/data/actions/synthetics.json +21 -21
- package/data/actions/tag.json +8 -8
- package/data/actions/tax.json +14 -14
- package/data/actions/textract.json +25 -25
- package/data/actions/thinclient.json +31 -63
- package/data/actions/timestream-influxdb.json +11 -11
- package/data/actions/timestream.json +37 -37
- package/data/actions/tiros.json +5 -5
- package/data/actions/tnb.json +33 -33
- package/data/actions/transcribe.json +49 -49
- package/data/actions/transfer.json +60 -60
- package/data/actions/translate.json +19 -19
- package/data/actions/trustedadvisor.json +52 -52
- package/data/actions/ts.json +9 -9
- package/data/actions/user-subscriptions.json +6 -6
- package/data/actions/vendor-insights.json +24 -24
- package/data/actions/verified-access.json +1 -1
- package/data/actions/verifiedpermissions.json +24 -24
- package/data/actions/voiceid.json +31 -31
- package/data/actions/vpc-lattice-svcs.json +2 -2
- package/data/actions/vpc-lattice.json +51 -51
- package/data/actions/waf-regional.json +81 -81
- package/data/actions/waf.json +77 -77
- package/data/actions/wafv2.json +56 -56
- package/data/actions/wam.json +1 -1
- package/data/actions/wellarchitected.json +73 -73
- package/data/actions/wickr.json +7 -15
- package/data/actions/wisdom.json +156 -156
- package/data/actions/workdocs.json +61 -61
- package/data/actions/worklink.json +34 -34
- package/data/actions/workmail.json +118 -118
- package/data/actions/workmailmessageflow.json +2 -2
- package/data/actions/workspaces-web.json +60 -59
- package/data/actions/workspaces.json +89 -89
- package/data/actions/xray.json +33 -33
- package/data/conditionKeys/a4b.json +5 -5
- package/data/conditionKeys/access-analyzer.json +3 -3
- package/data/conditionKeys/account.json +5 -5
- package/data/conditionKeys/acm-pca.json +4 -4
- package/data/conditionKeys/acm.json +8 -8
- package/data/conditionKeys/airflow.json +3 -3
- package/data/conditionKeys/amplify.json +3 -3
- package/data/conditionKeys/amplifyuibuilder.json +15 -15
- package/data/conditionKeys/aoss.json +4 -4
- package/data/conditionKeys/apigateway.json +28 -28
- package/data/conditionKeys/app-integrations.json +3 -3
- package/data/conditionKeys/appconfig.json +3 -3
- package/data/conditionKeys/appfabric.json +3 -3
- package/data/conditionKeys/appflow.json +3 -3
- package/data/conditionKeys/application-autoscaling.json +3 -3
- package/data/conditionKeys/application-signals.json +3 -3
- package/data/conditionKeys/applicationinsights.json +3 -3
- package/data/conditionKeys/appmesh.json +3 -3
- package/data/conditionKeys/apprunner.json +10 -10
- package/data/conditionKeys/appstream.json +4 -4
- package/data/conditionKeys/appsync.json +4 -4
- package/data/conditionKeys/apptest.json +3 -3
- package/data/conditionKeys/aps.json +3 -3
- package/data/conditionKeys/arc-zonal-shift.json +2 -2
- package/data/conditionKeys/artifact.json +2 -2
- package/data/conditionKeys/athena.json +3 -3
- package/data/conditionKeys/auditmanager.json +3 -3
- package/data/conditionKeys/autoscaling.json +19 -19
- package/data/conditionKeys/aws-marketplace.json +8 -8
- package/data/conditionKeys/b2bi.json +3 -3
- package/data/conditionKeys/backup-gateway.json +3 -3
- package/data/conditionKeys/backup.json +9 -9
- package/data/conditionKeys/batch.json +17 -17
- package/data/conditionKeys/bcm-data-exports.json +3 -3
- package/data/conditionKeys/bedrock.json +4 -9
- package/data/conditionKeys/billingconductor.json +3 -3
- package/data/conditionKeys/braket.json +3 -3
- package/data/conditionKeys/budgets.json +3 -3
- package/data/conditionKeys/bugbust.json +3 -3
- package/data/conditionKeys/cases.json +4 -4
- package/data/conditionKeys/cassandra.json +3 -3
- package/data/conditionKeys/ce.json +3 -3
- package/data/conditionKeys/chime.json +3 -3
- package/data/conditionKeys/cleanrooms-ml.json +4 -4
- package/data/conditionKeys/cleanrooms.json +3 -3
- package/data/conditionKeys/cloud9.json +10 -10
- package/data/conditionKeys/cloudformation.json +10 -10
- package/data/conditionKeys/cloudfront.json +3 -3
- package/data/conditionKeys/cloudhsm.json +3 -3
- package/data/conditionKeys/cloudshell.json +3 -3
- package/data/conditionKeys/cloudtrail-data.json +3 -3
- package/data/conditionKeys/cloudtrail.json +3 -3
- package/data/conditionKeys/cloudwatch.json +6 -6
- package/data/conditionKeys/codeartifact.json +3 -3
- package/data/conditionKeys/codebuild.json +3 -3
- package/data/conditionKeys/codecatalyst.json +3 -3
- package/data/conditionKeys/codecommit.json +4 -4
- package/data/conditionKeys/codeconnections.json +15 -15
- package/data/conditionKeys/codedeploy.json +3 -3
- package/data/conditionKeys/codeguru-profiler.json +3 -3
- package/data/conditionKeys/codeguru-reviewer.json +3 -3
- package/data/conditionKeys/codeguru-security.json +3 -3
- package/data/conditionKeys/codepipeline.json +3 -3
- package/data/conditionKeys/codestar-connections.json +15 -15
- package/data/conditionKeys/codestar-notifications.json +4 -4
- package/data/conditionKeys/codestar.json +4 -4
- package/data/conditionKeys/codewhisperer.json +3 -3
- package/data/conditionKeys/cognito-identity.json +3 -3
- package/data/conditionKeys/cognito-idp.json +3 -3
- package/data/conditionKeys/comprehend.json +10 -10
- package/data/conditionKeys/comprehendmedical.json +1 -1
- package/data/conditionKeys/compute-optimizer.json +1 -1
- package/data/conditionKeys/config.json +3 -3
- package/data/conditionKeys/connect-campaigns.json +3 -3
- package/data/conditionKeys/connect.json +10 -10
- package/data/conditionKeys/controltower.json +3 -3
- package/data/conditionKeys/cur.json +3 -3
- package/data/conditionKeys/databrew.json +3 -3
- package/data/conditionKeys/dataexchange.json +4 -4
- package/data/conditionKeys/datapipeline.json +6 -6
- package/data/conditionKeys/datasync.json +3 -3
- package/data/conditionKeys/datazone.json +3 -3
- package/data/conditionKeys/dax.json +1 -1
- package/data/conditionKeys/deadline.json +11 -11
- package/data/conditionKeys/deepcomposer.json +3 -3
- package/data/conditionKeys/deepracer.json +5 -5
- package/data/conditionKeys/detective.json +3 -3
- package/data/conditionKeys/devicefarm.json +3 -3
- package/data/conditionKeys/devops-guru.json +1 -1
- package/data/conditionKeys/directconnect.json +3 -3
- package/data/conditionKeys/discovery.json +1 -1
- package/data/conditionKeys/dlm.json +3 -3
- package/data/conditionKeys/dms.json +15 -15
- package/data/conditionKeys/docdb-elastic.json +3 -3
- package/data/conditionKeys/drs.json +5 -5
- package/data/conditionKeys/ds.json +3 -3
- package/data/conditionKeys/dynamodb.json +7 -7
- package/data/conditionKeys/ebs.json +6 -6
- package/data/conditionKeys/ec2-instance-connect.json +5 -5
- package/data/conditionKeys/ec2.json +120 -120
- package/data/conditionKeys/ec2messages.json +2 -2
- package/data/conditionKeys/ecr-public.json +4 -4
- package/data/conditionKeys/ecr.json +4 -4
- package/data/conditionKeys/ecs.json +5 -5
- package/data/conditionKeys/eks-auth.json +1 -1
- package/data/conditionKeys/eks.json +15 -15
- package/data/conditionKeys/elasticache.json +21 -21
- package/data/conditionKeys/elasticbeanstalk.json +10 -10
- package/data/conditionKeys/elasticfilesystem.json +7 -7
- package/data/conditionKeys/elasticloadbalancing.json +11 -11
- package/data/conditionKeys/elasticmapreduce.json +6 -6
- package/data/conditionKeys/emr-containers.json +5 -5
- package/data/conditionKeys/emr-serverless.json +3 -3
- package/data/conditionKeys/entityresolution.json +3 -3
- package/data/conditionKeys/es.json +3 -3
- package/data/conditionKeys/events.json +10 -10
- package/data/conditionKeys/evidently.json +3 -3
- package/data/conditionKeys/finspace.json +3 -3
- package/data/conditionKeys/firehose.json +3 -3
- package/data/conditionKeys/fis.json +7 -7
- package/data/conditionKeys/fms.json +3 -3
- package/data/conditionKeys/forecast.json +3 -3
- package/data/conditionKeys/frauddetector.json +3 -3
- package/data/conditionKeys/freertos.json +3 -3
- package/data/conditionKeys/fsx.json +9 -9
- package/data/conditionKeys/gamelift.json +3 -3
- package/data/conditionKeys/geo.json +5 -5
- package/data/conditionKeys/glacier.json +4 -4
- package/data/conditionKeys/globalaccelerator.json +3 -3
- package/data/conditionKeys/glue.json +8 -8
- package/data/conditionKeys/grafana.json +3 -3
- package/data/conditionKeys/greengrass.json +3 -3
- package/data/conditionKeys/groundstation.json +12 -12
- package/data/conditionKeys/guardduty.json +3 -3
- package/data/conditionKeys/health.json +1 -1
- package/data/conditionKeys/healthlake.json +3 -3
- package/data/conditionKeys/iam.json +14 -14
- package/data/conditionKeys/identitystore.json +1 -1
- package/data/conditionKeys/imagebuilder.json +8 -8
- package/data/conditionKeys/inspector2.json +3 -3
- package/data/conditionKeys/internetmonitor.json +3 -3
- package/data/conditionKeys/iot.json +8 -8
- package/data/conditionKeys/iot1click.json +3 -3
- package/data/conditionKeys/iotanalytics.json +3 -3
- package/data/conditionKeys/iotdeviceadvisor.json +3 -3
- package/data/conditionKeys/iotevents.json +4 -4
- package/data/conditionKeys/iotfleethub.json +3 -3
- package/data/conditionKeys/iotfleetwise.json +6 -6
- package/data/conditionKeys/iotjobsdata.json +1 -1
- package/data/conditionKeys/iotroborunner.json +4 -4
- package/data/conditionKeys/iotsitewise.json +8 -8
- package/data/conditionKeys/iottwinmaker.json +6 -6
- package/data/conditionKeys/iotwireless.json +3 -3
- package/data/conditionKeys/ivs.json +3 -3
- package/data/conditionKeys/ivschat.json +3 -3
- package/data/conditionKeys/kafka-cluster.json +1 -1
- package/data/conditionKeys/kafka.json +4 -4
- package/data/conditionKeys/kafkaconnect.json +3 -3
- package/data/conditionKeys/kendra-ranking.json +3 -3
- package/data/conditionKeys/kendra.json +3 -3
- package/data/conditionKeys/kinesisanalytics.json +3 -3
- package/data/conditionKeys/kinesisvideo.json +3 -3
- package/data/conditionKeys/kms.json +39 -39
- package/data/conditionKeys/lambda.json +13 -13
- package/data/conditionKeys/launchwizard.json +3 -3
- package/data/conditionKeys/lex.json +6 -6
- package/data/conditionKeys/license-manager-linux-subscriptions.json +3 -3
- package/data/conditionKeys/license-manager.json +3 -3
- package/data/conditionKeys/lightsail.json +3 -3
- package/data/conditionKeys/logs.json +5 -5
- package/data/conditionKeys/lookoutequipment.json +4 -4
- package/data/conditionKeys/lookoutmetrics.json +3 -3
- package/data/conditionKeys/lookoutvision.json +3 -3
- package/data/conditionKeys/m2.json +3 -3
- package/data/conditionKeys/macie2.json +3 -3
- package/data/conditionKeys/managedblockchain.json +3 -3
- package/data/conditionKeys/mediaconvert.json +6 -6
- package/data/conditionKeys/medialive.json +3 -3
- package/data/conditionKeys/mediapackage-vod.json +3 -3
- package/data/conditionKeys/mediapackage.json +3 -3
- package/data/conditionKeys/mediapackagev2.json +3 -3
- package/data/conditionKeys/mediastore.json +3 -3
- package/data/conditionKeys/mediatailor.json +3 -3
- package/data/conditionKeys/medical-imaging.json +3 -3
- package/data/conditionKeys/memorydb.json +5 -5
- package/data/conditionKeys/mgn.json +4 -4
- package/data/conditionKeys/migrationhub-orchestrator.json +3 -3
- package/data/conditionKeys/mobiletargeting.json +3 -3
- package/data/conditionKeys/monitron.json +3 -3
- package/data/conditionKeys/mq.json +3 -3
- package/data/conditionKeys/neptune-db.json +1 -1
- package/data/conditionKeys/neptune-graph.json +4 -4
- package/data/conditionKeys/network-firewall.json +3 -3
- package/data/conditionKeys/networkmanager.json +10 -10
- package/data/conditionKeys/networkmonitor.json +3 -3
- package/data/conditionKeys/nimble.json +8 -8
- package/data/conditionKeys/notifications-contacts.json +3 -3
- package/data/conditionKeys/notifications.json +3 -3
- package/data/conditionKeys/oam.json +4 -4
- package/data/conditionKeys/omics.json +8 -8
- package/data/conditionKeys/one.json +3 -3
- package/data/conditionKeys/organizations.json +5 -5
- package/data/conditionKeys/osis.json +3 -3
- package/data/conditionKeys/outposts.json +3 -3
- package/data/conditionKeys/panorama.json +3 -3
- package/data/conditionKeys/payment-cryptography.json +11 -11
- package/data/conditionKeys/payments.json +3 -3
- package/data/conditionKeys/pca-connector-ad.json +3 -3
- package/data/conditionKeys/pca-connector-scep.json +3 -3
- package/data/conditionKeys/pi.json +4 -4
- package/data/conditionKeys/pipes.json +3 -3
- package/data/conditionKeys/private-networks.json +3 -3
- package/data/conditionKeys/profile.json +3 -3
- package/data/conditionKeys/proton.json +5 -5
- package/data/conditionKeys/purchase-orders.json +3 -3
- package/data/conditionKeys/qapps.json +7 -7
- package/data/conditionKeys/qbusiness.json +3 -3
- package/data/conditionKeys/qldb.json +4 -4
- package/data/conditionKeys/quicksight.json +10 -10
- package/data/conditionKeys/ram.json +14 -14
- package/data/conditionKeys/rbin.json +5 -5
- package/data/conditionKeys/rds-data.json +2 -2
- package/data/conditionKeys/rds.json +28 -28
- package/data/conditionKeys/redshift-data.json +1 -1
- package/data/conditionKeys/redshift-serverless.json +9 -9
- package/data/conditionKeys/redshift.json +10 -10
- package/data/conditionKeys/refactor-spaces.json +8 -8
- package/data/conditionKeys/rekognition.json +3 -3
- package/data/conditionKeys/repostspace.json +3 -3
- package/data/conditionKeys/resiliencehub.json +3 -3
- package/data/conditionKeys/resource-explorer-2.json +3 -3
- package/data/conditionKeys/resource-groups.json +3 -3
- package/data/conditionKeys/robomaker.json +3 -3
- package/data/conditionKeys/rolesanywhere.json +3 -3
- package/data/conditionKeys/route53-recovery-cluster.json +1 -1
- package/data/conditionKeys/route53-recovery-control-config.json +3 -3
- package/data/conditionKeys/route53-recovery-readiness.json +3 -3
- package/data/conditionKeys/route53.json +3 -3
- package/data/conditionKeys/route53profiles.json +3 -3
- package/data/conditionKeys/route53resolver.json +3 -3
- package/data/conditionKeys/rum.json +3 -3
- package/data/conditionKeys/s3-object-lambda.json +3 -3
- package/data/conditionKeys/s3-outposts.json +8 -8
- package/data/conditionKeys/s3.json +22 -22
- package/data/conditionKeys/s3express.json +6 -6
- package/data/conditionKeys/sagemaker-geospatial.json +3 -3
- package/data/conditionKeys/sagemaker.json +49 -49
- package/data/conditionKeys/savingsplans.json +3 -3
- package/data/conditionKeys/scheduler.json +3 -3
- package/data/conditionKeys/schemas.json +3 -3
- package/data/conditionKeys/scn.json +3 -3
- package/data/conditionKeys/secretsmanager.json +20 -20
- package/data/conditionKeys/securityhub.json +5 -5
- package/data/conditionKeys/securitylake.json +3 -3
- package/data/conditionKeys/serverlessrepo.json +1 -1
- package/data/conditionKeys/servicecatalog.json +8 -8
- package/data/conditionKeys/servicediscovery.json +7 -7
- package/data/conditionKeys/servicequotas.json +3 -3
- package/data/conditionKeys/ses.json +13 -13
- package/data/conditionKeys/shield.json +3 -3
- package/data/conditionKeys/signer.json +4 -4
- package/data/conditionKeys/simspaceweaver.json +3 -3
- package/data/conditionKeys/sms-voice.json +3 -3
- package/data/conditionKeys/snow-device-management.json +3 -3
- package/data/conditionKeys/sns.json +5 -5
- package/data/conditionKeys/sqlworkbench.json +3 -3
- package/data/conditionKeys/sqs.json +3 -3
- package/data/conditionKeys/ssm-contacts.json +3 -3
- package/data/conditionKeys/ssm-incidents.json +3 -3
- package/data/conditionKeys/ssm-quicksetup.json +3 -3
- package/data/conditionKeys/ssm-sap.json +3 -3
- package/data/conditionKeys/ssm.json +16 -16
- package/data/conditionKeys/ssmmessages.json +2 -2
- package/data/conditionKeys/sso.json +4 -4
- package/data/conditionKeys/states.json +6 -6
- package/data/conditionKeys/storagegateway.json +3 -3
- package/data/conditionKeys/sts.json +17 -17
- package/data/conditionKeys/swf.json +17 -17
- package/data/conditionKeys/synthetics.json +4 -4
- package/data/conditionKeys/textract.json +3 -3
- package/data/conditionKeys/thinclient.json +3 -3
- package/data/conditionKeys/timestream-influxdb.json +3 -3
- package/data/conditionKeys/timestream.json +3 -3
- package/data/conditionKeys/tnb.json +3 -3
- package/data/conditionKeys/transcribe.json +7 -7
- package/data/conditionKeys/transfer.json +3 -3
- package/data/conditionKeys/translate.json +3 -3
- package/data/conditionKeys/ts.json +3 -3
- package/data/conditionKeys/vendor-insights.json +3 -3
- package/data/conditionKeys/voiceid.json +3 -3
- package/data/conditionKeys/vpc-lattice-svcs.json +8 -8
- package/data/conditionKeys/vpc-lattice.json +10 -10
- package/data/conditionKeys/waf-regional.json +3 -3
- package/data/conditionKeys/waf.json +3 -3
- package/data/conditionKeys/wafv2.json +5 -5
- package/data/conditionKeys/wellarchitected.json +4 -4
- package/data/conditionKeys/wickr.json +3 -3
- package/data/conditionKeys/wisdom.json +4 -4
- package/data/conditionKeys/worklink.json +3 -3
- package/data/conditionKeys/workmail.json +3 -3
- package/data/conditionKeys/workspaces-web.json +3 -3
- package/data/conditionKeys/workspaces.json +4 -4
- package/data/conditionKeys/xray.json +3 -3
- package/data/resourceTypes/access-analyzer.json +2 -2
- package/data/resourceTypes/account.json +1 -1
- package/data/resourceTypes/amplifyuibuilder.json +4 -4
- package/data/resourceTypes/aoss.json +2 -2
- package/data/resourceTypes/apigateway.json +59 -59
- package/data/resourceTypes/application-autoscaling.json +1 -1
- package/data/resourceTypes/appmesh-preview.json +5 -5
- package/data/resourceTypes/appmesh.json +5 -5
- package/data/resourceTypes/appsync.json +2 -2
- package/data/resourceTypes/apptest.json +4 -4
- package/data/resourceTypes/arc-zonal-shift.json +2 -2
- package/data/resourceTypes/auditmanager.json +2 -2
- package/data/resourceTypes/autoscaling.json +2 -2
- package/data/resourceTypes/aws-marketplace.json +4 -4
- package/data/resourceTypes/backup.json +6 -6
- package/data/resourceTypes/bedrock.json +0 -18
- package/data/resourceTypes/budgets.json +1 -1
- package/data/resourceTypes/bugbust.json +1 -1
- package/data/resourceTypes/cases.json +6 -6
- package/data/resourceTypes/chatbot.json +1 -1
- package/data/resourceTypes/clouddirectory.json +3 -3
- package/data/resourceTypes/cloudshell.json +1 -1
- package/data/resourceTypes/codeconnections.json +3 -3
- package/data/resourceTypes/codeguru-profiler.json +1 -1
- package/data/resourceTypes/codeguru-security.json +1 -1
- package/data/resourceTypes/codestar-connections.json +3 -3
- package/data/resourceTypes/config.json +8 -8
- package/data/resourceTypes/consoleapp.json +1 -1
- package/data/resourceTypes/controltower.json +4 -4
- package/data/resourceTypes/databrew.json +6 -6
- package/data/resourceTypes/detective.json +1 -1
- package/data/resourceTypes/dms.json +13 -13
- package/data/resourceTypes/drs.json +6 -6
- package/data/resourceTypes/emr-containers.json +5 -5
- package/data/resourceTypes/emr-serverless.json +1 -1
- package/data/resourceTypes/entityresolution.json +5 -5
- package/data/resourceTypes/events.json +0 -16
- package/data/resourceTypes/evidently.json +5 -5
- package/data/resourceTypes/finspace.json +7 -7
- package/data/resourceTypes/forecast.json +8 -8
- package/data/resourceTypes/gamelift.json +5 -5
- package/data/resourceTypes/glue.json +4 -4
- package/data/resourceTypes/greengrass.json +21 -21
- package/data/resourceTypes/groundstation.json +8 -8
- package/data/resourceTypes/guardduty.json +1 -1
- package/data/resourceTypes/identity-sync.json +2 -2
- package/data/resourceTypes/identitystore.json +7 -7
- package/data/resourceTypes/imagebuilder.json +13 -13
- package/data/resourceTypes/inspector2.json +3 -3
- package/data/resourceTypes/internetmonitor.json +3 -3
- package/data/resourceTypes/iotdeviceadvisor.json +2 -2
- package/data/resourceTypes/iotevents.json +2 -2
- package/data/resourceTypes/iotroborunner.json +4 -4
- package/data/resourceTypes/iottwinmaker.json +3 -3
- package/data/resourceTypes/iotwireless.json +11 -11
- package/data/resourceTypes/iq.json +2 -2
- package/data/resourceTypes/ivs.json +10 -10
- package/data/resourceTypes/ivschat.json +2 -2
- package/data/resourceTypes/kinesis.json +1 -1
- package/data/resourceTypes/lambda.json +2 -2
- package/data/resourceTypes/lightsail.json +19 -19
- package/data/resourceTypes/lookoutmetrics.json +3 -3
- package/data/resourceTypes/m2.json +2 -2
- package/data/resourceTypes/macie2.json +5 -5
- package/data/resourceTypes/mediaconnect.json +7 -7
- package/data/resourceTypes/mediaconvert.json +5 -5
- package/data/resourceTypes/mediapackagev2.json +3 -3
- package/data/resourceTypes/mediatailor.json +5 -5
- package/data/resourceTypes/mgh.json +2 -2
- package/data/resourceTypes/mgn.json +10 -10
- package/data/resourceTypes/network-firewall.json +5 -5
- package/data/resourceTypes/notifications-contacts.json +1 -1
- package/data/resourceTypes/notifications.json +3 -3
- package/data/resourceTypes/oam.json +2 -2
- package/data/resourceTypes/omics.json +11 -11
- package/data/resourceTypes/panorama.json +1 -1
- package/data/resourceTypes/pca-connector-ad.json +5 -5
- package/data/resourceTypes/pca-connector-scep.json +2 -2
- package/data/resourceTypes/personalize.json +10 -10
- package/data/resourceTypes/quicksight.json +4 -4
- package/data/resourceTypes/redshift-serverless.json +2 -2
- package/data/resourceTypes/robomaker.json +9 -9
- package/data/resourceTypes/rum.json +1 -1
- package/data/resourceTypes/sagemaker-geospatial.json +3 -3
- package/data/resourceTypes/secretsmanager.json +1 -1
- package/data/resourceTypes/servicecatalog.json +4 -4
- package/data/resourceTypes/simspaceweaver.json +1 -1
- package/data/resourceTypes/sms-voice.json +9 -9
- package/data/resourceTypes/sso-oauth.json +1 -1
- package/data/resourceTypes/sso.json +6 -6
- package/data/resourceTypes/vendor-insights.json +2 -2
- package/data/resourceTypes/vpc-lattice-svcs.json +2 -2
- package/data/resourceTypes/vpc-lattice.json +8 -8
- package/data/resourceTypes/wisdom.json +13 -13
- package/data/resourceTypes/workmailmessageflow.json +1 -1
- package/data/resourceTypes/workspaces-web.json +7 -7
- package/data/serviceNames.json +261 -262
- package/data/services.json +266 -267
- package/dist/cjs/actions.d.ts +5 -5
- package/dist/cjs/actions.js +12 -12
- package/dist/cjs/actions.js.map +1 -1
- package/dist/cjs/conditionKeys.d.ts +5 -5
- package/dist/cjs/conditionKeys.js +12 -12
- package/dist/cjs/conditionKeys.js.map +1 -1
- package/dist/cjs/resourceTypes.d.ts +5 -5
- package/dist/cjs/resourceTypes.js +12 -12
- package/dist/cjs/resourceTypes.js.map +1 -1
- package/dist/cjs/services.d.ts +1 -1
- package/dist/cjs/services.js +4 -4
- package/dist/cjs/services.js.map +1 -1
- package/dist/esm/actions.d.ts +5 -5
- package/dist/esm/actions.js +12 -12
- package/dist/esm/actions.js.map +1 -1
- package/dist/esm/conditionKeys.d.ts +5 -5
- package/dist/esm/conditionKeys.js +12 -12
- package/dist/esm/conditionKeys.js.map +1 -1
- package/dist/esm/resourceTypes.d.ts +5 -5
- package/dist/esm/resourceTypes.js +12 -12
- package/dist/esm/resourceTypes.js.map +1 -1
- package/dist/esm/services.d.ts +1 -1
- package/dist/esm/services.js +4 -4
- package/dist/esm/services.js.map +1 -1
- package/package.json +1 -1
- package/data/actions/pcs.json +0 -409
- package/data/conditionKeys/pcs.json +0 -17
- package/data/resourceTypes/pcs.json +0 -23
package/dist/cjs/actions.js
CHANGED
|
@@ -7,37 +7,37 @@ const data_js_1 = require("./data.js");
|
|
|
7
7
|
/**
|
|
8
8
|
* Get all actions for a service
|
|
9
9
|
*
|
|
10
|
-
* @param serviceKey the service key to get actions for
|
|
10
|
+
* @param serviceKey the service key to get actions for, is case insensitive
|
|
11
11
|
* @returns the actions for the service
|
|
12
12
|
*/
|
|
13
13
|
function iamActionsForService(serviceKey) {
|
|
14
|
-
const data = (0, data_js_1.readActionData)(serviceKey);
|
|
15
|
-
return Object.
|
|
14
|
+
const data = (0, data_js_1.readActionData)(serviceKey.toLowerCase());
|
|
15
|
+
return Object.values(data).map(action => action.name);
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* Check if an action exists
|
|
19
19
|
*
|
|
20
|
-
* @param serviceKey the service key to check for the action
|
|
21
|
-
* @param actionKey the action key to check for
|
|
20
|
+
* @param serviceKey the service key to check for the action, is case insensitive
|
|
21
|
+
* @param actionKey the action key to check for, is case insensitive
|
|
22
22
|
* @returns true if the action exists, false otherwise
|
|
23
23
|
*/
|
|
24
24
|
function iamActionExists(serviceKey, actionKey) {
|
|
25
|
-
const data = (0, data_js_1.readActionData)(serviceKey);
|
|
26
|
-
return !!data[actionKey];
|
|
25
|
+
const data = (0, data_js_1.readActionData)(serviceKey.toLowerCase());
|
|
26
|
+
return !!data[actionKey.toLowerCase()];
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Get the details for an action
|
|
30
30
|
*
|
|
31
|
-
* @param serviceKey the service key to get the action for
|
|
32
|
-
* @param actionKey the action key to get the details for
|
|
31
|
+
* @param serviceKey the service key to get the action for, is case insensitive
|
|
32
|
+
* @param actionKey the action key to get the details for, is case insensitive
|
|
33
33
|
* @throws error if the service or action does not exist
|
|
34
34
|
* @returns the details for the action
|
|
35
35
|
*/
|
|
36
36
|
function iamActionDetails(serviceKey, actionKey) {
|
|
37
|
-
const data = (0, data_js_1.readActionData)(serviceKey);
|
|
38
|
-
if (!data[actionKey]) {
|
|
37
|
+
const data = (0, data_js_1.readActionData)(serviceKey.toLowerCase());
|
|
38
|
+
if (!data[actionKey.toLowerCase()]) {
|
|
39
39
|
throw new Error(`Action ${actionKey} does not exist for service ${serviceKey}`);
|
|
40
40
|
}
|
|
41
|
-
return data[actionKey];
|
|
41
|
+
return data[actionKey.toLowerCase()];
|
|
42
42
|
}
|
|
43
43
|
//# sourceMappingURL=actions.js.map
|
package/dist/cjs/actions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../src/actions.ts"],"names":[],"mappings":";;AAwBA,oDAGC;AASD,0CAGC;AAUD,4CAMC;AAvDD,uCAA0C;AAkB1C;;;;;GAKG;AACH,SAAgB,oBAAoB,CAAC,UAAkB;IACrD,MAAM,IAAI,GAAG,IAAA,wBAAc,EAAyB,UAAU,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../src/actions.ts"],"names":[],"mappings":";;AAwBA,oDAGC;AASD,0CAGC;AAUD,4CAMC;AAvDD,uCAA0C;AAkB1C;;;;;GAKG;AACH,SAAgB,oBAAoB,CAAC,UAAkB;IACrD,MAAM,IAAI,GAAG,IAAA,wBAAc,EAAyB,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC7E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;AACvD,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,eAAe,CAAC,UAAkB,EAAE,SAAiB;IACnE,MAAM,IAAI,GAAG,IAAA,wBAAc,EAAyB,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC7E,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,CAAA;AACxC,CAAC;AAED;;;;;;;GAOG;AACH,SAAgB,gBAAgB,CAAC,UAAkB,EAAE,SAAiB;IACpE,MAAM,IAAI,GAAG,IAAA,wBAAc,EAAyB,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC7E,IAAG,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;QAClC,MAAM,IAAI,KAAK,CAAC,UAAU,SAAS,+BAA+B,UAAU,EAAE,CAAC,CAAA;IACjF,CAAC;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,CAAA;AACtC,CAAC"}
|
|
@@ -6,23 +6,23 @@ export interface ConditionKey {
|
|
|
6
6
|
/**
|
|
7
7
|
* Reads the condition keys for a service
|
|
8
8
|
*
|
|
9
|
-
* @param serviceKey the service key to read the condition keys for
|
|
9
|
+
* @param serviceKey the service key to read the condition keys for, is case insensitive
|
|
10
10
|
* @returns the condition keys for the service
|
|
11
11
|
*/
|
|
12
12
|
export declare function iamConditionKeysForService(serviceKey: string): string[];
|
|
13
13
|
/**
|
|
14
14
|
* Check if a condition key exists
|
|
15
15
|
*
|
|
16
|
-
* @param serviceKey the service key to check for the condition key
|
|
17
|
-
* @param conditionKey the condition key to check for
|
|
16
|
+
* @param serviceKey the service key to check for the condition key, is case insensitive
|
|
17
|
+
* @param conditionKey the condition key to check for, is case insensitive
|
|
18
18
|
* @returns true if the condition key exists, false otherwise
|
|
19
19
|
*/
|
|
20
20
|
export declare function iamConditionKeyExists(serviceKey: string, conditionKey: string): boolean;
|
|
21
21
|
/**
|
|
22
22
|
* Get the details for a condition key
|
|
23
23
|
*
|
|
24
|
-
* @param serviceKey the service key to get the condition key for
|
|
25
|
-
* @param conditionKey the condition key to get the details for
|
|
24
|
+
* @param serviceKey the service key to get the condition key for, is case insensitive
|
|
25
|
+
* @param conditionKey the condition key to get the details for, is case insensitive
|
|
26
26
|
* @throws error if the service or condition key does not exist
|
|
27
27
|
* @returns the details for the condition key
|
|
28
28
|
*/
|
|
@@ -7,37 +7,37 @@ const data_js_1 = require("./data.js");
|
|
|
7
7
|
/**
|
|
8
8
|
* Reads the condition keys for a service
|
|
9
9
|
*
|
|
10
|
-
* @param serviceKey the service key to read the condition keys for
|
|
10
|
+
* @param serviceKey the service key to read the condition keys for, is case insensitive
|
|
11
11
|
* @returns the condition keys for the service
|
|
12
12
|
*/
|
|
13
13
|
function iamConditionKeysForService(serviceKey) {
|
|
14
|
-
const data = (0, data_js_1.readConditionKeys)(serviceKey);
|
|
15
|
-
return Object.
|
|
14
|
+
const data = (0, data_js_1.readConditionKeys)(serviceKey.toLowerCase());
|
|
15
|
+
return Object.values(data).map(conditionKey => conditionKey.key);
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* Check if a condition key exists
|
|
19
19
|
*
|
|
20
|
-
* @param serviceKey the service key to check for the condition key
|
|
21
|
-
* @param conditionKey the condition key to check for
|
|
20
|
+
* @param serviceKey the service key to check for the condition key, is case insensitive
|
|
21
|
+
* @param conditionKey the condition key to check for, is case insensitive
|
|
22
22
|
* @returns true if the condition key exists, false otherwise
|
|
23
23
|
*/
|
|
24
24
|
function iamConditionKeyExists(serviceKey, conditionKey) {
|
|
25
|
-
const data = (0, data_js_1.readConditionKeys)(serviceKey);
|
|
26
|
-
return !!data[conditionKey];
|
|
25
|
+
const data = (0, data_js_1.readConditionKeys)(serviceKey.toLowerCase());
|
|
26
|
+
return !!data[conditionKey.toLowerCase()];
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Get the details for a condition key
|
|
30
30
|
*
|
|
31
|
-
* @param serviceKey the service key to get the condition key for
|
|
32
|
-
* @param conditionKey the condition key to get the details for
|
|
31
|
+
* @param serviceKey the service key to get the condition key for, is case insensitive
|
|
32
|
+
* @param conditionKey the condition key to get the details for, is case insensitive
|
|
33
33
|
* @throws error if the service or condition key does not exist
|
|
34
34
|
* @returns the details for the condition key
|
|
35
35
|
*/
|
|
36
36
|
function iamConditionKeyDetails(serviceKey, conditionKey) {
|
|
37
|
-
const data = (0, data_js_1.readConditionKeys)(serviceKey);
|
|
38
|
-
if (!data[conditionKey]) {
|
|
37
|
+
const data = (0, data_js_1.readConditionKeys)(serviceKey.toLowerCase());
|
|
38
|
+
if (!data[conditionKey.toLowerCase()]) {
|
|
39
39
|
throw new Error(`Condition key ${conditionKey} does not exist for service ${serviceKey}`);
|
|
40
40
|
}
|
|
41
|
-
return data[conditionKey];
|
|
41
|
+
return data[conditionKey.toLowerCase()];
|
|
42
42
|
}
|
|
43
43
|
//# sourceMappingURL=conditionKeys.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditionKeys.js","sourceRoot":"","sources":["../../src/conditionKeys.ts"],"names":[],"mappings":";;AAcA,gEAGC;AASD,sDAGC;AAUD,wDAMC;AA7CD,uCAA6C;AAQ7C;;;;;GAKG;AACH,SAAgB,0BAA0B,CAAC,UAAkB;IAC3D,MAAM,IAAI,GAAG,IAAA,2BAAiB,EAA+B,UAAU,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"conditionKeys.js","sourceRoot":"","sources":["../../src/conditionKeys.ts"],"names":[],"mappings":";;AAcA,gEAGC;AASD,sDAGC;AAUD,wDAMC;AA7CD,uCAA6C;AAQ7C;;;;;GAKG;AACH,SAAgB,0BAA0B,CAAC,UAAkB;IAC3D,MAAM,IAAI,GAAG,IAAA,2BAAiB,EAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;AAClE,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,qBAAqB,CAAC,UAAkB,EAAE,YAAoB;IAC5E,MAAM,IAAI,GAAG,IAAA,2BAAiB,EAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IACtF,OAAO,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC,CAAA;AAC3C,CAAC;AAED;;;;;;;GAOG;AACH,SAAgB,sBAAsB,CAAC,UAAkB,EAAE,YAAoB;IAC7E,MAAM,IAAI,GAAG,IAAA,2BAAiB,EAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IACtF,IAAG,CAAC,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;QACrC,MAAM,IAAI,KAAK,CAAC,iBAAiB,YAAY,+BAA+B,UAAU,EAAE,CAAC,CAAA;IAC3F,CAAC;IACD,OAAO,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC,CAAA;AACzC,CAAC"}
|
|
@@ -5,23 +5,23 @@ export interface ResourceType {
|
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
*
|
|
8
|
-
* @param serviceKey the service key to get the resource types for
|
|
8
|
+
* @param serviceKey the service key to get the resource types for, is case insensitive
|
|
9
9
|
* @returns the resource types for the service
|
|
10
10
|
*/
|
|
11
11
|
export declare function iamResourceTypesForService(serviceKey: string): string[];
|
|
12
12
|
/**
|
|
13
13
|
* Check if a resource type exists for a service and resource type key
|
|
14
14
|
*
|
|
15
|
-
* @param serviceKey the service key to check for the resource type
|
|
16
|
-
* @param resourceTypeKey the resource type key to check for
|
|
15
|
+
* @param serviceKey the service key to check for the resource type, is case insensitive
|
|
16
|
+
* @param resourceTypeKey the resource type key to check for, is case insensitive
|
|
17
17
|
* @returns true if the resource type exists, false otherwise
|
|
18
18
|
*/
|
|
19
19
|
export declare function iamResourceTypeExists(serviceKey: string, resourceTypeKey: string): boolean;
|
|
20
20
|
/**
|
|
21
21
|
* Get the resource type for a service and resource type key
|
|
22
22
|
*
|
|
23
|
-
* @param serviceKey the service key to get the resource type for
|
|
24
|
-
* @param resourceTypeKey the resource type key to get the resource type for
|
|
23
|
+
* @param serviceKey the service key to get the resource type for, is case insensitive
|
|
24
|
+
* @param resourceTypeKey the resource type key to get the resource type for, is case insensitive
|
|
25
25
|
* @throws an error if the resource type does not exist
|
|
26
26
|
* @returns the resource type
|
|
27
27
|
*/
|
|
@@ -6,37 +6,37 @@ exports.iamResourceTypeDetails = iamResourceTypeDetails;
|
|
|
6
6
|
const data_js_1 = require("./data.js");
|
|
7
7
|
/**
|
|
8
8
|
*
|
|
9
|
-
* @param serviceKey the service key to get the resource types for
|
|
9
|
+
* @param serviceKey the service key to get the resource types for, is case insensitive
|
|
10
10
|
* @returns the resource types for the service
|
|
11
11
|
*/
|
|
12
12
|
function iamResourceTypesForService(serviceKey) {
|
|
13
|
-
const data = (0, data_js_1.readResourceTypes)(serviceKey);
|
|
14
|
-
return Object.
|
|
13
|
+
const data = (0, data_js_1.readResourceTypes)(serviceKey.toLowerCase());
|
|
14
|
+
return Object.values(data).map(resourceType => resourceType.key);
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* Check if a resource type exists for a service and resource type key
|
|
18
18
|
*
|
|
19
|
-
* @param serviceKey the service key to check for the resource type
|
|
20
|
-
* @param resourceTypeKey the resource type key to check for
|
|
19
|
+
* @param serviceKey the service key to check for the resource type, is case insensitive
|
|
20
|
+
* @param resourceTypeKey the resource type key to check for, is case insensitive
|
|
21
21
|
* @returns true if the resource type exists, false otherwise
|
|
22
22
|
*/
|
|
23
23
|
function iamResourceTypeExists(serviceKey, resourceTypeKey) {
|
|
24
|
-
const data = (0, data_js_1.readResourceTypes)(serviceKey);
|
|
25
|
-
return !!data[resourceTypeKey];
|
|
24
|
+
const data = (0, data_js_1.readResourceTypes)(serviceKey.toLowerCase());
|
|
25
|
+
return !!data[resourceTypeKey.toLowerCase()];
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Get the resource type for a service and resource type key
|
|
29
29
|
*
|
|
30
|
-
* @param serviceKey the service key to get the resource type for
|
|
31
|
-
* @param resourceTypeKey the resource type key to get the resource type for
|
|
30
|
+
* @param serviceKey the service key to get the resource type for, is case insensitive
|
|
31
|
+
* @param resourceTypeKey the resource type key to get the resource type for, is case insensitive
|
|
32
32
|
* @throws an error if the resource type does not exist
|
|
33
33
|
* @returns the resource type
|
|
34
34
|
*/
|
|
35
35
|
function iamResourceTypeDetails(serviceKey, resourceTypeKey) {
|
|
36
|
-
const data = (0, data_js_1.readResourceTypes)(serviceKey);
|
|
37
|
-
if (!data[resourceTypeKey]) {
|
|
36
|
+
const data = (0, data_js_1.readResourceTypes)(serviceKey.toLowerCase());
|
|
37
|
+
if (!data[resourceTypeKey.toLowerCase()]) {
|
|
38
38
|
throw new Error(`Resource type ${resourceTypeKey} does not exist for service ${serviceKey}`);
|
|
39
39
|
}
|
|
40
|
-
return data[resourceTypeKey];
|
|
40
|
+
return data[resourceTypeKey.toLowerCase()];
|
|
41
41
|
}
|
|
42
42
|
//# sourceMappingURL=resourceTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceTypes.js","sourceRoot":"","sources":["../../src/resourceTypes.ts"],"names":[],"mappings":";;AAaA,gEAGC;AASD,sDAGC;AAUD,wDAMC;AA5CD,uCAA8C;AAQ9C;;;;GAIG;AACH,SAAgB,0BAA0B,CAAC,UAAkB;IAC3D,MAAM,IAAI,GAAG,IAAA,2BAAiB,EAA+B,UAAU,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"resourceTypes.js","sourceRoot":"","sources":["../../src/resourceTypes.ts"],"names":[],"mappings":";;AAaA,gEAGC;AASD,sDAGC;AAUD,wDAMC;AA5CD,uCAA8C;AAQ9C;;;;GAIG;AACH,SAAgB,0BAA0B,CAAC,UAAkB;IAC3D,MAAM,IAAI,GAAG,IAAA,2BAAiB,EAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;AACnE,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,qBAAqB,CAAC,UAAkB,EAAE,eAAuB;IAC/E,MAAM,IAAI,GAAG,IAAA,2BAAiB,EAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;IACvF,OAAO,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC,CAAC;AAC/C,CAAC;AAED;;;;;;;GAOG;AACH,SAAgB,sBAAsB,CAAC,UAAkB,EAAE,eAAuB;IAChF,MAAM,IAAI,GAAG,IAAA,2BAAiB,EAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;IACvF,IAAG,CAAC,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;QACxC,MAAM,IAAI,KAAK,CAAC,iBAAiB,eAAe,+BAA+B,UAAU,EAAE,CAAC,CAAC;IAC/F,CAAC;IACD,OAAO,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC,CAAC;AAC7C,CAAC"}
|
package/dist/cjs/services.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare function iamServiceKeys(): string[];
|
|
|
7
7
|
/**
|
|
8
8
|
* Check if a service exists
|
|
9
9
|
*
|
|
10
|
-
* @param serviceKey the service key to check
|
|
10
|
+
* @param serviceKey the service key to check, is case insensitive
|
|
11
11
|
* @returns true if the service exists, false otherwise
|
|
12
12
|
*/
|
|
13
13
|
export declare function iamServiceExists(serviceKey: string): boolean;
|
package/dist/cjs/services.js
CHANGED
|
@@ -15,12 +15,12 @@ function iamServiceKeys() {
|
|
|
15
15
|
/**
|
|
16
16
|
* Check if a service exists
|
|
17
17
|
*
|
|
18
|
-
* @param serviceKey the service key to check
|
|
18
|
+
* @param serviceKey the service key to check, is case insensitive
|
|
19
19
|
* @returns true if the service exists, false otherwise
|
|
20
20
|
*/
|
|
21
21
|
function iamServiceExists(serviceKey) {
|
|
22
22
|
const data = (0, data_js_1.readDataFile)('serviceNames.json');
|
|
23
|
-
return !!data[serviceKey];
|
|
23
|
+
return !!data[serviceKey.toLowerCase()];
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Get the name of a service
|
|
@@ -31,9 +31,9 @@ function iamServiceExists(serviceKey) {
|
|
|
31
31
|
*/
|
|
32
32
|
function iamServiceName(serviceKey) {
|
|
33
33
|
const data = (0, data_js_1.readDataFile)('serviceNames.json');
|
|
34
|
-
if (!data[serviceKey]) {
|
|
34
|
+
if (!data[serviceKey.toLowerCase()]) {
|
|
35
35
|
throw new Error(`Service ${serviceKey} does not exist`);
|
|
36
36
|
}
|
|
37
|
-
return data[serviceKey];
|
|
37
|
+
return data[serviceKey.toLowerCase()];
|
|
38
38
|
}
|
|
39
39
|
//# sourceMappingURL=services.js.map
|
package/dist/cjs/services.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services.js","sourceRoot":"","sources":["../../src/services.ts"],"names":[],"mappings":";;AAOA,wCAEC;AAQD,4CAGC;AASD,wCAMC;AAnCD,uCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,cAAc;IAC5B,OAAO,IAAA,sBAAY,EAAW,eAAe,CAAC,CAAA;AAChD,CAAC;AAED;;;;;GAKG;AACH,SAAgB,gBAAgB,CAAC,UAAkB;IACjD,MAAM,IAAI,GAAG,IAAA,sBAAY,EAAyB,mBAAmB,CAAC,CAAA;IACtE,OAAO,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"services.js","sourceRoot":"","sources":["../../src/services.ts"],"names":[],"mappings":";;AAOA,wCAEC;AAQD,4CAGC;AASD,wCAMC;AAnCD,uCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,cAAc;IAC5B,OAAO,IAAA,sBAAY,EAAW,eAAe,CAAC,CAAA;AAChD,CAAC;AAED;;;;;GAKG;AACH,SAAgB,gBAAgB,CAAC,UAAkB;IACjD,MAAM,IAAI,GAAG,IAAA,sBAAY,EAAyB,mBAAmB,CAAC,CAAA;IACtE,OAAO,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;AAC1C,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,cAAc,CAAC,UAAkB;IAC/C,MAAM,IAAI,GAAG,IAAA,sBAAY,EAAyB,mBAAmB,CAAC,CAAA;IACtE,IAAG,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;QACnC,MAAM,IAAI,KAAK,CAAC,WAAW,UAAU,iBAAiB,CAAC,CAAA;IACzD,CAAC;IACD,OAAO,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;AACvC,CAAC"}
|
package/dist/esm/actions.d.ts
CHANGED
|
@@ -15,23 +15,23 @@ interface Action {
|
|
|
15
15
|
/**
|
|
16
16
|
* Get all actions for a service
|
|
17
17
|
*
|
|
18
|
-
* @param serviceKey the service key to get actions for
|
|
18
|
+
* @param serviceKey the service key to get actions for, is case insensitive
|
|
19
19
|
* @returns the actions for the service
|
|
20
20
|
*/
|
|
21
21
|
export declare function iamActionsForService(serviceKey: string): string[];
|
|
22
22
|
/**
|
|
23
23
|
* Check if an action exists
|
|
24
24
|
*
|
|
25
|
-
* @param serviceKey the service key to check for the action
|
|
26
|
-
* @param actionKey the action key to check for
|
|
25
|
+
* @param serviceKey the service key to check for the action, is case insensitive
|
|
26
|
+
* @param actionKey the action key to check for, is case insensitive
|
|
27
27
|
* @returns true if the action exists, false otherwise
|
|
28
28
|
*/
|
|
29
29
|
export declare function iamActionExists(serviceKey: string, actionKey: string): boolean;
|
|
30
30
|
/**
|
|
31
31
|
* Get the details for an action
|
|
32
32
|
*
|
|
33
|
-
* @param serviceKey the service key to get the action for
|
|
34
|
-
* @param actionKey the action key to get the details for
|
|
33
|
+
* @param serviceKey the service key to get the action for, is case insensitive
|
|
34
|
+
* @param actionKey the action key to get the details for, is case insensitive
|
|
35
35
|
* @throws error if the service or action does not exist
|
|
36
36
|
* @returns the details for the action
|
|
37
37
|
*/
|
package/dist/esm/actions.js
CHANGED
|
@@ -2,37 +2,37 @@ import { readActionData } from "./data.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* Get all actions for a service
|
|
4
4
|
*
|
|
5
|
-
* @param serviceKey the service key to get actions for
|
|
5
|
+
* @param serviceKey the service key to get actions for, is case insensitive
|
|
6
6
|
* @returns the actions for the service
|
|
7
7
|
*/
|
|
8
8
|
export function iamActionsForService(serviceKey) {
|
|
9
|
-
const data = readActionData(serviceKey);
|
|
10
|
-
return Object.
|
|
9
|
+
const data = readActionData(serviceKey.toLowerCase());
|
|
10
|
+
return Object.values(data).map(action => action.name);
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Check if an action exists
|
|
14
14
|
*
|
|
15
|
-
* @param serviceKey the service key to check for the action
|
|
16
|
-
* @param actionKey the action key to check for
|
|
15
|
+
* @param serviceKey the service key to check for the action, is case insensitive
|
|
16
|
+
* @param actionKey the action key to check for, is case insensitive
|
|
17
17
|
* @returns true if the action exists, false otherwise
|
|
18
18
|
*/
|
|
19
19
|
export function iamActionExists(serviceKey, actionKey) {
|
|
20
|
-
const data = readActionData(serviceKey);
|
|
21
|
-
return !!data[actionKey];
|
|
20
|
+
const data = readActionData(serviceKey.toLowerCase());
|
|
21
|
+
return !!data[actionKey.toLowerCase()];
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Get the details for an action
|
|
25
25
|
*
|
|
26
|
-
* @param serviceKey the service key to get the action for
|
|
27
|
-
* @param actionKey the action key to get the details for
|
|
26
|
+
* @param serviceKey the service key to get the action for, is case insensitive
|
|
27
|
+
* @param actionKey the action key to get the details for, is case insensitive
|
|
28
28
|
* @throws error if the service or action does not exist
|
|
29
29
|
* @returns the details for the action
|
|
30
30
|
*/
|
|
31
31
|
export function iamActionDetails(serviceKey, actionKey) {
|
|
32
|
-
const data = readActionData(serviceKey);
|
|
33
|
-
if (!data[actionKey]) {
|
|
32
|
+
const data = readActionData(serviceKey.toLowerCase());
|
|
33
|
+
if (!data[actionKey.toLowerCase()]) {
|
|
34
34
|
throw new Error(`Action ${actionKey} does not exist for service ${serviceKey}`);
|
|
35
35
|
}
|
|
36
|
-
return data[actionKey];
|
|
36
|
+
return data[actionKey.toLowerCase()];
|
|
37
37
|
}
|
|
38
38
|
//# sourceMappingURL=actions.js.map
|
package/dist/esm/actions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../src/actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAkB1C;;;;;GAKG;AACH,MAAM,UAAU,oBAAoB,CAAC,UAAkB;IACrD,MAAM,IAAI,GAAG,cAAc,CAAyB,UAAU,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../src/actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAkB1C;;;;;GAKG;AACH,MAAM,UAAU,oBAAoB,CAAC,UAAkB;IACrD,MAAM,IAAI,GAAG,cAAc,CAAyB,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC7E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;AACvD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,eAAe,CAAC,UAAkB,EAAE,SAAiB;IACnE,MAAM,IAAI,GAAG,cAAc,CAAyB,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC7E,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,CAAA;AACxC,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,gBAAgB,CAAC,UAAkB,EAAE,SAAiB;IACpE,MAAM,IAAI,GAAG,cAAc,CAAyB,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IAC7E,IAAG,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;QAClC,MAAM,IAAI,KAAK,CAAC,UAAU,SAAS,+BAA+B,UAAU,EAAE,CAAC,CAAA;IACjF,CAAC;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,CAAA;AACtC,CAAC"}
|
|
@@ -6,23 +6,23 @@ export interface ConditionKey {
|
|
|
6
6
|
/**
|
|
7
7
|
* Reads the condition keys for a service
|
|
8
8
|
*
|
|
9
|
-
* @param serviceKey the service key to read the condition keys for
|
|
9
|
+
* @param serviceKey the service key to read the condition keys for, is case insensitive
|
|
10
10
|
* @returns the condition keys for the service
|
|
11
11
|
*/
|
|
12
12
|
export declare function iamConditionKeysForService(serviceKey: string): string[];
|
|
13
13
|
/**
|
|
14
14
|
* Check if a condition key exists
|
|
15
15
|
*
|
|
16
|
-
* @param serviceKey the service key to check for the condition key
|
|
17
|
-
* @param conditionKey the condition key to check for
|
|
16
|
+
* @param serviceKey the service key to check for the condition key, is case insensitive
|
|
17
|
+
* @param conditionKey the condition key to check for, is case insensitive
|
|
18
18
|
* @returns true if the condition key exists, false otherwise
|
|
19
19
|
*/
|
|
20
20
|
export declare function iamConditionKeyExists(serviceKey: string, conditionKey: string): boolean;
|
|
21
21
|
/**
|
|
22
22
|
* Get the details for a condition key
|
|
23
23
|
*
|
|
24
|
-
* @param serviceKey the service key to get the condition key for
|
|
25
|
-
* @param conditionKey the condition key to get the details for
|
|
24
|
+
* @param serviceKey the service key to get the condition key for, is case insensitive
|
|
25
|
+
* @param conditionKey the condition key to get the details for, is case insensitive
|
|
26
26
|
* @throws error if the service or condition key does not exist
|
|
27
27
|
* @returns the details for the condition key
|
|
28
28
|
*/
|
|
@@ -2,37 +2,37 @@ import { readConditionKeys } from "./data.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* Reads the condition keys for a service
|
|
4
4
|
*
|
|
5
|
-
* @param serviceKey the service key to read the condition keys for
|
|
5
|
+
* @param serviceKey the service key to read the condition keys for, is case insensitive
|
|
6
6
|
* @returns the condition keys for the service
|
|
7
7
|
*/
|
|
8
8
|
export function iamConditionKeysForService(serviceKey) {
|
|
9
|
-
const data = readConditionKeys(serviceKey);
|
|
10
|
-
return Object.
|
|
9
|
+
const data = readConditionKeys(serviceKey.toLowerCase());
|
|
10
|
+
return Object.values(data).map(conditionKey => conditionKey.key);
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Check if a condition key exists
|
|
14
14
|
*
|
|
15
|
-
* @param serviceKey the service key to check for the condition key
|
|
16
|
-
* @param conditionKey the condition key to check for
|
|
15
|
+
* @param serviceKey the service key to check for the condition key, is case insensitive
|
|
16
|
+
* @param conditionKey the condition key to check for, is case insensitive
|
|
17
17
|
* @returns true if the condition key exists, false otherwise
|
|
18
18
|
*/
|
|
19
19
|
export function iamConditionKeyExists(serviceKey, conditionKey) {
|
|
20
|
-
const data = readConditionKeys(serviceKey);
|
|
21
|
-
return !!data[conditionKey];
|
|
20
|
+
const data = readConditionKeys(serviceKey.toLowerCase());
|
|
21
|
+
return !!data[conditionKey.toLowerCase()];
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Get the details for a condition key
|
|
25
25
|
*
|
|
26
|
-
* @param serviceKey the service key to get the condition key for
|
|
27
|
-
* @param conditionKey the condition key to get the details for
|
|
26
|
+
* @param serviceKey the service key to get the condition key for, is case insensitive
|
|
27
|
+
* @param conditionKey the condition key to get the details for, is case insensitive
|
|
28
28
|
* @throws error if the service or condition key does not exist
|
|
29
29
|
* @returns the details for the condition key
|
|
30
30
|
*/
|
|
31
31
|
export function iamConditionKeyDetails(serviceKey, conditionKey) {
|
|
32
|
-
const data = readConditionKeys(serviceKey);
|
|
33
|
-
if (!data[conditionKey]) {
|
|
32
|
+
const data = readConditionKeys(serviceKey.toLowerCase());
|
|
33
|
+
if (!data[conditionKey.toLowerCase()]) {
|
|
34
34
|
throw new Error(`Condition key ${conditionKey} does not exist for service ${serviceKey}`);
|
|
35
35
|
}
|
|
36
|
-
return data[conditionKey];
|
|
36
|
+
return data[conditionKey.toLowerCase()];
|
|
37
37
|
}
|
|
38
38
|
//# sourceMappingURL=conditionKeys.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditionKeys.js","sourceRoot":"","sources":["../../src/conditionKeys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAQ7C;;;;;GAKG;AACH,MAAM,UAAU,0BAA0B,CAAC,UAAkB;IAC3D,MAAM,IAAI,GAAG,iBAAiB,CAA+B,UAAU,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"conditionKeys.js","sourceRoot":"","sources":["../../src/conditionKeys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAQ7C;;;;;GAKG;AACH,MAAM,UAAU,0BAA0B,CAAC,UAAkB;IAC3D,MAAM,IAAI,GAAG,iBAAiB,CAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;AAClE,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CAAC,UAAkB,EAAE,YAAoB;IAC5E,MAAM,IAAI,GAAG,iBAAiB,CAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IACtF,OAAO,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC,CAAA;AAC3C,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,sBAAsB,CAAC,UAAkB,EAAE,YAAoB;IAC7E,MAAM,IAAI,GAAG,iBAAiB,CAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;IACtF,IAAG,CAAC,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;QACrC,MAAM,IAAI,KAAK,CAAC,iBAAiB,YAAY,+BAA+B,UAAU,EAAE,CAAC,CAAA;IAC3F,CAAC;IACD,OAAO,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC,CAAA;AACzC,CAAC"}
|
|
@@ -5,23 +5,23 @@ export interface ResourceType {
|
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
*
|
|
8
|
-
* @param serviceKey the service key to get the resource types for
|
|
8
|
+
* @param serviceKey the service key to get the resource types for, is case insensitive
|
|
9
9
|
* @returns the resource types for the service
|
|
10
10
|
*/
|
|
11
11
|
export declare function iamResourceTypesForService(serviceKey: string): string[];
|
|
12
12
|
/**
|
|
13
13
|
* Check if a resource type exists for a service and resource type key
|
|
14
14
|
*
|
|
15
|
-
* @param serviceKey the service key to check for the resource type
|
|
16
|
-
* @param resourceTypeKey the resource type key to check for
|
|
15
|
+
* @param serviceKey the service key to check for the resource type, is case insensitive
|
|
16
|
+
* @param resourceTypeKey the resource type key to check for, is case insensitive
|
|
17
17
|
* @returns true if the resource type exists, false otherwise
|
|
18
18
|
*/
|
|
19
19
|
export declare function iamResourceTypeExists(serviceKey: string, resourceTypeKey: string): boolean;
|
|
20
20
|
/**
|
|
21
21
|
* Get the resource type for a service and resource type key
|
|
22
22
|
*
|
|
23
|
-
* @param serviceKey the service key to get the resource type for
|
|
24
|
-
* @param resourceTypeKey the resource type key to get the resource type for
|
|
23
|
+
* @param serviceKey the service key to get the resource type for, is case insensitive
|
|
24
|
+
* @param resourceTypeKey the resource type key to get the resource type for, is case insensitive
|
|
25
25
|
* @throws an error if the resource type does not exist
|
|
26
26
|
* @returns the resource type
|
|
27
27
|
*/
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { readResourceTypes } from "./data.js";
|
|
2
2
|
/**
|
|
3
3
|
*
|
|
4
|
-
* @param serviceKey the service key to get the resource types for
|
|
4
|
+
* @param serviceKey the service key to get the resource types for, is case insensitive
|
|
5
5
|
* @returns the resource types for the service
|
|
6
6
|
*/
|
|
7
7
|
export function iamResourceTypesForService(serviceKey) {
|
|
8
|
-
const data = readResourceTypes(serviceKey);
|
|
9
|
-
return Object.
|
|
8
|
+
const data = readResourceTypes(serviceKey.toLowerCase());
|
|
9
|
+
return Object.values(data).map(resourceType => resourceType.key);
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Check if a resource type exists for a service and resource type key
|
|
13
13
|
*
|
|
14
|
-
* @param serviceKey the service key to check for the resource type
|
|
15
|
-
* @param resourceTypeKey the resource type key to check for
|
|
14
|
+
* @param serviceKey the service key to check for the resource type, is case insensitive
|
|
15
|
+
* @param resourceTypeKey the resource type key to check for, is case insensitive
|
|
16
16
|
* @returns true if the resource type exists, false otherwise
|
|
17
17
|
*/
|
|
18
18
|
export function iamResourceTypeExists(serviceKey, resourceTypeKey) {
|
|
19
|
-
const data = readResourceTypes(serviceKey);
|
|
20
|
-
return !!data[resourceTypeKey];
|
|
19
|
+
const data = readResourceTypes(serviceKey.toLowerCase());
|
|
20
|
+
return !!data[resourceTypeKey.toLowerCase()];
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Get the resource type for a service and resource type key
|
|
24
24
|
*
|
|
25
|
-
* @param serviceKey the service key to get the resource type for
|
|
26
|
-
* @param resourceTypeKey the resource type key to get the resource type for
|
|
25
|
+
* @param serviceKey the service key to get the resource type for, is case insensitive
|
|
26
|
+
* @param resourceTypeKey the resource type key to get the resource type for, is case insensitive
|
|
27
27
|
* @throws an error if the resource type does not exist
|
|
28
28
|
* @returns the resource type
|
|
29
29
|
*/
|
|
30
30
|
export function iamResourceTypeDetails(serviceKey, resourceTypeKey) {
|
|
31
|
-
const data = readResourceTypes(serviceKey);
|
|
32
|
-
if (!data[resourceTypeKey]) {
|
|
31
|
+
const data = readResourceTypes(serviceKey.toLowerCase());
|
|
32
|
+
if (!data[resourceTypeKey.toLowerCase()]) {
|
|
33
33
|
throw new Error(`Resource type ${resourceTypeKey} does not exist for service ${serviceKey}`);
|
|
34
34
|
}
|
|
35
|
-
return data[resourceTypeKey];
|
|
35
|
+
return data[resourceTypeKey.toLowerCase()];
|
|
36
36
|
}
|
|
37
37
|
//# sourceMappingURL=resourceTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceTypes.js","sourceRoot":"","sources":["../../src/resourceTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAQ9C;;;;GAIG;AACH,MAAM,UAAU,0BAA0B,CAAC,UAAkB;IAC3D,MAAM,IAAI,GAAG,iBAAiB,CAA+B,UAAU,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"resourceTypes.js","sourceRoot":"","sources":["../../src/resourceTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAQ9C;;;;GAIG;AACH,MAAM,UAAU,0BAA0B,CAAC,UAAkB;IAC3D,MAAM,IAAI,GAAG,iBAAiB,CAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;AACnE,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CAAC,UAAkB,EAAE,eAAuB;IAC/E,MAAM,IAAI,GAAG,iBAAiB,CAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;IACvF,OAAO,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC,CAAC;AAC/C,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,sBAAsB,CAAC,UAAkB,EAAE,eAAuB;IAChF,MAAM,IAAI,GAAG,iBAAiB,CAA+B,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;IACvF,IAAG,CAAC,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;QACxC,MAAM,IAAI,KAAK,CAAC,iBAAiB,eAAe,+BAA+B,UAAU,EAAE,CAAC,CAAC;IAC/F,CAAC;IACD,OAAO,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC,CAAC;AAC7C,CAAC"}
|
package/dist/esm/services.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare function iamServiceKeys(): string[];
|
|
|
7
7
|
/**
|
|
8
8
|
* Check if a service exists
|
|
9
9
|
*
|
|
10
|
-
* @param serviceKey the service key to check
|
|
10
|
+
* @param serviceKey the service key to check, is case insensitive
|
|
11
11
|
* @returns true if the service exists, false otherwise
|
|
12
12
|
*/
|
|
13
13
|
export declare function iamServiceExists(serviceKey: string): boolean;
|
package/dist/esm/services.js
CHANGED
|
@@ -10,12 +10,12 @@ export function iamServiceKeys() {
|
|
|
10
10
|
/**
|
|
11
11
|
* Check if a service exists
|
|
12
12
|
*
|
|
13
|
-
* @param serviceKey the service key to check
|
|
13
|
+
* @param serviceKey the service key to check, is case insensitive
|
|
14
14
|
* @returns true if the service exists, false otherwise
|
|
15
15
|
*/
|
|
16
16
|
export function iamServiceExists(serviceKey) {
|
|
17
17
|
const data = readDataFile('serviceNames.json');
|
|
18
|
-
return !!data[serviceKey];
|
|
18
|
+
return !!data[serviceKey.toLowerCase()];
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Get the name of a service
|
|
@@ -26,9 +26,9 @@ export function iamServiceExists(serviceKey) {
|
|
|
26
26
|
*/
|
|
27
27
|
export function iamServiceName(serviceKey) {
|
|
28
28
|
const data = readDataFile('serviceNames.json');
|
|
29
|
-
if (!data[serviceKey]) {
|
|
29
|
+
if (!data[serviceKey.toLowerCase()]) {
|
|
30
30
|
throw new Error(`Service ${serviceKey} does not exist`);
|
|
31
31
|
}
|
|
32
|
-
return data[serviceKey];
|
|
32
|
+
return data[serviceKey.toLowerCase()];
|
|
33
33
|
}
|
|
34
34
|
//# sourceMappingURL=services.js.map
|
package/dist/esm/services.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services.js","sourceRoot":"","sources":["../../src/services.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC;;;;GAIG;AACH,MAAM,UAAU,cAAc;IAC5B,OAAO,YAAY,CAAW,eAAe,CAAC,CAAA;AAChD,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,UAAkB;IACjD,MAAM,IAAI,GAAG,YAAY,CAAyB,mBAAmB,CAAC,CAAA;IACtE,OAAO,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"services.js","sourceRoot":"","sources":["../../src/services.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC;;;;GAIG;AACH,MAAM,UAAU,cAAc;IAC5B,OAAO,YAAY,CAAW,eAAe,CAAC,CAAA;AAChD,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,UAAkB;IACjD,MAAM,IAAI,GAAG,YAAY,CAAyB,mBAAmB,CAAC,CAAA;IACtE,OAAO,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;AAC1C,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,cAAc,CAAC,UAAkB;IAC/C,MAAM,IAAI,GAAG,YAAY,CAAyB,mBAAmB,CAAC,CAAA;IACtE,IAAG,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC;QACnC,MAAM,IAAI,KAAK,CAAC,WAAW,UAAU,iBAAiB,CAAC,CAAA;IACzD,CAAC;IACD,OAAO,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAA;AACvC,CAAC"}
|