nomoss 0.0.4 → 0.0.6
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/CHANGELOG.md +23 -0
- package/README.md +3 -1
- package/ROADMAP.md +1 -1
- package/docs/README.md +2 -0
- package/docs/application/aws-resource-coverage.md +111 -20
- package/docs/application/designs/awsRequestBodyEncoding.ts +91 -0
- package/docs/application/designs/createBucketModeledErrors.ts +164 -0
- package/docs/application/designs/describeSubnetsEc2Query.ts +186 -0
- package/docs/application/designs/getBucketTaggingResponseDecoding.ts +136 -0
- package/docs/application/designs/lambdaGetPolicyRequest.ts +85 -0
- package/docs/application/designs/s3GetObjectDownload.ts +97 -0
- package/docs/application/designs/s3ObjectMetadata.ts +154 -0
- package/docs/application/designs/selectObjectContentEvents.ts +185 -0
- package/docs/application/generation-architecture.md +38 -0
- package/docs/application/resource-operations.md +4 -2
- package/docs/development/code-documentation.md +2 -0
- package/docs/development/design-walkthroughs.md +49 -0
- package/docs/development/effect-native-development.md +31 -2
- package/docs/development/review-code.md +1 -1
- package/docs/development/review-remediation-spec.md +1 -0
- package/docs/development/testing.md +20 -0
- package/docs/operations/releasing.md +4 -2
- package/examples/queue/application.ts +1 -1
- package/media/nomoss-logo.svg +16 -0
- package/package.json +8 -14
- package/providers/aws/README.md +7 -7
- package/providers/aws/awsEnvironment.ts +3 -3
- package/providers/aws/generated/resources/apigateway/apikey.ts +335 -0
- package/providers/aws/generated/resources/apigateway/authorizer.ts +329 -0
- package/providers/aws/generated/resources/apigateway/basepathmapping.ts +265 -0
- package/providers/aws/generated/resources/apigateway/deployment.ts +515 -0
- package/providers/aws/generated/resources/apigateway/domainname.ts +354 -0
- package/providers/aws/generated/resources/apigateway/gatewayresponse.ts +222 -0
- package/providers/aws/generated/resources/apigateway/method.ts +819 -0
- package/providers/aws/generated/resources/apigateway/model.ts +248 -0
- package/providers/aws/generated/resources/apigateway/requestvalidator.ts +224 -0
- package/providers/aws/generated/resources/apigateway/resource.ts +235 -0
- package/providers/aws/generated/resources/apigateway/restapi.ts +583 -0
- package/providers/aws/generated/resources/apigateway/stage.ts +656 -0
- package/providers/aws/generated/resources/apigateway/usageplan.ts +394 -0
- package/providers/aws/generated/resources/apigateway/usageplankey.ts +228 -0
- package/providers/aws/generated/resources/apigatewayv2/api.ts +40 -60
- package/providers/aws/generated/resources/apigatewayv2/apimapping.ts +284 -0
- package/providers/aws/generated/resources/apigatewayv2/authorizer.ts +333 -0
- package/providers/aws/generated/resources/apigatewayv2/deployment.ts +226 -0
- package/providers/aws/generated/resources/apigatewayv2/domainname.ts +333 -0
- package/providers/aws/generated/resources/apigatewayv2/integration.ts +70 -103
- package/providers/aws/generated/resources/apigatewayv2/integrationresponse.ts +323 -0
- package/providers/aws/generated/resources/apigatewayv2/model.ts +241 -0
- package/providers/aws/generated/resources/apigatewayv2/route.ts +59 -63
- package/providers/aws/generated/resources/apigatewayv2/routeresponse.ts +330 -0
- package/providers/aws/generated/resources/apigatewayv2/routingrule.ts +349 -0
- package/providers/aws/generated/resources/apigatewayv2/stage.ts +45 -66
- package/providers/aws/generated/resources/apigatewayv2/vpclink.ts +256 -0
- package/providers/aws/generated/resources/appsync/api.ts +486 -0
- package/providers/aws/generated/resources/appsync/apicache.ts +169 -0
- package/providers/aws/generated/resources/appsync/apikey.ts +245 -0
- package/providers/aws/generated/resources/appsync/channelnamespace.ts +444 -0
- package/providers/aws/generated/resources/appsync/datasource.ts +757 -0
- package/providers/aws/generated/resources/appsync/domainname.ts +355 -0
- package/providers/aws/generated/resources/appsync/domainnameapiassociation.ts +284 -0
- package/providers/aws/generated/resources/appsync/functionconfiguration.ts +448 -0
- package/providers/aws/generated/resources/appsync/graphqlapi.ts +1028 -0
- package/providers/aws/generated/resources/appsync/graphqlschema.ts +188 -0
- package/providers/aws/generated/resources/appsync/resolver.ts +514 -0
- package/providers/aws/generated/resources/appsync/sourceapiassociation.ts +429 -0
- package/providers/aws/generated/resources/certificatemanager/certificate.ts +211 -0
- package/providers/aws/generated/resources/cloudfront/cachepolicy.ts +352 -0
- package/providers/aws/generated/resources/cloudfront/distribution.ts +2477 -0
- package/providers/aws/generated/resources/cloudfront/function.ts +313 -0
- package/providers/aws/generated/resources/cloudfront/originaccesscontrol.ts +204 -0
- package/providers/aws/generated/resources/cloudfront/originrequestpolicy.ts +285 -0
- package/providers/aws/generated/resources/cloudfront/responseheaderspolicy.ts +591 -0
- package/providers/aws/generated/resources/cloudwatch/alarm.ts +4545 -0
- package/providers/aws/generated/resources/cloudwatch/compositealarm.ts +678 -0
- package/providers/aws/generated/resources/cloudwatch/dashboard.ts +229 -0
- package/providers/aws/generated/resources/cognito/identitypool.ts +419 -0
- package/providers/aws/generated/resources/cognito/identitypoolroleattachment.ts +288 -0
- package/providers/aws/generated/resources/cognito/userpool.ts +1372 -0
- package/providers/aws/generated/resources/cognito/userpoolclient.ts +555 -0
- package/providers/aws/generated/resources/cognito/userpooldomain.ts +223 -0
- package/providers/aws/generated/resources/cognito/userpoolgroup.ts +265 -0
- package/providers/aws/generated/resources/cognito/userpoolidentityprovider.ts +216 -0
- package/providers/aws/generated/resources/cognito/userpoolresourceserver.ts +233 -0
- package/providers/aws/generated/resources/dynamodb/globaltable.ts +1002 -0
- package/providers/aws/generated/resources/dynamodb/table.ts +1058 -0
- package/providers/aws/generated/resources/ec2/eip.ts +303 -0
- package/providers/aws/generated/resources/ec2/instance.ts +1756 -0
- package/providers/aws/generated/resources/ec2/internetgateway.ts +185 -0
- package/providers/aws/generated/resources/ec2/launchtemplate.ts +2218 -0
- package/providers/aws/generated/resources/ec2/natgateway.ts +509 -0
- package/providers/aws/generated/resources/ec2/route.ts +595 -0
- package/providers/aws/generated/resources/ec2/routetable.ts +207 -0
- package/providers/aws/generated/resources/ec2/securitygroup.ts +460 -0
- package/providers/aws/generated/resources/ec2/securitygroupegress.ts +332 -0
- package/providers/aws/generated/resources/ec2/securitygroupingress.ts +488 -0
- package/providers/aws/generated/resources/ec2/subnet.ts +492 -0
- package/providers/aws/generated/resources/ec2/subnetroutetableassociation.ts +228 -0
- package/providers/aws/generated/resources/ec2/volume.ts +267 -0
- package/providers/aws/generated/resources/ec2/volumeattachment.ts +268 -0
- package/providers/aws/generated/resources/ec2/vpc.ts +288 -0
- package/providers/aws/generated/resources/ec2/vpcendpoint.ts +660 -0
- package/providers/aws/generated/resources/ec2/vpcgatewayattachment.ts +290 -0
- package/providers/aws/generated/resources/ec2/vpcpeeringconnection.ts +310 -0
- package/providers/aws/generated/resources/ecr/repository.ts +627 -0
- package/providers/aws/generated/resources/ecs/cluster.ts +616 -0
- package/providers/aws/generated/resources/ecs/service.ts +2065 -0
- package/providers/aws/generated/resources/ecs/taskdefinition.ts +1848 -0
- package/providers/aws/generated/resources/elasticloadbalancingv2/listener.ts +1166 -0
- package/providers/aws/generated/resources/elasticloadbalancingv2/listenercertificate.ts +168 -0
- package/providers/aws/generated/resources/elasticloadbalancingv2/listenerrule.ts +1219 -0
- package/providers/aws/generated/resources/elasticloadbalancingv2/loadbalancer.ts +706 -0
- package/providers/aws/generated/resources/elasticloadbalancingv2/targetgroup.ts +699 -0
- package/providers/aws/generated/resources/events/apidestination.ts +314 -0
- package/providers/aws/generated/resources/events/archive.ts +316 -0
- package/providers/aws/generated/resources/events/connection.ts +609 -0
- package/providers/aws/generated/resources/events/endpoint.ts +551 -0
- package/providers/aws/generated/resources/events/eventbus.ts +261 -0
- package/providers/aws/generated/resources/events/eventbuspolicy.ts +343 -0
- package/providers/aws/generated/resources/events/rule.ts +1253 -0
- package/providers/aws/generated/resources/eventschemas/discoverer.ts +273 -0
- package/providers/aws/generated/resources/eventschemas/registry.ts +183 -0
- package/providers/aws/generated/resources/eventschemas/registrypolicy.ts +193 -0
- package/providers/aws/generated/resources/eventschemas/schema.ts +305 -0
- package/providers/aws/generated/resources/iam/accesskey.ts +12 -16
- package/providers/aws/generated/resources/iam/group.ts +13 -16
- package/providers/aws/generated/resources/iam/grouppolicy.ts +16 -20
- package/providers/aws/generated/resources/iam/instanceprofile.ts +2 -2
- package/providers/aws/generated/resources/iam/managedpolicy.ts +27 -36
- package/providers/aws/generated/resources/iam/oidcprovider.ts +52 -104
- package/providers/aws/generated/resources/iam/policy.ts +33 -90
- package/providers/aws/generated/resources/iam/role.ts +45 -60
- package/providers/aws/generated/resources/iam/rolepolicy.ts +16 -20
- package/providers/aws/generated/resources/iam/samlprovider.ts +72 -164
- package/providers/aws/generated/resources/iam/servercertificate.ts +73 -187
- package/providers/aws/generated/resources/iam/servicelinkedrole.ts +24 -40
- package/providers/aws/generated/resources/iam/user.ts +26 -32
- package/providers/aws/generated/resources/iam/userpolicy.ts +16 -20
- package/providers/aws/generated/resources/iam/usertogroupaddition.ts +2 -2
- package/providers/aws/generated/resources/iam/virtualmfadevice.ts +53 -97
- package/providers/aws/generated/resources/kms/alias.ts +225 -0
- package/providers/aws/generated/resources/kms/key.ts +33 -207
- package/providers/aws/generated/resources/kms/replicakey.ts +292 -0
- package/providers/aws/generated/resources/lambda/alias.ts +301 -0
- package/providers/aws/generated/resources/lambda/codesigningconfig.ts +414 -0
- package/providers/aws/generated/resources/lambda/eventinvokeconfig.ts +677 -0
- package/providers/aws/generated/resources/lambda/eventsourcemapping.ts +1798 -0
- package/providers/aws/generated/resources/lambda/function.ts +135 -181
- package/providers/aws/generated/resources/lambda/layerversion.ts +298 -0
- package/providers/aws/generated/resources/lambda/layerversionpermission.ts +233 -0
- package/providers/aws/generated/resources/lambda/permission.ts +13 -14
- package/providers/aws/generated/resources/lambda/url.ts +452 -0
- package/providers/aws/generated/resources/lambda/version.ts +349 -0
- package/providers/aws/generated/resources/pipes/pipe.ts +3801 -0
- package/providers/aws/generated/resources/rds/dbcluster.ts +1710 -0
- package/providers/aws/generated/resources/rds/dbinstance.ts +2248 -0
- package/providers/aws/generated/resources/rds/dbsubnetgroup.ts +270 -0
- package/providers/aws/generated/resources/route53/healthcheck.ts +648 -0
- package/providers/aws/generated/resources/route53/hostedzone.ts +430 -0
- package/providers/aws/generated/resources/route53/recordset.ts +249 -0
- package/providers/aws/generated/resources/route53/recordsetgroup.ts +263 -0
- package/providers/aws/generated/resources/s3/accesspoint.ts +616 -0
- package/providers/aws/generated/resources/s3/bucket.ts +1733 -1831
- package/providers/aws/generated/resources/s3/bucketpolicy.ts +214 -0
- package/providers/aws/generated/resources/scheduler/schedule.ts +1563 -0
- package/providers/aws/generated/resources/scheduler/schedulegroup.ts +351 -0
- package/providers/aws/generated/resources/secretsmanager/resourcepolicy.ts +242 -0
- package/providers/aws/generated/resources/secretsmanager/rotationschedule.ts +314 -0
- package/providers/aws/generated/resources/secretsmanager/secret.ts +327 -0
- package/providers/aws/generated/resources/secretsmanager/secrettargetattachment.ts +167 -0
- package/providers/aws/generated/resources/sns/subscription.ts +488 -0
- package/providers/aws/generated/resources/sns/topic.ts +60 -88
- package/providers/aws/generated/resources/sns/topicinlinepolicy.ts +169 -0
- package/providers/aws/generated/resources/sns/topicpolicy.ts +172 -0
- package/providers/aws/generated/resources/sqs/queue.ts +53 -82
- package/providers/aws/generated/resources/sqs/queueinlinepolicy.ts +163 -0
- package/providers/aws/generated/resources/sqs/queuepolicy.ts +172 -0
- package/providers/aws/generated/resources/ssm/association.ts +906 -0
- package/providers/aws/generated/resources/ssm/document.ts +472 -0
- package/providers/aws/generated/resources/ssm/maintenancewindow.ts +225 -0
- package/providers/aws/generated/resources/ssm/maintenancewindowtarget.ts +289 -0
- package/providers/aws/generated/resources/ssm/maintenancewindowtask.ts +497 -0
- package/providers/aws/generated/resources/ssm/parameter.ts +258 -0
- package/providers/aws/generated/resources/ssm/patchbaseline.ts +668 -0
- package/providers/aws/generated/resources/ssm/resourcedatasync.ts +465 -0
- package/providers/aws/generated/resources/ssm/resourcepolicy.ts +211 -0
- package/providers/aws/generated/resources/stepfunctions/activity.ts +237 -0
- package/providers/aws/generated/resources/stepfunctions/statemachine.ts +54 -41
- package/providers/aws/generated/resources/stepfunctions/statemachinealias.ts +361 -0
- package/providers/aws/generated/resources/stepfunctions/statemachineversion.ts +202 -0
- package/providers/aws/management/ec2/internetGateway.ts +129 -0
- package/providers/aws/management/ec2/resourceTags.ts +89 -0
- package/providers/aws/management/ec2/route.ts +254 -0
- package/providers/aws/management/ec2/routeTable.ts +138 -0
- package/providers/aws/management/ec2/subnet.ts +511 -0
- package/providers/aws/management/ec2/subnetRouteTableAssociation.ts +129 -0
- package/providers/aws/management/ec2/vpc.ts +466 -0
- package/providers/aws/management/ec2/vpcGatewayAttachment.ts +238 -0
- package/providers/aws/management/iam/role.ts +520 -0
- package/providers/aws/management/lambda/function.ts +651 -0
- package/providers/aws/management/resourcePolicies.ts +102 -0
- package/providers/aws/management/s3/bucket.ts +315 -0
- package/providers/aws/management/s3/bucketConfiguration.ts +1102 -0
- package/providers/aws/runtime.ts +17 -19
- package/src/core/resource/model.ts +13 -3
- package/src/core/resource/resourceCommandPolicy.ts +5 -1
- package/src/core/resource/resourceEntries.ts +193 -0
- package/src/core/resource/resourceLifecycle.ts +39 -23
- package/src/core/stack/planner.ts +78 -40
- package/src/core/stack/resourceStackLifecycle.ts +112 -18
- package/src/core/stack/resourceStackOperations.ts +18 -0
- package/src/core/stack/stackWorkflowRenderer.ts +12 -3
- package/src/core/state/stateStore.ts +47 -10
- package/src/providers/providerRuntimeLayer.ts +1 -1
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsEntitySchema.ts +5 -5055
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsSchema.ts +5 -5055
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsValidators.ts +5058 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsEntitySchema.ts +5 -2443
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsSchema.ts +5 -2443
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsValidators.ts +2446 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsEntitySchema.ts +5 -23
- package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsSchema.ts +5 -23
- package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsValidators.ts +26 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsEntitySchema.ts +5 -63
- package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsSchema.ts +5 -63
- package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsValidators.ts +66 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsEntitySchema.ts +11 -121
- package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsSchema.ts +11 -121
- package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsValidators.ts +130 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsEntitySchema.ts +17 -21
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsSchema.ts +4 -12
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsValidators.ts +109 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsEntitySchema.ts +3 -2
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsSchema.ts +3 -2
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsValidators.ts +11 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsEntitySchema.ts +18 -108
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsSchema.ts +18 -108
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsValidators.ts +122 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsEntitySchema.ts +5 -30
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsSchema.ts +5 -30
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsValidators.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsEntitySchema.ts +5 -110
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsSchema.ts +5 -110
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsValidators.ts +113 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsEntitySchema.ts +42 -218
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsSchema.ts +63 -336
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsValidators.ts +604 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsEntitySchema.ts +11 -123
- package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsSchema.ts +11 -123
- package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsValidators.ts +133 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsEntitySchema.ts +25 -322
- package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsSchema.ts +20 -317
- package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsValidators.ts +359 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsEntitySchema.ts +139 -4161
- package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsSchema.ts +181 -4265
- package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsValidators.ts +4529 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsEntitySchema.ts +5 -86
- package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsSchema.ts +5 -86
- package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsValidators.ts +89 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsEntitySchema.ts +5 -151
- package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsSchema.ts +5 -151
- package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsValidators.ts +154 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsEntitySchema.ts +34 -169
- package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsSchema.ts +24 -159
- package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsValidators.ts +235 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsEntitySchema.ts +46 -644
- package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsSchema.ts +41 -639
- package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsValidators.ts +691 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsEntitySchema.ts +5 -46
- package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsSchema.ts +5 -46
- package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsValidators.ts +49 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsEntitySchema.ts +5 -160
- package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsSchema.ts +5 -160
- package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsValidators.ts +163 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsEntitySchema.ts +8 -19
- package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsSchema.ts +8 -19
- package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsValidators.ts +28 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsEntitySchema.ts +5 -55
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsSchema.ts +5 -55
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsValidators.ts +58 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsEntitySchema.ts +36 -121
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsSchema.ts +24 -111
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsValidators.ts +183 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsEntitySchema.ts +5 -119
- package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsSchema.ts +5 -119
- package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsValidators.ts +122 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsEntitySchema.ts +5 -45
- package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsSchema.ts +5 -45
- package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsValidators.ts +48 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsEntitySchema.ts +5 -195
- package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsSchema.ts +5 -195
- package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsValidators.ts +198 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsEntitySchema.ts +5 -97
- package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsSchema.ts +5 -97
- package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsValidators.ts +100 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsEntitySchema.ts +69 -1282
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsSchema.ts +43 -1259
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsValidators.ts +1417 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsEntitySchema.ts +32 -126
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsSchema.ts +27 -121
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsValidators.ts +172 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsEntitySchema.ts +32 -2103
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsSchema.ts +32 -2103
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsValidators.ts +2134 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsEntitySchema.ts +37 -2065
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsSchema.ts +32 -2060
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsValidators.ts +2196 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsEntitySchema.ts +56 -97
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsSchema.ts +98 -251
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsValidators.ts +1024 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsEntitySchema.ts +14 -89
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsSchema.ts +14 -89
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsValidators.ts +100 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsEntitySchema.ts +5 -246
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsSchema.ts +5 -246
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsValidators.ts +249 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsEntitySchema.ts +5 -115
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsSchema.ts +5 -115
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsValidators.ts +118 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsEntitySchema.ts +65 -5205
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsSchema.ts +59 -5200
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsValidators.ts +5124 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsEntitySchema.ts +101 -1508
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsSchema.ts +95 -1598
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsValidators.ts +2039 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsEntitySchema.ts +5 -2272
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsSchema.ts +5 -2272
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsValidators.ts +2276 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsEntitySchema.ts +5 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsSchema.ts +5 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsValidators.ts +40 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsEntitySchema.ts +194 -1425
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsSchema.ts +194 -1425
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsValidators.ts +1580 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsEntitySchema.ts +5 -265
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsSchema.ts +5 -265
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsValidators.ts +268 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsEntitySchema.ts +14 -28
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsSchema.ts +14 -28
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsValidators.ts +42 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsEntitySchema.ts +26 -96
- package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsSchema.ts +26 -96
- package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsValidators.ts +117 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsEntitySchema.ts +35 -314
- package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsSchema.ts +35 -314
- package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsValidators.ts +330 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsEntitySchema.ts +5 -33
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsSchema.ts +5 -33
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsValidators.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsEntitySchema.ts +16 -43
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsSchema.ts +9 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsValidators.ts +105 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsEntitySchema.ts +5 -358
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsSchema.ts +5 -358
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsValidators.ts +361 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsEntitySchema.ts +18 -66
- package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsSchema.ts +11 -61
- package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsValidators.ts +100 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsEntitySchema.ts +73 -366
- package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsSchema.ts +49 -345
- package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsValidators.ts +569 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsEntitySchema.ts +5 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsSchema.ts +5 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsValidators.ts +42 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsEntitySchema.ts +5 -76
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsSchema.ts +5 -76
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsValidators.ts +79 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsEntitySchema.ts +5 -27
- package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsSchema.ts +5 -27
- package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsValidators.ts +30 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsEntitySchema.ts +11 -30
- package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsSchema.ts +11 -30
- package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsValidators.ts +41 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsEntitySchema.ts +5 -1356
- package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsSchema.ts +5 -1356
- package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsValidators.ts +1359 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsEntitySchema.ts +35 -2767
- package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsSchema.ts +35 -2767
- package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsValidators.ts +2761 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsEntitySchema.ts +5 -170
- package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsSchema.ts +5 -170
- package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsValidators.ts +173 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsEntitySchema.ts +5 -549
- package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsSchema.ts +5 -549
- package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsValidators.ts +552 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsEntitySchema.ts +32 -143
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsSchema.ts +27 -138
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsValidators.ts +187 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsEntitySchema.ts +99 -1668
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsSchema.ts +70 -1644
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsValidators.ts +1872 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsEntitySchema.ts +123 -497
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsSchema.ts +118 -755
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsValidators.ts +1902 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsEntitySchema.ts +23 -301
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsSchema.ts +11 -291
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsValidators.ts +359 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsEntitySchema.ts +5 -113
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsSchema.ts +5 -113
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsValidators.ts +116 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsEntitySchema.ts +5 -159
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsSchema.ts +5 -159
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsValidators.ts +162 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsEntitySchema.ts +5 -3321
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsSchema.ts +5 -3321
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsValidators.ts +3324 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsEntitySchema.ts +73 -698
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsSchema.ts +23 -646
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsValidators.ts +931 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsEntitySchema.ts +5 -292
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsSchema.ts +5 -292
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsValidators.ts +295 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsEntitySchema.ts +8 -19
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsSchema.ts +8 -19
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsValidators.ts +29 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsEntitySchema.ts +5 -47
- package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsSchema.ts +5 -47
- package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsValidators.ts +51 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsEntitySchema.ts +40 -629
- package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsSchema.ts +40 -629
- package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsValidators.ts +655 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsEntitySchema.ts +5 -2387
- package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsSchema.ts +5 -2387
- package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsValidators.ts +2391 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsEntitySchema.ts +11 -50
- package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsSchema.ts +11 -50
- package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsValidators.ts +58 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsEntitySchema.ts +11 -21
- package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsSchema.ts +11 -21
- package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsValidators.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsEntitySchema.ts +5 -36
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsSchema.ts +5 -36
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsValidators.ts +40 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsEntitySchema.ts +5 -36
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsSchema.ts +5 -36
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsValidators.ts +40 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsEntitySchema.ts +5 -276
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsSchema.ts +5 -275
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsValidators.ts +279 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsEntitySchema.ts +5 -73
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsSchema.ts +5 -73
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsValidators.ts +77 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsEntitySchema.ts +5 -340
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsSchema.ts +5 -340
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsValidators.ts +344 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsEntitySchema.ts +5 -137
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsSchema.ts +5 -137
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsValidators.ts +141 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsEntitySchema.ts +5 -45
- package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsSchema.ts +5 -45
- package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsValidators.ts +48 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsEntitySchema.ts +144 -3036
- package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsSchema.ts +279 -3175
- package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsValidators.ts +3457 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsEntitySchema.ts +5 -883
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsSchema.ts +5 -882
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsValidators.ts +886 -0
- package/src/providers/stripe/client/stripeClient.ts +11 -15
- package/providers/aws/generated/managementRegistry.ts +0 -136
- package/providers/aws/management/mappings/iam/group.ts +0 -63
- package/providers/aws/management/mappings/iam/iamIdentity.ts +0 -41
- package/providers/aws/management/mappings/iam/iamLifecycleSettings.ts +0 -8
- package/providers/aws/management/mappings/iam/inlinePolicies.ts +0 -159
- package/providers/aws/management/mappings/iam/instanceProfile.ts +0 -77
- package/providers/aws/management/mappings/iam/oidcProvider.ts +0 -94
- package/providers/aws/management/mappings/iam/role.ts +0 -74
- package/providers/aws/management/mappings/iam/samlProvider.ts +0 -98
- package/providers/aws/management/mappings/iam/serverCertificate.ts +0 -72
- package/providers/aws/management/mappings/iam/user.ts +0 -61
- package/providers/aws/management/mappings/iam/userToGroupAddition.ts +0 -75
- package/providers/aws/management/operations/iam/accessKey.ts +0 -206
- package/providers/aws/management/operations/iam/managedPolicy.ts +0 -491
- package/providers/aws/management/operations/iam/policy.ts +0 -476
- package/providers/aws/management/operations/iam/serviceLinkedRole.ts +0 -172
- package/providers/aws/management/operations/iam/virtualMfaDevice.ts +0 -253
- package/providers/aws/management/resourceAssociationConfiguration.ts +0 -112
- package/providers/aws/management/resourceAssociationRegistration.ts +0 -349
- package/providers/aws/management/resourceAssociations.ts +0 -168
- package/providers/aws/management/resourceConfiguration.ts +0 -119
- package/providers/aws/management/resourceLifecycleRegistration.ts +0 -540
- package/providers/aws/management/resourceManagementModule.ts +0 -31
- package/providers/aws/management/resourceManagementRegistry.ts +0 -62
- package/providers/aws/management/resourceMapping.ts +0 -84
- package/providers/aws/management/resourceOperation.ts +0 -134
- package/providers/aws/management/resourceTagOperations.ts +0 -108
- package/providers/aws/management/resourceTiming.ts +0 -4
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_1.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_10.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_100.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_101.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_102.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_103.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_104.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_105.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_106.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_107.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_108.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_11.ts +0 -68
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_12.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_13.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_14.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_15.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_16.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_17.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_18.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_19.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_2.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_20.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_21.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_22.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_23.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_24.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_25.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_26.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_27.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_28.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_29.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_3.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_30.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_31.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_32.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_33.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_34.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_35.ts +0 -59
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_36.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_37.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_38.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_39.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_4.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_40.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_41.ts +0 -111
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_42.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_43.ts +0 -77
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_44.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_45.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_46.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_47.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_48.ts +0 -50
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_49.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_5.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_50.ts +0 -83
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_51.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_52.ts +0 -50
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_53.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_54.ts +0 -74
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_55.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_56.ts +0 -65
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_57.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_58.ts +0 -79
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_59.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_6.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_60.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_61.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_62.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_63.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_64.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_65.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_66.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_67.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_68.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_69.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_7.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_70.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_71.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_72.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_73.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_74.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_75.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_76.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_77.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_78.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_79.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_8.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_80.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_81.ts +0 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_82.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_83.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_84.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_85.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_86.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_87.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_88.ts +0 -56
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_89.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_9.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_90.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_91.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_92.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_93.ts +0 -56
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_94.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_95.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_96.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_97.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_98.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_99.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems.ts +0 -38
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_1.ts +0 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_2.ts +0 -38
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_3.ts +0 -154
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_4.ts +0 -51
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_5.ts +0 -120
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties.ts +0 -32
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_1.ts +0 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_10.ts +0 -125
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_11.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_12.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_13.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_14.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_15.ts +0 -32
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_16.ts +0 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_17.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_18.ts +0 -130
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_19.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_2.ts +0 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_20.ts +0 -89
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_21.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_22.ts +0 -30
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_23.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_24.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_25.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_26.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_27.ts +0 -97
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_28.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_29.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_3.ts +0 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_30.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_31.ts +0 -97
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_32.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_33.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_4.ts +0 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_5.ts +0 -53
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_6.ts +0 -42
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_7.ts +0 -63
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_8.ts +0 -94
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_9.ts +0 -34
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.6](https://github.com/Tradedal/nomoss/compare/v0.0.5...v0.0.6) (2026-12-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **aws:** consolidate clients into @nomoss/aws ([e772fb0](https://github.com/Tradedal/nomoss/commit/e772fb0643370e00a005c88da52f06d8fd8bf83d))
|
|
9
|
+
* **aws:** honor custom URL flags and generate two service clients ([27859ec](https://github.com/Tradedal/nomoss/commit/27859ec5944c23a32beeeb8468d426d544f77ecf))
|
|
10
|
+
* **aws:** route S3 access point and Outposts ARNs ([967a5a6](https://github.com/Tradedal/nomoss/commit/967a5a627a94278189bc5e264f7c95b4d64b2ba0))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **aws:** derive REST JSON null handling with Effect ([d87b9a1](https://github.com/Tradedal/nomoss/commit/d87b9a1e560ed8a78877d2c9b4460a45174cb080))
|
|
16
|
+
* **aws:** refresh Projen metadata for SDK workspace ([e1d3bac](https://github.com/Tradedal/nomoss/commit/e1d3bac31f8b3c967804c3753c395cd26ad370fe))
|
|
17
|
+
* **ci:** keep Projen's Biome configuration stable ([7ca4225](https://github.com/Tradedal/nomoss/commit/7ca422542a3308225f235659716fcca541a96bc6))
|
|
18
|
+
|
|
19
|
+
## [0.0.5](https://github.com/Tradedal/nomoss/compare/v0.0.3...v0.0.5) (2026-11-28)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* **aws:** package native clients and verify IAM lifecycles ([#21](https://github.com/Tradedal/nomoss/issues/21)) ([2833ab2](https://github.com/Tradedal/nomoss/commit/2833ab29ca744a2aa67d7e507bb6eb64265b09e0))
|
|
25
|
+
|
|
3
26
|
## [0.0.3](https://github.com/Tradedal/nomoss/compare/v0.0.2...v0.0.3) (2026-11-25)
|
|
4
27
|
|
|
5
28
|
|
package/README.md
CHANGED
package/ROADMAP.md
CHANGED
|
@@ -8,7 +8,7 @@ Generated clients and resource definitions drive live AWS and Stripe deployments
|
|
|
8
8
|
|
|
9
9
|
The goal is full AWS and Stripe resource coverage through the TypeScript declaration API. Applications can pass related resources directly, grant permissions through resource methods, and manage nested Stripe resources across deployments.
|
|
10
10
|
|
|
11
|
-
The [AWS provider resource coverage list](docs/application/aws-resource-coverage.md)
|
|
11
|
+
The [AWS provider resource coverage list](docs/application/aws-resource-coverage.md) describes the generated catalog and the native lifecycles verified in stack workflows.
|
|
12
12
|
|
|
13
13
|
## Beta
|
|
14
14
|
|
package/docs/README.md
CHANGED
|
@@ -6,6 +6,8 @@ Start with the [engine design](application/engine-design.md) for Nomoss requirem
|
|
|
6
6
|
|
|
7
7
|
For provider generation, read the [generation architecture](application/generation-architecture.md) and [resource mapping specification](application/resource-mapping.md). The [resource lifecycle requirements](application/resource-operations.md) describe generated operations and the behavior that still needs handwritten policies. The [AWS execution contract](application/aws-resource-lifecycle-management.md) specifies how AWS resource operations run. The [trace contract](application/tracing.md) defines the telemetry used to inspect execution.
|
|
8
8
|
|
|
9
|
+
The [AWS response decoding design](application/designs/getBucketTaggingResponseDecoding.ts) traces an XML response from S3 to the typed result returned to the application.
|
|
10
|
+
|
|
9
11
|
## Development process
|
|
10
12
|
|
|
11
13
|
Create and maintain development trackers with the [tracker template](../attempts/tracker-template.md). It defines how to capture scope, direction, delivered outcomes, and the work that remains.
|
|
@@ -1,26 +1,117 @@
|
|
|
1
1
|
# AWS provider resource coverage
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The [declaration manifest](../../tools/awsServiceResources/sources/resources.json) lists the AWS resources that applications can declare in TypeScript. A stack can deploy a type when the [AWS provider](../../providers/aws/management/resourcePolicies.ts) registers a policy that executes its resource commands.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Core AWS declarations
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
The [generated resource modules](../../providers/aws/generated/resources/) provide 168 declarations across 28 AWS services. Import a declaration from `nomoss/providers/aws/<service>/<resource>`, for example `nomoss/providers/aws/dynamodb/table`. The manifest gives the exact selection and pinned Registry source for each type.
|
|
8
8
|
|
|
9
|
-
|
|
|
9
|
+
| Application need | Services with declarations |
|
|
10
10
|
| --- | --- |
|
|
11
|
-
|
|
|
12
|
-
|
|
|
13
|
-
|
|
|
14
|
-
|
|
|
15
|
-
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
11
|
+
| Run APIs and serverless workloads | API Gateway, API Gateway V2, AppSync, Lambda, Step Functions, and EventBridge with Scheduler, Pipes, and Schemas |
|
|
12
|
+
| Store data and deliver messages | S3, DynamoDB, RDS, SQS, and SNS |
|
|
13
|
+
| Run containers and instances | ECS, ECR, and EC2 |
|
|
14
|
+
| Connect and publish services | VPC resources in EC2, Elastic Load Balancing V2, CloudFront, Route 53, and ACM |
|
|
15
|
+
| Manage access, configuration, and telemetry | IAM, Cognito, KMS, Secrets Manager, Systems Manager, CloudWatch, and CloudWatch Logs |
|
|
16
|
+
|
|
17
|
+
## API Gateway V2
|
|
18
|
+
|
|
19
|
+
The [generated declarations](../../providers/aws/generated/resources/apigatewayv2/) cover API, integration, route, stage, and other gateway settings. The AWS provider does not register API Gateway policies. The [management tracker](../../attempts/dev-attempts_aws-resource-management-repair.md#iam-and-http-management) tracks the policies needed for the HTTP workload.
|
|
20
|
+
|
|
21
|
+
## Lambda
|
|
22
|
+
|
|
23
|
+
The [Lambda Function policy](../../providers/aws/management/lambda/function.ts) deploys inline source, an S3 archive, or an ECR image through the native Lambda API. Pass an IAM Role declaration as `Role` to let the stack resolve its ARN before creating the function. The [live Lambda case](../../tests/aws/native/lambda/function.integration.test.ts) invokes the same function after changing its code and configuration and after clearing an environment variable. Teardown verifies that AWS and the stack no longer have the function.
|
|
24
|
+
|
|
25
|
+
## AppSync, Systems Manager, and EventBridge
|
|
26
|
+
|
|
27
|
+
The catalog includes all 12 pinned AppSync types for GraphQL and Events. A GraphQL schema can refer directly to a GraphQL API declaration, and a channel namespace can refer directly to an Events API declaration. Data sources, API keys, and custom domain associations accept either API type.
|
|
28
|
+
|
|
29
|
+
Systems Manager includes all nine pinned `AWS::SSM` declarations. Applications can refer to a document from an association and to a maintenance window from its targets and tasks. The catalog also includes Parameter Store, patch baselines, resource data sync, and resource policies.
|
|
30
|
+
|
|
31
|
+
EventBridge includes all 14 pinned declarations across Events, EventSchemas, Scheduler, and Pipes. The catalog includes global routing and schema discovery as well as event buses, rules, schedules, and pipes. A schema or registry policy can refer directly to its schema registry.
|
|
32
|
+
|
|
33
|
+
These three groups have generated declarations. Their native management registrations are still pending.
|
|
34
|
+
|
|
35
|
+
## IAM
|
|
36
|
+
|
|
37
|
+
Nomoss generates [declarations for 16 IAM types](../../providers/aws/generated/resources/iam/). The [Role policy](../../providers/aws/management/iam/role.ts) manages trust, inline policies, managed policy attachments, and tags. The [Role integration case](../../tests/aws/native/iam/role.integration.test.ts) checks an update at the same role ID and confirms removal from AWS and saved state. The other IAM declarations await policy registration.
|
|
38
|
+
|
|
39
|
+
## EC2 VPCs and subnets
|
|
40
|
+
|
|
41
|
+
The [VPC policy](../../providers/aws/management/ec2/vpc.ts) creates a VPC, waits for it to become available, and uses the saved VPC ID to read or remove it. The [live VPC case](../../tests/aws/native/ec2/vpc.integration.test.ts) verifies the requested CIDR and confirms removal from AWS and saved state. [Live trace](http://localhost:16686/trace/407ec12b00813a431e3f3cbdbb45df4b)
|
|
42
|
+
|
|
43
|
+
Pass the VPC declaration as `VpcId` on an [AWSSubnet declaration](../../providers/aws/generated/resources/ec2/subnet.ts) to create the subnet in that VPC. The stack resolves the VPC ID during apply and removes the subnet before it removes the VPC. The [live network cases](../../tests/aws/native/ec2/vpc.integration.test.ts) verify that changing public IP assignment keeps the subnet ID and that a VPC replacement moves the declared subnet before the old VPC is removed. If EC2 rejects an overlapping subnet range, the applied subnet stays available while the application submits a corrected range.
|
|
44
|
+
|
|
45
|
+
Declare a [route table](../../providers/aws/generated/resources/ec2/routetable.ts) and pass it with the subnet to a [subnet route table association](../../providers/aws/generated/resources/ec2/subnetroutetableassociation.ts). The [live routing case](../../tests/aws/native/ec2/routeTable.integration.test.ts) verifies that changing the selected table creates a new association for the same subnet. Between removal and creation, AWS uses the VPC's main table. The [VPC coverage tracker](../../attempts/dev-attempts_aws-vpc-coverage.md) maps the remaining configurations in the CDK VPC guide to native work.
|
|
46
|
+
|
|
47
|
+
Declare an [internet gateway](../../providers/aws/generated/resources/ec2/internetgateway.ts) to manage the gateway independently of a VPC. The [live gateway case](../../tests/aws/native/ec2/internetGateway.integration.test.ts) verifies that a stack can remove its own tag while preserving the gateway ID and tags set outside the stack. Teardown removes the gateway by its saved ID.
|
|
48
|
+
|
|
49
|
+
For a public subnet, declare the [VPC gateway attachment](../../providers/aws/generated/resources/ec2/vpcgatewayattachment.ts) and the [default route](../../providers/aws/generated/resources/ec2/route.ts). Pass the gateway to the route as its target. Call `requireBefore(attachment.key, route.key, reason)` inside the stack declaration to make apply confirm the attachment first and teardown remove the route first. The [live routing case](../../tests/aws/native/ec2/routeTable.integration.test.ts) verifies that replacing the VPC restores the subnet's active default route through the same internet gateway.
|
|
50
|
+
|
|
51
|
+
## Public DNS and TLS
|
|
52
|
+
|
|
53
|
+
The catalog includes declarations for [Route 53 hosted zones](../../providers/aws/generated/resources/route53/hostedzone.ts) and [record sets](../../providers/aws/generated/resources/route53/recordset.ts), [ACM certificates](../../providers/aws/generated/resources/certificatemanager/certificate.ts), and [CloudFront distributions](../../providers/aws/generated/resources/cloudfront/distribution.ts). Native management for these types is pending in the [AWS policy registry](../../providers/aws/management/resourcePolicies.ts#L55).
|
|
54
|
+
|
|
55
|
+
## Foundational SDK inventory
|
|
56
|
+
|
|
57
|
+
The [SDK feature table](../../providers/aws/sdk/README.md#sdk-feature-support) describes protocol, routing, and credential support. This inventory records operation coverage and the results of AWS calls in `us-east-1`. An empty list confirms that the client decoded the response; a separate read verifies how it handles an existing resource.
|
|
58
|
+
|
|
59
|
+
| Service | Pinned manifest | SDK result | Live verification |
|
|
60
|
+
| --- | --- | --- | --- |
|
|
61
|
+
| AWS Account Management | [account.json](../../tools/awsServiceResources/sources/account.json) | Published all 18 operations. | `GetRegionOptStatus` returned HTTP 403 `ForbiddenException`. [Trace](http://localhost:16686/trace/3c1c87cbca66d52fde124a50ba77a35c) |
|
|
62
|
+
| ACM | [acm.json](../../tools/awsServiceResources/sources/acm.json) | Exports all 40 operations. Signed HTTP fixtures verified custom URLs with FIPS or dual stack. | `GetAccountConfiguration` and `ListAcmeEndpoints` passed. The `ListCertificates` reply failed validation at `CertificateSummaryList[0].KeyAlgorithm`. |
|
|
63
|
+
| API Gateway | [apigateway.json](../../tools/awsServiceResources/sources/apigateway.json) | Exports all 124 operations. `GetExport` accepts the export options map and returns the document bytes and modeled headers. | Pending. A signed request against an HTTP fixture requested integration extensions and decoded YAML bytes. |
|
|
64
|
+
| API Gateway V2 | [apigatewayv2.json](../../tools/awsServiceResources/sources/apigatewayv2.json) | Exports all 103 operations. `ExportApi` returns the document bytes. | Pending. A signed request against an HTTP fixture decoded a YAML export. |
|
|
65
|
+
| Application Auto Scaling | [application-auto-scaling.json](../../tools/awsServiceResources/sources/application-auto-scaling.json) | Published all 14 operations. | `DescribeScalableTargets` found no ECS scaling targets. [Trace](http://localhost:16686/trace/c9e278722857d4ddba7dc2b78012b824) |
|
|
66
|
+
| AppSync | [appsync.json](../../tools/awsServiceResources/sources/appsync.json) | Exports all 74 operations. `GetIntrospectionSchema` returns SDL bytes. Local tests verify that `GetDataSourceIntrospection` [omits null members in nested field types](../../tests/aws/awsClient.test.ts#L1006) and [returns a model's SDL when requested](../../tests/aws/awsClient.test.ts#L1072). | `ListGraphqlApis` and `GetGraphqlApi` returned the same API ID and hyphenated name. `ListTagsForResource` returned the CloudFormation system tags from the API list. |
|
|
67
|
+
| EC2 Auto Scaling | [auto-scaling.json](../../tools/awsServiceResources/sources/auto-scaling.json) | `@nomoss/aws/auto-scaling` exports all 68 operations. A signed `DescribeAutoScalingGroups` request against an HTTP fixture returned the desired capacity for a named group. | `DescribeAutoScalingGroups` decoded an empty group list. |
|
|
68
|
+
| Backup | [backup.json](../../tools/awsServiceResources/sources/backup.json) | Published all 115 operations. | `ListBackupVaults` returned one vault. [Trace](http://localhost:16686/trace/97052ed826adb125b090f802d92b6a9e) |
|
|
69
|
+
| Cloud Control | [cloudcontrol.json](../../tools/awsServiceResources/sources/cloudcontrol.json) | Published all 8 operations. | Pending. |
|
|
70
|
+
| CloudFormation | [cloudformation.json](../../tools/awsServiceResources/sources/cloudformation.json) | Published all 90 operations. | `ListStacks` decoded active stack summaries. [Trace](http://localhost:16686/trace/d19db7a68e4081407eedec423edff59c) |
|
|
71
|
+
| CloudFront | [cloudfront.json](../../tools/awsServiceResources/sources/cloudfront.json) | `@nomoss/aws/cloudfront` exports all 167 operations. A signed `ListTagsForResource` request against an HTTP fixture returned ownership tags for a distribution. | `ListPublicKeys` decoded an empty list. `ListDistributions` failed validation at `DistributionList.Items.DistributionSummary.HttpVersion`. |
|
|
72
|
+
| CloudTrail | [cloudtrail.json](../../tools/awsServiceResources/sources/cloudtrail.json) | Published all 60 operations. | `DescribeTrails` found no trails in the selected region. [Trace](http://localhost:16686/trace/9efbacc2974ebcd6105622338b1c7c18) |
|
|
73
|
+
| CloudWatch Logs | [cloudwatch-logs.json](../../tools/awsServiceResources/sources/cloudwatch-logs.json) | Published all 118 operations. | `DescribeLogGroups` returned a log group. [Trace](http://localhost:16686/trace/7aac20971bf6f74f9e821fffdf72deb4) |
|
|
74
|
+
| CloudWatch | [cloudwatch.json](../../tools/awsServiceResources/sources/cloudwatch.json) | Published all 55 operations. | Pending. |
|
|
75
|
+
| CodeBuild | [codebuild.json](../../tools/awsServiceResources/sources/codebuild.json) | Published all 59 operations. | `ListProjects` returned a project. [Trace](http://localhost:16686/trace/4523e3c1f84a81c8a049723a37cebedf) |
|
|
76
|
+
| CodeDeploy | [codedeploy.json](../../tools/awsServiceResources/sources/codedeploy.json) | Published all 47 operations. | `ListApplications` found no applications. [Trace](http://localhost:16686/trace/b28549bdb711e5c889211f193dad0607) |
|
|
77
|
+
| CodePipeline | [codepipeline.json](../../tools/awsServiceResources/sources/codepipeline.json) | Published all 44 operations. | `ListPipelines` returned a pipeline. [Trace](http://localhost:16686/trace/a5f93b0a46e167027e2c1d3acde6a7ea) |
|
|
78
|
+
| Cognito User Pools | [cognito-identity-provider.json](../../tools/awsServiceResources/sources/cognito-identity-provider.json) | Published all 132 operations. | `ListUserPools` returned a user pool. [Trace](http://localhost:16686/trace/05cdaa88d97cab103ed7ddc49ee826f2) |
|
|
79
|
+
| Cognito Identity | [cognito-identity.json](../../tools/awsServiceResources/sources/cognito-identity.json) | Published all 23 operations. | Pending. |
|
|
80
|
+
| AWS Config | [config-service.json](../../tools/awsServiceResources/sources/config-service.json) | Published all 102 operations. | `DescribeConfigurationRecorders` found no recorders. [Trace](http://localhost:16686/trace/24f781b6390c588d2f4ccc65a55e1566) |
|
|
81
|
+
| IAM Identity Center SSO | [credentials.json](../../tools/awsServiceResources/sources/credentials.json) | Published the credential selection: 1 of 4 operations. | Pending. |
|
|
82
|
+
| IAM Identity Center OIDC | [credentials.json](../../tools/awsServiceResources/sources/credentials.json) | Published the credential selection: 1 of 4 operations. | Pending. |
|
|
83
|
+
| STS | [credentials.json](../../tools/awsServiceResources/sources/credentials.json) | Published the credential selection: 3 of 11 operations. | `GetCallerIdentity` matched the configured principal. [Trace](http://localhost:16686/trace/6f33a79098eb897246d6516244839d35) |
|
|
84
|
+
| DataSync | [datasync.json](../../tools/awsServiceResources/sources/datasync.json) | Published all 53 operations. | `ListTasks` found no tasks. [Trace](http://localhost:16686/trace/d73dde96fe50b807ecf3e18b1c5cb21d) |
|
|
85
|
+
| Direct Connect | [direct-connect.json](../../tools/awsServiceResources/sources/direct-connect.json) | Published all 73 operations. | `DescribeLocations` returned 14 locations. [Trace](http://localhost:16686/trace/18fa611665110c127c295a03ebbe2de5) |
|
|
86
|
+
| DynamoDB | [dynamodb.json](../../tools/awsServiceResources/sources/dynamodb.json) | Published all 58 operations. | Pending. |
|
|
87
|
+
| EC2 | [ec2.json](../../tools/awsServiceResources/sources/ec2.json) | Exports operations for VPCs, subnets, route tables, subnet route table associations, routes, internet gateways, and VPC gateway attachments. Describe operations for VPCs, subnets, route tables, and internet gateways have page streams. | Live stacks verified subnet updates, route table reassignment, gateway tag ownership, and restoration of an active default route after VPC replacement. |
|
|
88
|
+
| ECR | [ecr.json](../../tools/awsServiceResources/sources/ecr.json) | Published all 62 operations. | `DescribeRepositories` returned a repository. [Trace](http://localhost:16686/trace/2a9b05a299113e0e3847d7170f8b0d5d) |
|
|
89
|
+
| ECS | [ecs.json](../../tools/awsServiceResources/sources/ecs.json) | Published all 88 operations. | Pending. |
|
|
90
|
+
| EFS | [efs.json](../../tools/awsServiceResources/sources/efs.json) | Published all 31 operations. | `DescribeFileSystems` returned a file system. [Trace](http://localhost:16686/trace/75d549855a41c88915f6a274c1f03d1c) |
|
|
91
|
+
| EKS | [eks.json](../../tools/awsServiceResources/sources/eks.json) | Published all 70 operations. | `ListClusters` found no clusters. [Trace](http://localhost:16686/trace/507392fa1b410b1ff80d7766e127fc04) |
|
|
92
|
+
| Elastic Load Balancing V2 | [elastic-load-balancing-v2.json](../../tools/awsServiceResources/sources/elastic-load-balancing-v2.json) | Published all 51 operations. | `DescribeLoadBalancers` returned an empty list. |
|
|
93
|
+
| EventBridge | [eventbridge.json](../../tools/awsServiceResources/sources/eventbridge.json) | Published all 57 operations. | `ListEventBuses` returned an event bus. [Trace](http://localhost:16686/trace/83409987edeb16e64a75e4491185f96c) |
|
|
94
|
+
| FSx | [fsx.json](../../tools/awsServiceResources/sources/fsx.json) | Published all 48 operations. | `DescribeFileSystems` found no file systems. [Trace](http://localhost:16686/trace/a6bc905b34bde27a3b1de15233c98278) |
|
|
95
|
+
| IAM | [iam.json](../../tools/awsServiceResources/sources/iam.json) | Published all 180 operations. | `GetRole` verified the configured role and reported the modeled error for an absent role. [Trace](http://localhost:16686/trace/9961167bea2fa03dcea24b7b095e425b) |
|
|
96
|
+
| Identity Store | [identitystore.json](../../tools/awsServiceResources/sources/identitystore.json) | Published all 22 operations. | The `ListGroups` decoder could not find `Groups[0].ExternalIds[0].Id`. [Trace](http://localhost:16686/trace/6be6db5cc5bab6851fb40763b7c93edb) |
|
|
97
|
+
| Kinesis Data Streams | [kinesis.json](../../tools/awsServiceResources/sources/kinesis.json) | No public client. `SubscribeToShard` rendered as an ordinary JSON call. The model requires an HTTP/2 event stream. | Awaiting publication. |
|
|
98
|
+
| KMS | [kms.json](../../tools/awsServiceResources/sources/kms.json) | Published all 56 operations. | Pending. |
|
|
99
|
+
| Lambda | [lambda.json](../../tools/awsServiceResources/sources/lambda.json) | Publishes 24 of 88 operations, including `Invoke` and function management. | The live stack verified the function's response before and after code and configuration changes, then removed the function. |
|
|
100
|
+
| AWS Organizations | [organizations.json](../../tools/awsServiceResources/sources/organizations.json) | Published all 63 operations. | `DescribeOrganization` returned the current organization. [Trace](http://localhost:16686/trace/49925166e593bb4f4582f9d3d53eaeea) |
|
|
101
|
+
| EventBridge Pipes | [pipes.json](../../tools/awsServiceResources/sources/pipes.json) | Published all 10 operations. | `ListPipes` found no pipes. `DescribePipe` returned the modeled `NotFoundException` for a fresh name. [Trace](http://localhost:16686/trace/7e15564c26a9c647e700417f61f08540) |
|
|
102
|
+
| RDS | [rds.json](../../tools/awsServiceResources/sources/rds.json) | Exports all 168 AWS Query operations. A signed local `DescribeDBRecommendations` read followed the continuation token and decoded both pages. | Pending. |
|
|
103
|
+
| Route 53 | [route-53.json](../../tools/awsServiceResources/sources/route-53.json) | Published all 71 operations. | The `ListHostedZones` decoder could not find `Marker`. [Trace](http://localhost:16686/trace/2c07ceeb3ad5c651aae1db789b5a5c16) |
|
|
104
|
+
| Route 53 Resolver | [route53resolver.json](../../tools/awsServiceResources/sources/route53resolver.json) | Published all 72 operations. | `ListResolverRules` failed decoding an empty `CreatorRequestId`. [Trace](http://localhost:16686/trace/d192ee96f004997895ffeffde97bd56d) |
|
|
105
|
+
| S3 Control | [s3-control.json](../../tools/awsServiceResources/sources/s3-control.json) | Published all 97 operations. | `ListJobs` returned an empty list. |
|
|
106
|
+
| S3 | [s3.json](../../tools/awsServiceResources/sources/s3.json) | Exports all 112 operations. Local tests cover [general purpose bucket creation, lookup, and removal](../../tests/aws/awsClient.test.ts#L519) and [`GetObject` through regional access point and Outposts ARNs](../../tests/aws/awsClient.test.ts#L545). | Earlier live bucket and object operations passed. See [SDK checks](../../attempts/dev-attempts_aws-client-validation.md#completed-work). |
|
|
107
|
+
| EventBridge Scheduler | [scheduler.json](../../tools/awsServiceResources/sources/scheduler.json) | Published all 12 operations. | Pending. |
|
|
108
|
+
| EventBridge Schemas | [schemas.json](../../tools/awsServiceResources/sources/schemas.json) | Exports all 31 operations. `GetCodeBindingSource` returns the source bytes for the requested version and language. | Pending. A signed request against an HTTP fixture returned TypeScript source bytes. |
|
|
109
|
+
| Secrets Manager | [secrets-manager.json](../../tools/awsServiceResources/sources/secrets-manager.json) | Published all 23 operations. | `ListSecrets` returned secret metadata. [Trace](http://localhost:16686/trace/422e350531c7d0b950bc5e46b167d1a0) |
|
|
110
|
+
| Shield | [shield.json](../../tools/awsServiceResources/sources/shield.json) | Published all 36 operations. | `GetSubscriptionState` returned `INACTIVE`. [Trace](http://localhost:16686/trace/7b965483288a7324c7955729e3be7019) |
|
|
111
|
+
| SNS | [sns.json](../../tools/awsServiceResources/sources/sns.json) | Published all 42 operations. | Pending. |
|
|
112
|
+
| SQS | [sqs.json](../../tools/awsServiceResources/sources/sqs.json) | Published all 23 operations. | The live case created a queue, changed its visibility timeout and confirmed deletion. |
|
|
113
|
+
| Systems Manager | [ssm.json](../../tools/awsServiceResources/sources/ssm.json) | Published all 152 operations. | `DescribeParameters` returned a parameter. `GetParameter` reopened it at the listed version. [Trace](http://localhost:16686/trace/7b2953ece83ff0a0647811eed00e40b8) |
|
|
114
|
+
| IAM Identity Center Admin | [sso-admin.json](../../tools/awsServiceResources/sources/sso-admin.json) | Published all 79 operations. | `ListInstances` returned an IAM Identity Center instance. [Trace](http://localhost:16686/trace/6be6db5cc5bab6851fb40763b7c93edb) |
|
|
115
|
+
| Step Functions | [stepFunctions.json](../../tools/awsServiceResources/sources/stepFunctions.json) | Published all 37 operations. | `ListStateMachines` returned a state machine. [Trace](http://localhost:16686/trace/aed9a46c67089cc31fa469ac812c15f3) |
|
|
116
|
+
| Storage Gateway | [storage-gateway.json](../../tools/awsServiceResources/sources/storage-gateway.json) | Published all 96 operations. | `ListGateways` found no gateways. [Trace](http://localhost:16686/trace/3e04b82088afe0b2abf1383a70a4d6a7) |
|
|
117
|
+
| WAFv2 | [wafv2.json](../../tools/awsServiceResources/sources/wafv2.json) | Published all 59 operations. | `ListWebACLs` failed decoding an empty `Description`. [Trace](http://localhost:16686/trace/a7dcb2f0395bd47fdecdba80062887c3) |
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AWS request bodies: who turns a value into bytes?
|
|
3
|
+
*
|
|
4
|
+
* An application has a bucket policy as JSON text. It can give that exact
|
|
5
|
+
* string to S3 to install the policy, or to a Step Functions workflow to
|
|
6
|
+
* review it. S3 must receive the text verbatim. Step Functions must receive a
|
|
7
|
+
* JSON object whose input property contains the text. The quotes inside that
|
|
8
|
+
* property must be escaped. A second JSON encoding would corrupt the S3 body;
|
|
9
|
+
* skipping JSON encoding would corrupt the workflow request.
|
|
10
|
+
*
|
|
11
|
+
* Implementation notes. Emit a payload schema on the operation's Effect HTTP
|
|
12
|
+
* declaration. Leave payload absent when the operation has no body. Select
|
|
13
|
+
* the encoding from the Smithy protocol and payload target
|
|
14
|
+
* when the generator reads the validated operation metadata. Effect applies
|
|
15
|
+
* that schema to the value passed as payload and gives the transport the body
|
|
16
|
+
* and content type. The transport never has to inspect a string to guess
|
|
17
|
+
* whether its contents look like JSON.
|
|
18
|
+
*
|
|
19
|
+
* @see refs/smithy/docs/source-2.0/aws/protocols/aws-restxml-protocol.rst (Content-Type)
|
|
20
|
+
* @see refs/effect/packages/effect/src/http-api/HttpApiSchema.ts (payload encodings)
|
|
21
|
+
*/
|
|
22
|
+
import { Schema, SchemaGetter } from "effect";
|
|
23
|
+
import { HttpApiSchema } from "effect/http-api";
|
|
24
|
+
import XMLBuilder from "fast-xml-builder";
|
|
25
|
+
|
|
26
|
+
// Proposed generator output. These are the actual payload schemas Effect
|
|
27
|
+
// accepts. S3 models Policy as a string; Step Functions models StartExecution
|
|
28
|
+
// as an AWS JSON 1.0 document with a string member called input.
|
|
29
|
+
export const putBucketPolicyBody = Schema.String.pipe(HttpApiSchema.asText());
|
|
30
|
+
|
|
31
|
+
export const startExecutionBody = Schema.Struct({
|
|
32
|
+
stateMachineArn: Schema.String,
|
|
33
|
+
name: Schema.optionalKey(Schema.String),
|
|
34
|
+
input: Schema.optionalKey(Schema.String),
|
|
35
|
+
traceHeader: Schema.optionalKey(Schema.String),
|
|
36
|
+
}).pipe(HttpApiSchema.asJson({ contentType: "application/x-amz-json-1.0" }));
|
|
37
|
+
|
|
38
|
+
// Application values. Whitespace and quotes in policyText belong to the
|
|
39
|
+
// policy. The S3 body starts with {"Statement": and has no enclosing quotes.
|
|
40
|
+
// In the workflow body that same text starts with "input":"{\"Statement\":
|
|
41
|
+
// AWS decodes the outer document and gives the workflow the original string.
|
|
42
|
+
const policyText =
|
|
43
|
+
'{"Statement":[{"Effect":"Deny","Principal":"*","Action":"s3:DeleteBucket","Resource":"arn:aws:s3:::example-reports"}]}';
|
|
44
|
+
export const policyPayload =
|
|
45
|
+
policyText satisfies typeof putBucketPolicyBody.Type;
|
|
46
|
+
export const workflowPayload = {
|
|
47
|
+
stateMachineArn:
|
|
48
|
+
"arn:aws:states:us-east-1:123456789012:stateMachine:ReviewPolicy",
|
|
49
|
+
input: policyText,
|
|
50
|
+
} satisfies typeof startExecutionBody.Type;
|
|
51
|
+
|
|
52
|
+
// S3 PutObject accepts opaque bytes. For the default media type, bytes 00 ff
|
|
53
|
+
// reach the transport as 00 ff with application/octet-stream.
|
|
54
|
+
export const putObjectBytes = Schema.Uint8Array.pipe(
|
|
55
|
+
HttpApiSchema.asUint8Array(),
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
// STS GetCallerIdentity takes no application fields. AWS Query still requires
|
|
59
|
+
// this form body: Action=GetCallerIdentity&Version=2011-06-15. The generator
|
|
60
|
+
// supplies the protocol fields. Effect writes the form and its content type.
|
|
61
|
+
export const identityForm = Schema.Struct({
|
|
62
|
+
Action: Schema.Literal("GetCallerIdentity"),
|
|
63
|
+
Version: Schema.Literal("2011-06-15"),
|
|
64
|
+
}).pipe(HttpApiSchema.asFormUrlEncoded());
|
|
65
|
+
|
|
66
|
+
// S3 PutBucketTagging needs an XML document. Smithy supplies the root name,
|
|
67
|
+
// namespace, and list entry name. The generated codec supplies those names to
|
|
68
|
+
// the XML writer. For a tag value R&D, the writer emits <Value>R&D</Value>.
|
|
69
|
+
// Effect's text encoder then writes the XML string once as UTF-8.
|
|
70
|
+
const xml = new XMLBuilder({
|
|
71
|
+
ignoreAttributes: false,
|
|
72
|
+
attributeNamePrefix: "@_",
|
|
73
|
+
});
|
|
74
|
+
export const putBucketTaggingBody = Schema.Struct({
|
|
75
|
+
TagSet: Schema.Array(
|
|
76
|
+
Schema.Struct({ Key: Schema.String, Value: Schema.String }),
|
|
77
|
+
),
|
|
78
|
+
}).pipe(
|
|
79
|
+
Schema.encodeTo(Schema.String, {
|
|
80
|
+
encode: SchemaGetter.transform(({ TagSet }) =>
|
|
81
|
+
xml.build({
|
|
82
|
+
Tagging: {
|
|
83
|
+
"@_xmlns": "http://s3.amazonaws.com/doc/2006-03-01/",
|
|
84
|
+
TagSet: { Tag: TagSet },
|
|
85
|
+
},
|
|
86
|
+
}),
|
|
87
|
+
),
|
|
88
|
+
decode: SchemaGetter.forbidden(() => "Request encoder only"),
|
|
89
|
+
}),
|
|
90
|
+
HttpApiSchema.asText({ contentType: "application/xml" }),
|
|
91
|
+
);
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A report publisher asks for inventory-reports in eu-west-1. It can continue
|
|
3
|
+
* when it already owns the bucket. It needs a different name when the bucket
|
|
4
|
+
* is unavailable. Both replies have HTTP status 409.
|
|
5
|
+
*/
|
|
6
|
+
import { Effect, Schema, SchemaGetter } from "effect";
|
|
7
|
+
import type { HttpClient } from "effect/http";
|
|
8
|
+
import {
|
|
9
|
+
HttpApi,
|
|
10
|
+
HttpApiClient,
|
|
11
|
+
HttpApiEndpoint,
|
|
12
|
+
HttpApiGroup,
|
|
13
|
+
HttpApiSchema,
|
|
14
|
+
} from "effect/http-api";
|
|
15
|
+
|
|
16
|
+
// Proposed generator output for creating a general purpose bucket in eu-west-1.
|
|
17
|
+
|
|
18
|
+
const bucketConfiguration = Schema.Struct({
|
|
19
|
+
LocationConstraint: Schema.Literal("eu-west-1"),
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
const namespace = "http://s3.amazonaws.com/doc/2006-03-01/";
|
|
23
|
+
|
|
24
|
+
// The configurationDocument schema uses the httpPayload member's xmlName
|
|
25
|
+
// for the root and the service's xmlNamespace for its xmlns attribute.
|
|
26
|
+
// See CreateBucketRequest in refs/aws-api-models/models/s3/service/2006-03-01/s3-2006-03-01.json
|
|
27
|
+
// and "XML shape serialization" in refs/smithy/docs/source-2.0/aws/protocols/aws-restxml-protocol.rst.
|
|
28
|
+
const configurationDocument = Schema.Struct({
|
|
29
|
+
CreateBucketConfiguration: Schema.Struct({
|
|
30
|
+
"@_xmlns": Schema.Literal(namespace),
|
|
31
|
+
...bucketConfiguration.fields,
|
|
32
|
+
}),
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
const bucketHeaders = Schema.Struct({
|
|
36
|
+
Location: Schema.optionalKey(Schema.String),
|
|
37
|
+
BucketArn: Schema.optionalKey(Schema.String),
|
|
38
|
+
}).pipe(
|
|
39
|
+
Schema.encodeKeys({ Location: "location", BucketArn: "x-amz-bucket-arn" }),
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
// The conflict schema lets the caller distinguish the two modeled errors
|
|
43
|
+
// on HTTP 409. CreateBucket names both error shapes, and each declares
|
|
44
|
+
// httpError 409. REST XML noErrorWrapping places Code under the Error root.
|
|
45
|
+
// See refs/smithy/docs/source-2.0/aws/protocols/aws-restxml-protocol.rst
|
|
46
|
+
// ("Error response serialization") and refs/effect/packages/effect/src/Schema.ts (encodeKeys).
|
|
47
|
+
const conflict = Schema.Union([
|
|
48
|
+
Schema.TaggedStruct("BucketAlreadyOwnedByYou", {
|
|
49
|
+
Message: Schema.optionalKey(Schema.String),
|
|
50
|
+
}).pipe(Schema.encodeKeys({ _tag: "Code" })),
|
|
51
|
+
Schema.TaggedStruct("BucketAlreadyExists", {
|
|
52
|
+
Message: Schema.optionalKey(Schema.String),
|
|
53
|
+
}).pipe(Schema.encodeKeys({ _tag: "Code" })),
|
|
54
|
+
]);
|
|
55
|
+
const conflictDocument = Schema.Struct({ Error: conflict });
|
|
56
|
+
|
|
57
|
+
type XmlDocument = Schema.Codec<unknown, string>;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* The makeBucketClient function takes the application's signed HTTP client
|
|
61
|
+
* and REST XML codec. The codec represents attributes with an @_ prefix
|
|
62
|
+
* and keeps element text as strings. Those settings let the operation
|
|
63
|
+
* supply the namespace and compare the error code from the response.
|
|
64
|
+
* See refs/effect/packages/effect/src/http-api/HttpApiClient.ts (makeWith).
|
|
65
|
+
*/
|
|
66
|
+
const makeBucketClient = (
|
|
67
|
+
transport: HttpClient.HttpClient,
|
|
68
|
+
xml: XmlDocument,
|
|
69
|
+
) => {
|
|
70
|
+
const payload = xml.pipe(
|
|
71
|
+
Schema.decodeTo(configurationDocument),
|
|
72
|
+
Schema.decodeTo(bucketConfiguration, {
|
|
73
|
+
decode: SchemaGetter.transform(({ CreateBucketConfiguration }) => ({
|
|
74
|
+
LocationConstraint: CreateBucketConfiguration.LocationConstraint,
|
|
75
|
+
})),
|
|
76
|
+
encode: SchemaGetter.transform(
|
|
77
|
+
(configuration): typeof configurationDocument.Type => ({
|
|
78
|
+
CreateBucketConfiguration: { "@_xmlns": namespace, ...configuration },
|
|
79
|
+
}),
|
|
80
|
+
),
|
|
81
|
+
}),
|
|
82
|
+
HttpApiSchema.asText({ contentType: "application/xml" }),
|
|
83
|
+
);
|
|
84
|
+
|
|
85
|
+
// The error schema decodes one XML document for HTTP 409 and exposes its
|
|
86
|
+
// modeled choices on the Effect failure channel. An unfamiliar Code fails
|
|
87
|
+
// schema validation. See refs/effect/packages/effect/src/http-api/HttpApiSchema.ts
|
|
88
|
+
// (asText, status) and refs/effect/packages/effect/src/http-api/HttpApiClient.ts
|
|
89
|
+
// (makeWith).
|
|
90
|
+
const error = xml.pipe(
|
|
91
|
+
Schema.decodeTo(conflictDocument),
|
|
92
|
+
Schema.decodeTo(Schema.toType(conflict), {
|
|
93
|
+
decode: SchemaGetter.transform((document) => document.Error),
|
|
94
|
+
encode: SchemaGetter.transform((failure) => ({ Error: failure })),
|
|
95
|
+
}),
|
|
96
|
+
HttpApiSchema.asText({ contentType: "application/xml" }),
|
|
97
|
+
HttpApiSchema.status(409),
|
|
98
|
+
);
|
|
99
|
+
|
|
100
|
+
// The createBucket declaration takes PUT /{Bucket} and HTTP 200 from the
|
|
101
|
+
// CreateBucket http trait. The Smithy prelude defines http and httpLabel
|
|
102
|
+
// in refs/smithy/smithy-model/src/main/resources/software/amazon/smithy/model/loader/prelude.smithy.
|
|
103
|
+
// CreateBucketOutput declares the two optional response headers.
|
|
104
|
+
const createBucket = HttpApiEndpoint.put("createBucket", "/:Bucket", {
|
|
105
|
+
params: { Bucket: Schema.String },
|
|
106
|
+
payload,
|
|
107
|
+
success: HttpApiSchema.WithHeaders(HttpApiSchema.Empty(200), bucketHeaders),
|
|
108
|
+
error,
|
|
109
|
+
});
|
|
110
|
+
const api = HttpApi.make("reports").add(
|
|
111
|
+
HttpApiGroup.make("buckets", { topLevel: true }).add(createBucket),
|
|
112
|
+
);
|
|
113
|
+
|
|
114
|
+
return HttpApiClient.makeWith(api, { httpClient: transport }).pipe(
|
|
115
|
+
Effect.map((client) => ({
|
|
116
|
+
createBucket: (input: {
|
|
117
|
+
readonly Bucket: string;
|
|
118
|
+
readonly CreateBucketConfiguration: typeof bucketConfiguration.Type;
|
|
119
|
+
}) =>
|
|
120
|
+
client
|
|
121
|
+
.createBucket({
|
|
122
|
+
params: { Bucket: input.Bucket },
|
|
123
|
+
payload: input.CreateBucketConfiguration,
|
|
124
|
+
})
|
|
125
|
+
.pipe(Effect.map(({ headers }) => headers)),
|
|
126
|
+
})),
|
|
127
|
+
);
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
// Application code. For a local run, supply an HttpClient that serves the
|
|
131
|
+
// example replies below. Supply a codec that reads with XMLParser
|
|
132
|
+
// (parseTagValue: false) and writes with XMLBuilder (ignoreAttributes: false).
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* The prepareReportBucket function gives the publisher a location when AWS
|
|
136
|
+
* returns one for a new bucket. On a conflict, the publisher can proceed
|
|
137
|
+
* when it owns the bucket and can ask for another name when it is unavailable.
|
|
138
|
+
* Other failures reach the caller. See refs/effect/packages/effect/src/Effect.ts
|
|
139
|
+
* (catchTags).
|
|
140
|
+
*/
|
|
141
|
+
export const prepareReportBucket = (
|
|
142
|
+
transport: HttpClient.HttpClient,
|
|
143
|
+
xml: XmlDocument,
|
|
144
|
+
) =>
|
|
145
|
+
makeBucketClient(transport, xml).pipe(
|
|
146
|
+
Effect.flatMap((client) =>
|
|
147
|
+
client.createBucket({
|
|
148
|
+
Bucket: "inventory-reports",
|
|
149
|
+
CreateBucketConfiguration: { LocationConstraint: "eu-west-1" },
|
|
150
|
+
}),
|
|
151
|
+
),
|
|
152
|
+
Effect.map(({ Location }) => ({ _tag: "Created" as const, Location })),
|
|
153
|
+
Effect.catchTags({
|
|
154
|
+
BucketAlreadyOwnedByYou: () =>
|
|
155
|
+
Effect.succeed({ _tag: "AlreadyOwned" } as const),
|
|
156
|
+
BucketAlreadyExists: () =>
|
|
157
|
+
Effect.succeed({ _tag: "ChooseAnotherName" } as const),
|
|
158
|
+
}),
|
|
159
|
+
);
|
|
160
|
+
|
|
161
|
+
// HTTP 409 with <Error><Code>BucketAlreadyOwnedByYou</Code></Error>
|
|
162
|
+
// parses to { Error: { Code: "BucketAlreadyOwnedByYou" } }. The SDK fails
|
|
163
|
+
// with { _tag: "BucketAlreadyOwnedByYou" }; the publisher gets AlreadyOwned.
|
|
164
|
+
// With BucketAlreadyExists in the same XML field, it gets ChooseAnotherName.
|