alchemy 2.0.0-beta.52 → 2.0.0-beta.53
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/bin/exec.js +8 -8
- package/bin/exec.js.map +1 -1
- package/lib/AWS/ACM/Certificate.d.ts +1 -1
- package/lib/AWS/ApiGateway/Account.d.ts +1 -1
- package/lib/AWS/ApiGateway/ApiKey.d.ts +2 -2
- package/lib/AWS/ApiGateway/ApiKey.d.ts.map +1 -1
- package/lib/AWS/ApiGateway/ApiKey.js +3 -3
- package/lib/AWS/ApiGateway/ApiKey.js.map +1 -1
- package/lib/AWS/ApiGateway/Authorizer.d.ts +1 -1
- package/lib/AWS/ApiGateway/BasePathMapping.d.ts +1 -1
- package/lib/AWS/ApiGateway/Deployment.d.ts +1 -1
- package/lib/AWS/ApiGateway/DomainName.d.ts +1 -1
- package/lib/AWS/ApiGateway/GatewayResource.d.ts +1 -1
- package/lib/AWS/ApiGateway/GatewayResponse.d.ts +1 -1
- package/lib/AWS/ApiGateway/Method.d.ts +1 -1
- package/lib/AWS/ApiGateway/RestApi.d.ts +2 -2
- package/lib/AWS/ApiGateway/RestApi.d.ts.map +1 -1
- package/lib/AWS/ApiGateway/RestApi.js +4 -4
- package/lib/AWS/ApiGateway/RestApi.js.map +1 -1
- package/lib/AWS/ApiGateway/Stage.d.ts +2 -2
- package/lib/AWS/ApiGateway/Stage.d.ts.map +1 -1
- package/lib/AWS/ApiGateway/Stage.js +3 -3
- package/lib/AWS/ApiGateway/Stage.js.map +1 -1
- package/lib/AWS/ApiGateway/UsagePlan.d.ts +2 -2
- package/lib/AWS/ApiGateway/UsagePlan.d.ts.map +1 -1
- package/lib/AWS/ApiGateway/UsagePlan.js +3 -3
- package/lib/AWS/ApiGateway/UsagePlan.js.map +1 -1
- package/lib/AWS/ApiGateway/UsagePlanKey.d.ts +1 -1
- package/lib/AWS/ApiGateway/VpcLink.d.ts +2 -2
- package/lib/AWS/ApiGateway/VpcLink.d.ts.map +1 -1
- package/lib/AWS/ApiGateway/VpcLink.js +3 -3
- package/lib/AWS/ApiGateway/VpcLink.js.map +1 -1
- package/lib/AWS/ApiGateway/common.d.ts +1 -1
- package/lib/AWS/Assets.d.ts +21 -12
- package/lib/AWS/Assets.d.ts.map +1 -1
- package/lib/AWS/Assets.js +95 -70
- package/lib/AWS/Assets.js.map +1 -1
- package/lib/AWS/AuthProvider.d.ts +12 -6
- package/lib/AWS/AuthProvider.d.ts.map +1 -1
- package/lib/AWS/AuthProvider.js +120 -75
- package/lib/AWS/AuthProvider.js.map +1 -1
- package/lib/AWS/AutoScaling/AutoScalingGroup.d.ts +1 -1
- package/lib/AWS/AutoScaling/LaunchTemplate.d.ts +1 -2
- package/lib/AWS/AutoScaling/LaunchTemplate.d.ts.map +1 -1
- package/lib/AWS/AutoScaling/LaunchTemplate.js +21 -27
- package/lib/AWS/AutoScaling/LaunchTemplate.js.map +1 -1
- package/lib/AWS/AutoScaling/ScalingPolicy.d.ts +1 -1
- package/lib/AWS/Bootstrap.d.ts +2 -14
- package/lib/AWS/Bootstrap.d.ts.map +1 -1
- package/lib/AWS/Bootstrap.js +46 -133
- package/lib/AWS/Bootstrap.js.map +1 -1
- package/lib/AWS/CloudFront/CachePolicy.d.ts +1 -1
- package/lib/AWS/CloudFront/Distribution.d.ts +1 -1
- package/lib/AWS/CloudFront/Function.d.ts +1 -1
- package/lib/AWS/CloudFront/Invalidation.d.ts +1 -1
- package/lib/AWS/CloudFront/KeyGroup.d.ts +1 -1
- package/lib/AWS/CloudFront/KeyValueStore.d.ts +1 -1
- package/lib/AWS/CloudFront/OriginAccessControl.d.ts +1 -1
- package/lib/AWS/CloudFront/OriginRequestPolicy.d.ts +1 -1
- package/lib/AWS/CloudFront/PublicKey.d.ts +1 -1
- package/lib/AWS/CloudFront/ResponseHeadersPolicy.d.ts +1 -1
- package/lib/AWS/CloudFront/common.d.ts +1 -1
- package/lib/AWS/CloudWatch/Alarm.d.ts +2 -3
- package/lib/AWS/CloudWatch/Alarm.d.ts.map +1 -1
- package/lib/AWS/CloudWatch/Alarm.js +3 -6
- package/lib/AWS/CloudWatch/Alarm.js.map +1 -1
- package/lib/AWS/CloudWatch/AlarmMuteRule.d.ts +2 -3
- package/lib/AWS/CloudWatch/AlarmMuteRule.d.ts.map +1 -1
- package/lib/AWS/CloudWatch/AlarmMuteRule.js +2 -5
- package/lib/AWS/CloudWatch/AlarmMuteRule.js.map +1 -1
- package/lib/AWS/CloudWatch/AnomalyDetector.d.ts +1 -1
- package/lib/AWS/CloudWatch/CompositeAlarm.d.ts +2 -3
- package/lib/AWS/CloudWatch/CompositeAlarm.d.ts.map +1 -1
- package/lib/AWS/CloudWatch/CompositeAlarm.js +3 -6
- package/lib/AWS/CloudWatch/CompositeAlarm.js.map +1 -1
- package/lib/AWS/CloudWatch/Dashboard.d.ts +2 -2
- package/lib/AWS/CloudWatch/Dashboard.d.ts.map +1 -1
- package/lib/AWS/CloudWatch/Dashboard.js +3 -4
- package/lib/AWS/CloudWatch/Dashboard.js.map +1 -1
- package/lib/AWS/CloudWatch/DescribeAlarmContributors.d.ts +1 -1
- package/lib/AWS/CloudWatch/DescribeAlarmHistory.d.ts +1 -1
- package/lib/AWS/CloudWatch/DescribeAlarms.d.ts +1 -1
- package/lib/AWS/CloudWatch/DescribeAlarmsForMetric.d.ts +1 -1
- package/lib/AWS/CloudWatch/DescribeAnomalyDetectors.d.ts +1 -1
- package/lib/AWS/CloudWatch/DescribeInsightRules.d.ts +1 -1
- package/lib/AWS/CloudWatch/DisableAlarmActions.d.ts +1 -1
- package/lib/AWS/CloudWatch/DisableInsightRules.d.ts +1 -1
- package/lib/AWS/CloudWatch/EnableAlarmActions.d.ts +1 -1
- package/lib/AWS/CloudWatch/GetAlarmMuteRule.d.ts +1 -1
- package/lib/AWS/CloudWatch/GetDashboard.d.ts +1 -1
- package/lib/AWS/CloudWatch/GetInsightRuleReport.d.ts +1 -1
- package/lib/AWS/CloudWatch/GetMetricData.d.ts +1 -1
- package/lib/AWS/CloudWatch/GetMetricStatistics.d.ts +1 -1
- package/lib/AWS/CloudWatch/GetMetricStream.d.ts +1 -1
- package/lib/AWS/CloudWatch/GetMetricWidgetImage.d.ts +1 -1
- package/lib/AWS/CloudWatch/InsightRule.d.ts +2 -3
- package/lib/AWS/CloudWatch/InsightRule.d.ts.map +1 -1
- package/lib/AWS/CloudWatch/InsightRule.js +4 -7
- package/lib/AWS/CloudWatch/InsightRule.js.map +1 -1
- package/lib/AWS/CloudWatch/ListAlarmMuteRules.d.ts +1 -1
- package/lib/AWS/CloudWatch/ListDashboards.d.ts +1 -1
- package/lib/AWS/CloudWatch/ListManagedInsightRules.d.ts +1 -1
- package/lib/AWS/CloudWatch/ListMetricStreams.d.ts +1 -1
- package/lib/AWS/CloudWatch/ListMetrics.d.ts +1 -1
- package/lib/AWS/CloudWatch/ListTagsForResource.d.ts +1 -1
- package/lib/AWS/CloudWatch/MetricStream.d.ts +2 -3
- package/lib/AWS/CloudWatch/MetricStream.d.ts.map +1 -1
- package/lib/AWS/CloudWatch/MetricStream.js +3 -6
- package/lib/AWS/CloudWatch/MetricStream.js.map +1 -1
- package/lib/AWS/CloudWatch/PutMetricData.d.ts +1 -1
- package/lib/AWS/CloudWatch/SetAlarmState.d.ts +1 -1
- package/lib/AWS/CloudWatch/common.d.ts +2 -2
- package/lib/AWS/Credentials.d.ts.map +1 -1
- package/lib/AWS/Credentials.js +4 -1
- package/lib/AWS/Credentials.js.map +1 -1
- package/lib/AWS/DynamoDB/BatchExecuteStatement.d.ts +1 -1
- package/lib/AWS/DynamoDB/BatchGetItem.d.ts +1 -1
- package/lib/AWS/DynamoDB/BatchWriteItem.d.ts +1 -1
- package/lib/AWS/DynamoDB/DeleteItem.d.ts +1 -1
- package/lib/AWS/DynamoDB/DescribeTable.d.ts +1 -1
- package/lib/AWS/DynamoDB/DescribeTimeToLive.d.ts +1 -1
- package/lib/AWS/DynamoDB/ExecuteStatement.d.ts +1 -1
- package/lib/AWS/DynamoDB/ExecuteTransaction.d.ts +1 -1
- package/lib/AWS/DynamoDB/GetItem.d.ts +1 -1
- package/lib/AWS/DynamoDB/ListTables.d.ts +1 -1
- package/lib/AWS/DynamoDB/ListTagsOfResource.d.ts +1 -1
- package/lib/AWS/DynamoDB/PutItem.d.ts +1 -1
- package/lib/AWS/DynamoDB/Query.d.ts +1 -1
- package/lib/AWS/DynamoDB/RestoreTableToPointInTime.d.ts +1 -1
- package/lib/AWS/DynamoDB/Scan.d.ts +1 -1
- package/lib/AWS/DynamoDB/Table.d.ts +1 -1
- package/lib/AWS/DynamoDB/TransactGetItems.d.ts +1 -1
- package/lib/AWS/DynamoDB/TransactWriteItems.d.ts +1 -1
- package/lib/AWS/DynamoDB/UpdateItem.d.ts +1 -1
- package/lib/AWS/DynamoDB/UpdateTimeToLive.d.ts +1 -1
- package/lib/AWS/EC2/EIP.d.ts +2 -3
- package/lib/AWS/EC2/EIP.d.ts.map +1 -1
- package/lib/AWS/EC2/EIP.js +2 -3
- package/lib/AWS/EC2/EIP.js.map +1 -1
- package/lib/AWS/EC2/EgressOnlyInternetGateway.d.ts +2 -3
- package/lib/AWS/EC2/EgressOnlyInternetGateway.d.ts.map +1 -1
- package/lib/AWS/EC2/EgressOnlyInternetGateway.js +5 -8
- package/lib/AWS/EC2/EgressOnlyInternetGateway.js.map +1 -1
- package/lib/AWS/EC2/Image.d.ts +6 -6
- package/lib/AWS/EC2/Instance.d.ts +2 -2
- package/lib/AWS/EC2/Instance.d.ts.map +1 -1
- package/lib/AWS/EC2/Instance.js +30 -36
- package/lib/AWS/EC2/Instance.js.map +1 -1
- package/lib/AWS/EC2/InternetGateway.d.ts +2 -4
- package/lib/AWS/EC2/InternetGateway.d.ts.map +1 -1
- package/lib/AWS/EC2/InternetGateway.js +2 -4
- package/lib/AWS/EC2/InternetGateway.js.map +1 -1
- package/lib/AWS/EC2/NatGateway.d.ts +2 -3
- package/lib/AWS/EC2/NatGateway.d.ts.map +1 -1
- package/lib/AWS/EC2/NatGateway.js +6 -8
- package/lib/AWS/EC2/NatGateway.js.map +1 -1
- package/lib/AWS/EC2/Network.d.ts +2 -2
- package/lib/AWS/EC2/Network.d.ts.map +1 -1
- package/lib/AWS/EC2/Network.js +2 -2
- package/lib/AWS/EC2/Network.js.map +1 -1
- package/lib/AWS/EC2/NetworkAcl.d.ts +2 -3
- package/lib/AWS/EC2/NetworkAcl.d.ts.map +1 -1
- package/lib/AWS/EC2/NetworkAcl.js +36 -36
- package/lib/AWS/EC2/NetworkAcl.js.map +1 -1
- package/lib/AWS/EC2/NetworkAclAssociation.d.ts +1 -1
- package/lib/AWS/EC2/NetworkAclEntry.d.ts +1 -1
- package/lib/AWS/EC2/Route.d.ts +1 -1
- package/lib/AWS/EC2/RouteTable.d.ts +2 -3
- package/lib/AWS/EC2/RouteTable.d.ts.map +1 -1
- package/lib/AWS/EC2/RouteTable.js +2 -4
- package/lib/AWS/EC2/RouteTable.js.map +1 -1
- package/lib/AWS/EC2/RouteTableAssociation.d.ts +1 -1
- package/lib/AWS/EC2/SecurityGroup.d.ts +2 -3
- package/lib/AWS/EC2/SecurityGroup.d.ts.map +1 -1
- package/lib/AWS/EC2/SecurityGroup.js +40 -40
- package/lib/AWS/EC2/SecurityGroup.js.map +1 -1
- package/lib/AWS/EC2/SecurityGroupRule.d.ts +1 -1
- package/lib/AWS/EC2/Subnet.d.ts +1 -1
- package/lib/AWS/EC2/Vpc.d.ts +2 -3
- package/lib/AWS/EC2/Vpc.d.ts.map +1 -1
- package/lib/AWS/EC2/Vpc.js +1 -3
- package/lib/AWS/EC2/Vpc.js.map +1 -1
- package/lib/AWS/EC2/VpcEndpoint.d.ts +1 -2
- package/lib/AWS/EC2/VpcEndpoint.d.ts.map +1 -1
- package/lib/AWS/EC2/VpcEndpoint.js +44 -43
- package/lib/AWS/EC2/VpcEndpoint.js.map +1 -1
- package/lib/AWS/EC2/hosted.d.ts +3 -6
- package/lib/AWS/EC2/hosted.d.ts.map +1 -1
- package/lib/AWS/EC2/hosted.js +17 -18
- package/lib/AWS/EC2/hosted.js.map +1 -1
- package/lib/AWS/ECR/Repository.d.ts +1 -1
- package/lib/AWS/ECS/CapacityProvider.d.ts +1 -2
- package/lib/AWS/ECS/CapacityProvider.d.ts.map +1 -1
- package/lib/AWS/ECS/CapacityProvider.js +1 -3
- package/lib/AWS/ECS/CapacityProvider.js.map +1 -1
- package/lib/AWS/ECS/Cluster.d.ts +2 -3
- package/lib/AWS/ECS/Cluster.d.ts.map +1 -1
- package/lib/AWS/ECS/Cluster.js +1 -3
- package/lib/AWS/ECS/Cluster.js.map +1 -1
- package/lib/AWS/ECS/DescribeTasks.d.ts +1 -1
- package/lib/AWS/ECS/ListTasks.d.ts +1 -1
- package/lib/AWS/ECS/RunTask.d.ts +1 -1
- package/lib/AWS/ECS/Service.d.ts +1 -1
- package/lib/AWS/ECS/StopTask.d.ts +1 -1
- package/lib/AWS/ECS/Task.d.ts +2 -2
- package/lib/AWS/ECS/Task.d.ts.map +1 -1
- package/lib/AWS/ECS/Task.js +2 -2
- package/lib/AWS/ECS/Task.js.map +1 -1
- package/lib/AWS/EKS/AccessEntry.d.ts +1 -1
- package/lib/AWS/EKS/Addon.d.ts +1 -1
- package/lib/AWS/EKS/Cluster.d.ts +1 -1
- package/lib/AWS/EKS/Cluster.d.ts.map +1 -1
- package/lib/AWS/EKS/PodIdentityAssociation.d.ts +1 -1
- package/lib/AWS/ELBv2/Listener.d.ts +1 -1
- package/lib/AWS/ELBv2/LoadBalancer.d.ts +1 -1
- package/lib/AWS/ELBv2/TargetGroup.d.ts +1 -1
- package/lib/AWS/Endpoint.d.ts.map +1 -1
- package/lib/AWS/Endpoint.js +5 -2
- package/lib/AWS/Endpoint.js.map +1 -1
- package/lib/AWS/Environment.d.ts +6 -50
- package/lib/AWS/Environment.d.ts.map +1 -1
- package/lib/AWS/Environment.js +11 -80
- package/lib/AWS/Environment.js.map +1 -1
- package/lib/AWS/EventBridge/DescribeEventBus.d.ts +1 -1
- package/lib/AWS/EventBridge/DescribeRule.d.ts +1 -1
- package/lib/AWS/EventBridge/EventBus.d.ts +2 -3
- package/lib/AWS/EventBridge/EventBus.d.ts.map +1 -1
- package/lib/AWS/EventBridge/EventBus.js +1 -3
- package/lib/AWS/EventBridge/EventBus.js.map +1 -1
- package/lib/AWS/EventBridge/ListEventBuses.d.ts +1 -1
- package/lib/AWS/EventBridge/ListRules.d.ts +2 -3
- package/lib/AWS/EventBridge/ListRules.d.ts.map +1 -1
- package/lib/AWS/EventBridge/ListRules.js +2 -3
- package/lib/AWS/EventBridge/ListRules.js.map +1 -1
- package/lib/AWS/EventBridge/ListTargetsByRule.d.ts +1 -1
- package/lib/AWS/EventBridge/Permission.d.ts +1 -1
- package/lib/AWS/EventBridge/PutEvents.d.ts +2 -3
- package/lib/AWS/EventBridge/PutEvents.d.ts.map +1 -1
- package/lib/AWS/EventBridge/PutEvents.js +2 -3
- package/lib/AWS/EventBridge/PutEvents.js.map +1 -1
- package/lib/AWS/EventBridge/Rule.d.ts +2 -3
- package/lib/AWS/EventBridge/Rule.d.ts.map +1 -1
- package/lib/AWS/EventBridge/Rule.js +2 -3
- package/lib/AWS/EventBridge/Rule.js.map +1 -1
- package/lib/AWS/EventBridge/TestEventPattern.d.ts +1 -1
- package/lib/AWS/IAM/AccessKey.d.ts +1 -1
- package/lib/AWS/IAM/AccountAlias.d.ts +1 -1
- package/lib/AWS/IAM/AccountPasswordPolicy.d.ts +1 -1
- package/lib/AWS/IAM/Group.d.ts +1 -1
- package/lib/AWS/IAM/GroupMembership.d.ts +1 -1
- package/lib/AWS/IAM/InstanceProfile.d.ts +1 -1
- package/lib/AWS/IAM/LoginProfile.d.ts +1 -1
- package/lib/AWS/IAM/OpenIDConnectProvider.d.ts +1 -1
- package/lib/AWS/IAM/OpenIDConnectProvider.d.ts.map +1 -1
- package/lib/AWS/IAM/OpenIDConnectProvider.js +5 -4
- package/lib/AWS/IAM/OpenIDConnectProvider.js.map +1 -1
- package/lib/AWS/IAM/Policy.d.ts +1 -1
- package/lib/AWS/IAM/Policy.d.ts.map +1 -1
- package/lib/AWS/IAM/Policy.js +1 -1
- package/lib/AWS/IAM/Policy.js.map +1 -1
- package/lib/AWS/IAM/Role.d.ts +2 -2
- package/lib/AWS/IAM/Role.d.ts.map +1 -1
- package/lib/AWS/IAM/Role.js +1 -1
- package/lib/AWS/IAM/Role.js.map +1 -1
- package/lib/AWS/IAM/SAMLProvider.d.ts +2 -2
- package/lib/AWS/IAM/SAMLProvider.d.ts.map +1 -1
- package/lib/AWS/IAM/SAMLProvider.js +2 -2
- package/lib/AWS/IAM/SAMLProvider.js.map +1 -1
- package/lib/AWS/IAM/SSHPublicKey.d.ts +1 -1
- package/lib/AWS/IAM/ServerCertificate.d.ts +1 -1
- package/lib/AWS/IAM/ServiceSpecificCredential.d.ts +1 -1
- package/lib/AWS/IAM/SigningCertificate.d.ts +1 -1
- package/lib/AWS/IAM/User.d.ts +1 -1
- package/lib/AWS/IAM/VirtualMFADevice.d.ts +1 -1
- package/lib/AWS/IdentityCenter/AccountAssignment.d.ts +1 -1
- package/lib/AWS/IdentityCenter/Group.d.ts +1 -1
- package/lib/AWS/IdentityCenter/Instance.d.ts +1 -1
- package/lib/AWS/IdentityCenter/PermissionSet.d.ts +1 -1
- package/lib/AWS/IdentityCenter/common.d.ts +4 -4
- package/lib/AWS/Kinesis/DescribeAccountSettings.d.ts +1 -1
- package/lib/AWS/Kinesis/DescribeLimits.d.ts +1 -1
- package/lib/AWS/Kinesis/DescribeStream.d.ts +1 -1
- package/lib/AWS/Kinesis/DescribeStreamConsumer.d.ts +1 -1
- package/lib/AWS/Kinesis/DescribeStreamSummary.d.ts +1 -1
- package/lib/AWS/Kinesis/GetRecords.d.ts +1 -1
- package/lib/AWS/Kinesis/GetResourcePolicy.d.ts +1 -1
- package/lib/AWS/Kinesis/GetShardIterator.d.ts +1 -1
- package/lib/AWS/Kinesis/ListShards.d.ts +1 -1
- package/lib/AWS/Kinesis/ListStreamConsumers.d.ts +1 -1
- package/lib/AWS/Kinesis/ListStreams.d.ts +1 -1
- package/lib/AWS/Kinesis/ListTagsForResource.d.ts +1 -1
- package/lib/AWS/Kinesis/PutRecord.d.ts +1 -1
- package/lib/AWS/Kinesis/PutRecords.d.ts +1 -1
- package/lib/AWS/Kinesis/Stream.d.ts +2 -3
- package/lib/AWS/Kinesis/Stream.d.ts.map +1 -1
- package/lib/AWS/Kinesis/Stream.js +1 -3
- package/lib/AWS/Kinesis/Stream.js.map +1 -1
- package/lib/AWS/Kinesis/StreamConsumer.d.ts +1 -1
- package/lib/AWS/Kinesis/SubscribeToShard.d.ts +1 -1
- package/lib/AWS/Lambda/EventSourceMapping.d.ts +2 -3
- package/lib/AWS/Lambda/EventSourceMapping.d.ts.map +1 -1
- package/lib/AWS/Lambda/EventSourceMapping.js +1 -3
- package/lib/AWS/Lambda/EventSourceMapping.js.map +1 -1
- package/lib/AWS/Lambda/Function.d.ts +2 -2
- package/lib/AWS/Lambda/Function.d.ts.map +1 -1
- package/lib/AWS/Lambda/Function.js +9 -7
- package/lib/AWS/Lambda/Function.js.map +1 -1
- package/lib/AWS/Lambda/InvokeFunction.d.ts +1 -1
- package/lib/AWS/Lambda/Permission.d.ts +2 -2
- package/lib/AWS/Lambda/Permission.js +1 -1
- package/lib/AWS/Logs/LogGroup.d.ts +2 -3
- package/lib/AWS/Logs/LogGroup.d.ts.map +1 -1
- package/lib/AWS/Logs/LogGroup.js +1 -3
- package/lib/AWS/Logs/LogGroup.js.map +1 -1
- package/lib/AWS/Organizations/Account.d.ts +1 -1
- package/lib/AWS/Organizations/DelegatedAdministrator.d.ts +1 -1
- package/lib/AWS/Organizations/Organization.d.ts +1 -1
- package/lib/AWS/Organizations/OrganizationResourcePolicy.d.ts +1 -1
- package/lib/AWS/Organizations/OrganizationalUnit.d.ts +1 -1
- package/lib/AWS/Organizations/Policy.d.ts +1 -1
- package/lib/AWS/Organizations/PolicyAttachment.d.ts +1 -1
- package/lib/AWS/Organizations/Root.d.ts +1 -1
- package/lib/AWS/Organizations/RootPolicyType.d.ts +1 -1
- package/lib/AWS/Organizations/TrustedServiceAccess.d.ts +1 -1
- package/lib/AWS/Organizations/common.d.ts +2 -2
- package/lib/AWS/Providers.d.ts +3 -2
- package/lib/AWS/Providers.d.ts.map +1 -1
- package/lib/AWS/Providers.js +2 -2
- package/lib/AWS/Providers.js.map +1 -1
- package/lib/AWS/RDS/Connect.d.ts +1 -1
- package/lib/AWS/RDS/DBCluster.d.ts +1 -1
- package/lib/AWS/RDS/DBClusterEndpoint.d.ts +1 -1
- package/lib/AWS/RDS/DBClusterParameterGroup.d.ts +1 -1
- package/lib/AWS/RDS/DBInstance.d.ts +1 -1
- package/lib/AWS/RDS/DBParameterGroup.d.ts +1 -1
- package/lib/AWS/RDS/DBProxy.d.ts +1 -1
- package/lib/AWS/RDS/DBProxyEndpoint.d.ts +1 -1
- package/lib/AWS/RDS/DBProxyTargetGroup.d.ts +1 -1
- package/lib/AWS/RDS/DBSubnetGroup.d.ts +1 -1
- package/lib/AWS/RDSData/BatchExecuteStatement.d.ts +1 -1
- package/lib/AWS/RDSData/BeginTransaction.d.ts +1 -1
- package/lib/AWS/RDSData/CommitTransaction.d.ts +1 -1
- package/lib/AWS/RDSData/ExecuteSql.d.ts +1 -1
- package/lib/AWS/RDSData/ExecuteStatement.d.ts +1 -1
- package/lib/AWS/RDSData/RollbackTransaction.d.ts +1 -1
- package/lib/AWS/Region.d.ts +2 -0
- package/lib/AWS/Region.d.ts.map +1 -1
- package/lib/AWS/Region.js +8 -3
- package/lib/AWS/Region.js.map +1 -1
- package/lib/AWS/Route53/Record.d.ts +1 -1
- package/lib/AWS/S3/AbortMultipartUpload.d.ts +1 -1
- package/lib/AWS/S3/Bucket.d.ts +6 -3
- package/lib/AWS/S3/Bucket.d.ts.map +1 -1
- package/lib/AWS/S3/Bucket.js +3 -4
- package/lib/AWS/S3/Bucket.js.map +1 -1
- package/lib/AWS/S3/CompleteMultipartUpload.d.ts +1 -1
- package/lib/AWS/S3/CopyObject.d.ts +1 -1
- package/lib/AWS/S3/CreateMultipartUpload.d.ts +1 -1
- package/lib/AWS/S3/DeleteObject.d.ts +1 -1
- package/lib/AWS/S3/GetObject.d.ts +1 -1
- package/lib/AWS/S3/HeadObject.d.ts +1 -1
- package/lib/AWS/S3/ListObjectsV2.d.ts +1 -1
- package/lib/AWS/S3/PutObject.d.ts +1 -1
- package/lib/AWS/S3/UploadPart.d.ts +1 -1
- package/lib/AWS/SNS/AddPermission.d.ts +1 -1
- package/lib/AWS/SNS/ConfirmSubscription.d.ts +1 -1
- package/lib/AWS/SNS/GetDataProtectionPolicy.d.ts +1 -1
- package/lib/AWS/SNS/GetSubscriptionAttributes.d.ts +1 -1
- package/lib/AWS/SNS/GetTopicAttributes.d.ts +1 -1
- package/lib/AWS/SNS/ListSubscriptions.d.ts +1 -1
- package/lib/AWS/SNS/ListSubscriptionsByTopic.d.ts +1 -1
- package/lib/AWS/SNS/ListTagsForResource.d.ts +1 -1
- package/lib/AWS/SNS/ListTopics.d.ts +1 -1
- package/lib/AWS/SNS/Publish.d.ts +1 -1
- package/lib/AWS/SNS/PublishBatch.d.ts +1 -1
- package/lib/AWS/SNS/PutDataProtectionPolicy.d.ts +1 -1
- package/lib/AWS/SNS/RemovePermission.d.ts +1 -1
- package/lib/AWS/SNS/SetSubscriptionAttributes.d.ts +1 -1
- package/lib/AWS/SNS/SetTopicAttributes.d.ts +1 -1
- package/lib/AWS/SNS/Subscription.d.ts +1 -1
- package/lib/AWS/SNS/TagResource.d.ts +1 -1
- package/lib/AWS/SNS/Topic.d.ts +1 -1
- package/lib/AWS/SNS/UntagResource.d.ts +1 -1
- package/lib/AWS/SQS/DeleteMessage.d.ts +1 -1
- package/lib/AWS/SQS/DeleteMessageBatch.d.ts +1 -1
- package/lib/AWS/SQS/Queue.d.ts +1 -2
- package/lib/AWS/SQS/Queue.d.ts.map +1 -1
- package/lib/AWS/SQS/Queue.js +2 -3
- package/lib/AWS/SQS/Queue.js.map +1 -1
- package/lib/AWS/SQS/ReceiveMessage.d.ts +1 -1
- package/lib/AWS/SQS/SendMessage.d.ts +1 -1
- package/lib/AWS/SQS/SendMessageBatch.d.ts +1 -1
- package/lib/AWS/Scheduler/Schedule.d.ts +1 -1
- package/lib/AWS/Scheduler/ScheduleGroup.d.ts +1 -1
- package/lib/AWS/SecretsManager/DescribeSecret.d.ts +1 -1
- package/lib/AWS/SecretsManager/GetRandomPassword.d.ts +1 -1
- package/lib/AWS/SecretsManager/GetSecretValue.d.ts +1 -1
- package/lib/AWS/SecretsManager/ListSecrets.d.ts +1 -1
- package/lib/AWS/SecretsManager/PutSecretValue.d.ts +1 -1
- package/lib/AWS/SecretsManager/Secret.d.ts +1 -1
- package/lib/AWS/Website/AssetDeployment.d.ts +1 -1
- package/lib/AWS/index.d.ts +0 -1
- package/lib/AWS/index.d.ts.map +1 -1
- package/lib/AWS/index.js +0 -1
- package/lib/AWS/index.js.map +1 -1
- package/lib/Auth/Profile.d.ts +10 -10
- package/lib/Auth/Profile.d.ts.map +1 -1
- package/lib/Auth/Profile.js +4 -4
- package/lib/Auth/Profile.js.map +1 -1
- package/lib/Axiom/Credentials.d.ts +2 -3
- package/lib/Axiom/Credentials.d.ts.map +1 -1
- package/lib/Axiom/Credentials.js +3 -3
- package/lib/Axiom/Credentials.js.map +1 -1
- package/lib/Axiom/Dataset.js +1 -1
- package/lib/Axiom/Dataset.js.map +1 -1
- package/lib/Axiom/Providers.d.ts +1 -1
- package/lib/Axiom/Providers.d.ts.map +1 -1
- package/lib/Axiom/Providers.js +1 -1
- package/lib/Axiom/Providers.js.map +1 -1
- package/lib/Binding.d.ts +2 -2
- package/lib/Binding.d.ts.map +1 -1
- package/lib/Binding.js.map +1 -1
- package/lib/Cli/commands/_shared.d.ts +3 -3
- package/lib/Cli/commands/_shared.d.ts.map +1 -1
- package/lib/Cli/commands/_shared.js.map +1 -1
- package/lib/Cli/commands/aws.d.ts +1 -1
- package/lib/Cli/commands/aws.d.ts.map +1 -1
- package/lib/Cli/commands/aws.js +3 -3
- package/lib/Cli/commands/aws.js.map +1 -1
- package/lib/Cli/commands/cloudflare.js +1 -1
- package/lib/Cli/commands/cloudflare.js.map +1 -1
- package/lib/Cli/commands/deploy.d.ts +4 -4
- package/lib/Cli/commands/deploy.d.ts.map +1 -1
- package/lib/Cli/commands/login.d.ts +2 -3
- package/lib/Cli/commands/login.d.ts.map +1 -1
- package/lib/Cli/commands/login.js +6 -15
- package/lib/Cli/commands/login.js.map +1 -1
- package/lib/Cli/commands/logs.d.ts +1 -1
- package/lib/Cli/commands/logs.d.ts.map +1 -1
- package/lib/Cli/commands/profile.js +3 -3
- package/lib/Cli/commands/profile.js.map +1 -1
- package/lib/Cli/commands/tail.d.ts +1 -1
- package/lib/Cli/commands/tail.d.ts.map +1 -1
- package/lib/Cloudflare/AiGateway/AiGateway.d.ts.map +1 -1
- package/lib/Cloudflare/AiGateway/AiGateway.js +185 -180
- package/lib/Cloudflare/AiGateway/AiGateway.js.map +1 -1
- package/lib/Cloudflare/ApiToken/AccountApiToken.d.ts.map +1 -1
- package/lib/Cloudflare/ApiToken/AccountApiToken.js +103 -102
- package/lib/Cloudflare/ApiToken/AccountApiToken.js.map +1 -1
- package/lib/Cloudflare/ApiToken/UserApiToken.d.ts.map +1 -1
- package/lib/Cloudflare/ApiToken/UserApiToken.js +77 -81
- package/lib/Cloudflare/ApiToken/UserApiToken.js.map +1 -1
- package/lib/Cloudflare/CloudflareEnvironment.d.ts +4 -3
- package/lib/Cloudflare/CloudflareEnvironment.d.ts.map +1 -1
- package/lib/Cloudflare/CloudflareEnvironment.js +3 -4
- package/lib/Cloudflare/CloudflareEnvironment.js.map +1 -1
- package/lib/Cloudflare/Container/ContainerApplication.d.ts.map +1 -1
- package/lib/Cloudflare/Container/ContainerApplication.js +18 -18
- package/lib/Cloudflare/Container/ContainerApplication.js.map +1 -1
- package/lib/Cloudflare/Credentials.d.ts +2 -2
- package/lib/Cloudflare/Credentials.d.ts.map +1 -1
- package/lib/Cloudflare/Credentials.js +2 -2
- package/lib/Cloudflare/Credentials.js.map +1 -1
- package/lib/Cloudflare/D1/D1Database.d.ts +3 -1
- package/lib/Cloudflare/D1/D1Database.d.ts.map +1 -1
- package/lib/Cloudflare/D1/D1Database.js +205 -201
- package/lib/Cloudflare/D1/D1Database.js.map +1 -1
- package/lib/Cloudflare/EdgeSession.d.ts.map +1 -1
- package/lib/Cloudflare/EdgeSession.js +6 -5
- package/lib/Cloudflare/EdgeSession.js.map +1 -1
- package/lib/Cloudflare/Email/EmailAddress.d.ts.map +1 -1
- package/lib/Cloudflare/Email/EmailAddress.js +69 -61
- package/lib/Cloudflare/Email/EmailAddress.js.map +1 -1
- package/lib/Cloudflare/Email/EmailRouting.d.ts.map +1 -1
- package/lib/Cloudflare/Email/EmailRouting.js +63 -56
- package/lib/Cloudflare/Email/EmailRouting.js.map +1 -1
- package/lib/Cloudflare/Email/EmailRule.d.ts.map +1 -1
- package/lib/Cloudflare/Email/EmailRule.js +67 -63
- package/lib/Cloudflare/Email/EmailRule.js.map +1 -1
- package/lib/Cloudflare/Hyperdrive/Hyperdrive.d.ts.map +1 -1
- package/lib/Cloudflare/Hyperdrive/Hyperdrive.js +139 -137
- package/lib/Cloudflare/Hyperdrive/Hyperdrive.js.map +1 -1
- package/lib/Cloudflare/KV/KVNamespace.d.ts.map +1 -1
- package/lib/Cloudflare/KV/KVNamespace.js +115 -108
- package/lib/Cloudflare/KV/KVNamespace.js.map +1 -1
- package/lib/Cloudflare/Providers.d.ts +1 -1
- package/lib/Cloudflare/Providers.d.ts.map +1 -1
- package/lib/Cloudflare/Queue/Queue.d.ts.map +1 -1
- package/lib/Cloudflare/Queue/Queue.js +109 -101
- package/lib/Cloudflare/Queue/Queue.js.map +1 -1
- package/lib/Cloudflare/Queue/QueueConsumer.d.ts.map +1 -1
- package/lib/Cloudflare/Queue/QueueConsumer.js +260 -250
- package/lib/Cloudflare/Queue/QueueConsumer.js.map +1 -1
- package/lib/Cloudflare/R2/R2Bucket.d.ts.map +1 -1
- package/lib/Cloudflare/R2/R2Bucket.js +101 -66
- package/lib/Cloudflare/R2/R2Bucket.js.map +1 -1
- package/lib/Cloudflare/Ruleset/Ruleset.d.ts.map +1 -1
- package/lib/Cloudflare/Ruleset/Ruleset.js +81 -81
- package/lib/Cloudflare/Ruleset/Ruleset.js.map +1 -1
- package/lib/Cloudflare/SecretsStore/Secret.d.ts.map +1 -1
- package/lib/Cloudflare/SecretsStore/Secret.js +144 -143
- package/lib/Cloudflare/SecretsStore/Secret.js.map +1 -1
- package/lib/Cloudflare/SecretsStore/SecretsStore.d.ts.map +1 -1
- package/lib/Cloudflare/SecretsStore/SecretsStore.js +74 -75
- package/lib/Cloudflare/SecretsStore/SecretsStore.js.map +1 -1
- package/lib/Cloudflare/StateStore/State.d.ts +1 -1
- package/lib/Cloudflare/StateStore/State.d.ts.map +1 -1
- package/lib/Cloudflare/StateStore/State.js +3 -3
- package/lib/Cloudflare/StateStore/State.js.map +1 -1
- package/lib/Cloudflare/Tunnel/Tunnel.d.ts.map +1 -1
- package/lib/Cloudflare/Tunnel/Tunnel.js +166 -158
- package/lib/Cloudflare/Tunnel/Tunnel.js.map +1 -1
- package/lib/Cloudflare/Tunnel/TunnelBinding.d.ts +2 -2
- package/lib/Cloudflare/Tunnel/TunnelBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Tunnel/TunnelBinding.js +10 -11
- package/lib/Cloudflare/Tunnel/TunnelBinding.js.map +1 -1
- package/lib/Cloudflare/Tunnel/TunnelRead.d.ts +4 -3
- package/lib/Cloudflare/Tunnel/TunnelRead.d.ts.map +1 -1
- package/lib/Cloudflare/Tunnel/TunnelRead.js.map +1 -1
- package/lib/Cloudflare/Tunnel/TunnelReadWrite.d.ts +4 -3
- package/lib/Cloudflare/Tunnel/TunnelReadWrite.d.ts.map +1 -1
- package/lib/Cloudflare/Tunnel/TunnelReadWrite.js.map +1 -1
- package/lib/Cloudflare/Tunnel/TunnelWrite.d.ts +4 -3
- package/lib/Cloudflare/Tunnel/TunnelWrite.d.ts.map +1 -1
- package/lib/Cloudflare/Tunnel/TunnelWrite.js.map +1 -1
- package/lib/Cloudflare/Vectorize/VectorizeIndex.d.ts.map +1 -1
- package/lib/Cloudflare/Vectorize/VectorizeIndex.js +79 -75
- package/lib/Cloudflare/Vectorize/VectorizeIndex.js.map +1 -1
- package/lib/Cloudflare/Vectorize/VectorizeMetadataIndex.d.ts.map +1 -1
- package/lib/Cloudflare/Vectorize/VectorizeMetadataIndex.js +85 -82
- package/lib/Cloudflare/Vectorize/VectorizeMetadataIndex.js.map +1 -1
- package/lib/Cloudflare/VpcService/VpcService.d.ts.map +1 -1
- package/lib/Cloudflare/VpcService/VpcService.js +112 -106
- package/lib/Cloudflare/VpcService/VpcService.js.map +1 -1
- package/lib/Cloudflare/VpcService/VpcServiceRef.js +1 -1
- package/lib/Cloudflare/VpcService/VpcServiceRef.js.map +1 -1
- package/lib/Cloudflare/Workers/Assets.js +2 -2
- package/lib/Cloudflare/Workers/Assets.js.map +1 -1
- package/lib/Cloudflare/Workers/LocalWorkerProvider.d.ts +1 -1
- package/lib/Cloudflare/Workers/LocalWorkerProvider.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/LocalWorkerProvider.js +3 -2
- package/lib/Cloudflare/Workers/LocalWorkerProvider.js.map +1 -1
- package/lib/Cloudflare/Workers/Worker.d.ts +2 -2
- package/lib/Cloudflare/Workers/Worker.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Worker.js +111 -61
- package/lib/Cloudflare/Workers/Worker.js.map +1 -1
- package/lib/Cloudflare/Workers/WorkerAsyncBindings.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/WorkerAsyncBindings.js +2 -14
- package/lib/Cloudflare/Workers/WorkerAsyncBindings.js.map +1 -1
- package/lib/Cloudflare/Workers/Workflow.js +6 -6
- package/lib/Cloudflare/Workers/Workflow.js.map +1 -1
- package/lib/Cloudflare/Zaraz/ZarazConfig.d.ts.map +1 -1
- package/lib/Cloudflare/Zaraz/ZarazConfig.js +68 -75
- package/lib/Cloudflare/Zaraz/ZarazConfig.js.map +1 -1
- package/lib/Cloudflare/Zone/Zone.d.ts.map +1 -1
- package/lib/Cloudflare/Zone/Zone.js +18 -13
- package/lib/Cloudflare/Zone/Zone.js.map +1 -1
- package/lib/GitHub/Comment.d.ts +1 -6
- package/lib/GitHub/Comment.d.ts.map +1 -1
- package/lib/GitHub/Comment.js +3 -9
- package/lib/GitHub/Comment.js.map +1 -1
- package/lib/GitHub/Credentials.d.ts +4 -3
- package/lib/GitHub/Credentials.d.ts.map +1 -1
- package/lib/GitHub/Credentials.js +5 -5
- package/lib/GitHub/Credentials.js.map +1 -1
- package/lib/GitHub/Octokit.d.ts +5 -0
- package/lib/GitHub/Octokit.d.ts.map +1 -0
- package/lib/GitHub/Octokit.js +7 -0
- package/lib/GitHub/Octokit.js.map +1 -0
- package/lib/GitHub/Providers.d.ts +1 -1
- package/lib/GitHub/Providers.d.ts.map +1 -1
- package/lib/GitHub/Secret.d.ts +1 -2
- package/lib/GitHub/Secret.d.ts.map +1 -1
- package/lib/GitHub/Secret.js +8 -12
- package/lib/GitHub/Secret.js.map +1 -1
- package/lib/GitHub/Variable.d.ts +1 -2
- package/lib/GitHub/Variable.d.ts.map +1 -1
- package/lib/GitHub/Variable.js +3 -7
- package/lib/GitHub/Variable.js.map +1 -1
- package/lib/Kubernetes/client.d.ts +11 -11
- package/lib/Kubernetes/client.d.ts.map +1 -1
- package/lib/Kubernetes/client.js +2 -2
- package/lib/Kubernetes/client.js.map +1 -1
- package/lib/Local/RpcServerEnvironment.d.ts +2 -2
- package/lib/Local/RpcServerEnvironment.d.ts.map +1 -1
- package/lib/Neon/AuthProvider.d.ts +2 -2
- package/lib/Neon/AuthProvider.d.ts.map +1 -1
- package/lib/Neon/AuthProvider.js +2 -2
- package/lib/Neon/AuthProvider.js.map +1 -1
- package/lib/Neon/Branch.d.ts.map +1 -1
- package/lib/Neon/Branch.js +213 -215
- package/lib/Neon/Branch.js.map +1 -1
- package/lib/Neon/Credentials.d.ts +2 -3
- package/lib/Neon/Credentials.d.ts.map +1 -1
- package/lib/Neon/Credentials.js +3 -3
- package/lib/Neon/Credentials.js.map +1 -1
- package/lib/Neon/Project.d.ts +22 -22
- package/lib/Neon/Project.d.ts.map +1 -1
- package/lib/Neon/Project.js +263 -266
- package/lib/Neon/Project.js.map +1 -1
- package/lib/Neon/Providers.d.ts +2 -4
- package/lib/Neon/Providers.d.ts.map +1 -1
- package/lib/Neon/Providers.js +1 -3
- package/lib/Neon/Providers.js.map +1 -1
- package/lib/Neon/index.d.ts +0 -1
- package/lib/Neon/index.d.ts.map +1 -1
- package/lib/Neon/index.js +0 -1
- package/lib/Neon/index.js.map +1 -1
- package/lib/Output.d.ts +2 -1
- package/lib/Output.d.ts.map +1 -1
- package/lib/Output.js +7 -3
- package/lib/Output.js.map +1 -1
- package/lib/Plan.d.ts.map +1 -1
- package/lib/Plan.js +14 -6
- package/lib/Plan.js.map +1 -1
- package/lib/Planetscale/Branch.d.ts +1 -2
- package/lib/Planetscale/Branch.d.ts.map +1 -1
- package/lib/Planetscale/Branch.js +230 -235
- package/lib/Planetscale/Branch.js.map +1 -1
- package/lib/Planetscale/Credentials.d.ts +2 -3
- package/lib/Planetscale/Credentials.d.ts.map +1 -1
- package/lib/Planetscale/Credentials.js +6 -6
- package/lib/Planetscale/Credentials.js.map +1 -1
- package/lib/Planetscale/MySQL/MySQLBranch.d.ts +1 -1
- package/lib/Planetscale/MySQL/MySQLBranch.d.ts.map +1 -1
- package/lib/Planetscale/MySQL/MySQLClusterSize.d.ts +2 -2
- package/lib/Planetscale/MySQL/MySQLClusterSize.d.ts.map +1 -1
- package/lib/Planetscale/MySQL/MySQLDatabase.d.ts +1 -1
- package/lib/Planetscale/MySQL/MySQLDatabase.d.ts.map +1 -1
- package/lib/Planetscale/MySQL/MySQLDatabase.js +215 -215
- package/lib/Planetscale/MySQL/MySQLDatabase.js.map +1 -1
- package/lib/Planetscale/MySQL/MySQLMigrations.d.ts +2 -2
- package/lib/Planetscale/MySQL/MySQLMigrations.d.ts.map +1 -1
- package/lib/Planetscale/MySQL/MySQLPassword.d.ts.map +1 -1
- package/lib/Planetscale/MySQL/MySQLPassword.js +145 -145
- package/lib/Planetscale/MySQL/MySQLPassword.js.map +1 -1
- package/lib/Planetscale/Postgres/PostgresBranch.d.ts +1 -1
- package/lib/Planetscale/Postgres/PostgresBranch.d.ts.map +1 -1
- package/lib/Planetscale/Postgres/PostgresClusterSize.d.ts +3 -2
- package/lib/Planetscale/Postgres/PostgresClusterSize.d.ts.map +1 -1
- package/lib/Planetscale/Postgres/PostgresClusterSize.js +4 -4
- package/lib/Planetscale/Postgres/PostgresClusterSize.js.map +1 -1
- package/lib/Planetscale/Postgres/PostgresDatabase.d.ts +1 -1
- package/lib/Planetscale/Postgres/PostgresDatabase.d.ts.map +1 -1
- package/lib/Planetscale/Postgres/PostgresDatabase.js +220 -218
- package/lib/Planetscale/Postgres/PostgresDatabase.js.map +1 -1
- package/lib/Planetscale/Postgres/PostgresDefaultRole.d.ts.map +1 -1
- package/lib/Planetscale/Postgres/PostgresDefaultRole.js +123 -121
- package/lib/Planetscale/Postgres/PostgresDefaultRole.js.map +1 -1
- package/lib/Planetscale/Postgres/PostgresMigrations.d.ts +2 -2
- package/lib/Planetscale/Postgres/PostgresMigrations.d.ts.map +1 -1
- package/lib/Planetscale/Postgres/PostgresRole.d.ts.map +1 -1
- package/lib/Planetscale/Postgres/PostgresRole.js +159 -160
- package/lib/Planetscale/Postgres/PostgresRole.js.map +1 -1
- package/lib/Planetscale/Providers.d.ts +1 -2
- package/lib/Planetscale/Providers.d.ts.map +1 -1
- package/lib/Planetscale/Providers.js.map +1 -1
- package/lib/Planetscale/Util.d.ts +2 -2
- package/lib/Planetscale/Util.d.ts.map +1 -1
- package/lib/Server/S3BucketEventSource.d.ts +1 -1
- package/lib/Server/S3BucketEventSource.d.ts.map +1 -1
- package/lib/Server/SQSQueueEventSource.d.ts +2 -2
- package/lib/Server/SQSQueueEventSource.d.ts.map +1 -1
- package/lib/Server/SQSQueueEventSource.js +3 -2
- package/lib/Server/SQSQueueEventSource.js.map +1 -1
- package/lib/Stack.d.ts +4 -4
- package/lib/Stack.d.ts.map +1 -1
- package/lib/Stack.js +1 -1
- package/lib/Stack.js.map +1 -1
- package/lib/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +12 -11
- package/src/AWS/ApiGateway/ApiKey.ts +4 -5
- package/src/AWS/ApiGateway/RestApi.ts +5 -6
- package/src/AWS/ApiGateway/Stage.ts +4 -5
- package/src/AWS/ApiGateway/UsagePlan.ts +4 -5
- package/src/AWS/ApiGateway/VpcLink.ts +4 -6
- package/src/AWS/Assets.ts +161 -108
- package/src/AWS/AuthProvider.ts +221 -124
- package/src/AWS/AutoScaling/LaunchTemplate.ts +31 -32
- package/src/AWS/Bootstrap.ts +66 -195
- package/src/AWS/CloudWatch/Alarm.ts +9 -8
- package/src/AWS/CloudWatch/AlarmMuteRule.ts +8 -7
- package/src/AWS/CloudWatch/CompositeAlarm.ts +9 -8
- package/src/AWS/CloudWatch/Dashboard.ts +9 -6
- package/src/AWS/CloudWatch/InsightRule.ts +10 -9
- package/src/AWS/CloudWatch/MetricStream.ts +9 -7
- package/src/AWS/Credentials.ts +4 -1
- package/src/AWS/EC2/EIP.ts +5 -5
- package/src/AWS/EC2/EgressOnlyInternetGateway.ts +20 -17
- package/src/AWS/EC2/Instance.ts +42 -41
- package/src/AWS/EC2/InternetGateway.ts +4 -8
- package/src/AWS/EC2/NatGateway.ts +10 -11
- package/src/AWS/EC2/Network.ts +2 -2
- package/src/AWS/EC2/NetworkAcl.ts +38 -39
- package/src/AWS/EC2/RouteTable.ts +3 -6
- package/src/AWS/EC2/SecurityGroup.ts +43 -44
- package/src/AWS/EC2/Vpc.ts +2 -5
- package/src/AWS/EC2/VpcEndpoint.ts +47 -47
- package/src/AWS/EC2/hosted.ts +19 -33
- package/src/AWS/ECS/CapacityProvider.ts +1 -3
- package/src/AWS/ECS/Cluster.ts +2 -5
- package/src/AWS/ECS/Task.ts +4 -3
- package/src/AWS/Endpoint.ts +12 -6
- package/src/AWS/Environment.ts +22 -120
- package/src/AWS/EventBridge/EventBus.ts +2 -5
- package/src/AWS/EventBridge/ListRules.ts +2 -5
- package/src/AWS/EventBridge/PutEvents.ts +2 -3
- package/src/AWS/EventBridge/Rule.ts +3 -5
- package/src/AWS/IAM/OpenIDConnectProvider.ts +10 -4
- package/src/AWS/IAM/Policy.ts +1 -2
- package/src/AWS/IAM/Role.ts +2 -2
- package/src/AWS/IAM/SAMLProvider.ts +3 -3
- package/src/AWS/Kinesis/Stream.ts +2 -5
- package/src/AWS/Lambda/EventSourceMapping.ts +2 -5
- package/src/AWS/Lambda/Function.ts +10 -8
- package/src/AWS/Lambda/Permission.ts +1 -1
- package/src/AWS/Logs/LogGroup.ts +2 -5
- package/src/AWS/Providers.ts +2 -2
- package/src/AWS/Region.ts +15 -3
- package/src/AWS/S3/Bucket.ts +15 -15
- package/src/AWS/SQS/Queue.ts +2 -3
- package/src/AWS/index.ts +0 -1
- package/src/Auth/Profile.ts +13 -12
- package/src/Axiom/Credentials.ts +4 -2
- package/src/Axiom/Dataset.ts +1 -1
- package/src/Axiom/Providers.ts +1 -1
- package/src/Binding.ts +2 -5
- package/src/Cli/commands/_shared.ts +2 -2
- package/src/Cli/commands/aws.ts +12 -9
- package/src/Cli/commands/cloudflare.ts +1 -1
- package/src/Cli/commands/login.ts +6 -22
- package/src/Cli/commands/profile.ts +3 -3
- package/src/Cloudflare/AiGateway/AiGateway.ts +219 -218
- package/src/Cloudflare/ApiToken/AccountApiToken.ts +142 -153
- package/src/Cloudflare/ApiToken/UserApiToken.ts +105 -121
- package/src/Cloudflare/CloudflareEnvironment.ts +10 -5
- package/src/Cloudflare/Container/ContainerApplication.ts +32 -29
- package/src/Cloudflare/Credentials.ts +2 -2
- package/src/Cloudflare/D1/D1Database.ts +268 -263
- package/src/Cloudflare/EdgeSession.ts +6 -5
- package/src/Cloudflare/Email/EmailAddress.ts +74 -71
- package/src/Cloudflare/Email/EmailRouting.ts +73 -75
- package/src/Cloudflare/Email/EmailRule.ts +79 -80
- package/src/Cloudflare/Hyperdrive/Hyperdrive.ts +155 -158
- package/src/Cloudflare/KV/KVNamespace.ts +139 -138
- package/src/Cloudflare/Queue/Queue.ts +122 -119
- package/src/Cloudflare/Queue/QueueConsumer.ts +334 -330
- package/src/Cloudflare/R2/R2Bucket.ts +200 -165
- package/src/Cloudflare/Ruleset/Ruleset.ts +93 -98
- package/src/Cloudflare/SecretsStore/Secret.ts +187 -194
- package/src/Cloudflare/SecretsStore/SecretsStore.ts +82 -87
- package/src/Cloudflare/StateStore/State.ts +5 -3
- package/src/Cloudflare/Tunnel/Tunnel.ts +187 -186
- package/src/Cloudflare/Tunnel/TunnelBinding.ts +16 -9
- package/src/Cloudflare/Tunnel/TunnelRead.ts +3 -2
- package/src/Cloudflare/Tunnel/TunnelReadWrite.ts +7 -2
- package/src/Cloudflare/Tunnel/TunnelWrite.ts +3 -2
- package/src/Cloudflare/Vectorize/VectorizeIndex.ts +98 -98
- package/src/Cloudflare/Vectorize/VectorizeMetadataIndex.ts +97 -109
- package/src/Cloudflare/VpcService/VpcService.ts +126 -125
- package/src/Cloudflare/VpcService/VpcServiceRef.ts +1 -1
- package/src/Cloudflare/Workers/Assets.ts +2 -2
- package/src/Cloudflare/Workers/LocalWorkerProvider.ts +3 -2
- package/src/Cloudflare/Workers/Worker.ts +323 -269
- package/src/Cloudflare/Workers/WorkerAsyncBindings.ts +7 -21
- package/src/Cloudflare/Workers/Workflow.ts +8 -8
- package/src/Cloudflare/Zaraz/ZarazConfig.ts +87 -99
- package/src/Cloudflare/Zone/Zone.ts +36 -33
- package/src/GitHub/Comment.ts +3 -20
- package/src/GitHub/Credentials.ts +9 -5
- package/src/GitHub/Octokit.ts +9 -0
- package/src/GitHub/Secret.ts +8 -21
- package/src/GitHub/Variable.ts +3 -8
- package/src/Kubernetes/client.ts +2 -2
- package/src/Neon/AuthProvider.ts +2 -2
- package/src/Neon/Branch.ts +264 -272
- package/src/Neon/Credentials.ts +4 -2
- package/src/Neon/Project.ts +372 -378
- package/src/Neon/Providers.ts +0 -6
- package/src/Neon/index.ts +0 -1
- package/src/Output.ts +8 -4
- package/src/Plan.ts +15 -7
- package/src/Planetscale/Branch.ts +311 -321
- package/src/Planetscale/Credentials.ts +20 -15
- package/src/Planetscale/MySQL/MySQLDatabase.ts +269 -280
- package/src/Planetscale/MySQL/MySQLPassword.ts +161 -168
- package/src/Planetscale/Postgres/PostgresClusterSize.ts +4 -4
- package/src/Planetscale/Postgres/PostgresDatabase.ts +287 -296
- package/src/Planetscale/Postgres/PostgresDefaultRole.ts +143 -146
- package/src/Planetscale/Postgres/PostgresRole.ts +188 -195
- package/src/Planetscale/Providers.ts +2 -7
- package/src/Server/SQSQueueEventSource.ts +3 -2
- package/src/Stack.ts +3 -3
- package/bin/alchemy.sh +0 -15
- package/lib/AWS/Context.d.ts +0 -8
- package/lib/AWS/Context.d.ts.map +0 -1
- package/lib/AWS/Context.js +0 -16
- package/lib/AWS/Context.js.map +0 -1
- package/lib/Neon/NeonEnvironment.d.ts +0 -11
- package/lib/Neon/NeonEnvironment.d.ts.map +0 -1
- package/lib/Neon/NeonEnvironment.js +0 -18
- package/lib/Neon/NeonEnvironment.js.map +0 -1
- package/src/AWS/Context.ts +0 -30
- package/src/Neon/NeonEnvironment.ts +0 -32
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import * as ec2 from "@distilled.cloud/aws/ec2";
|
|
2
|
-
import { Region } from "@distilled.cloud/aws/Region";
|
|
3
2
|
import * as Effect from "effect/Effect";
|
|
4
3
|
import * as Schedule from "effect/Schedule";
|
|
5
4
|
import { isResolved } from "../../Diff.ts";
|
|
6
5
|
import * as Provider from "../../Provider.ts";
|
|
7
6
|
import { Resource } from "../../Resource.ts";
|
|
8
|
-
import type { Providers } from "../Providers.ts";
|
|
9
7
|
import { createInternalTags, createTagsList, diffTags } from "../../Tags.ts";
|
|
10
8
|
import type { AccountID } from "../Environment.ts";
|
|
11
9
|
import { AWSEnvironment } from "../Environment.ts";
|
|
10
|
+
import type { Providers } from "../Providers.ts";
|
|
12
11
|
import type { RegionID } from "../Region.ts";
|
|
13
12
|
import type { VpcId } from "./Vpc.ts";
|
|
14
13
|
|
|
@@ -74,9 +73,6 @@ export const EgressOnlyInternetGatewayProvider = () =>
|
|
|
74
73
|
Provider.effect(
|
|
75
74
|
EgressOnlyInternetGateway,
|
|
76
75
|
Effect.gen(function* () {
|
|
77
|
-
const region = yield* Region;
|
|
78
|
-
const { accountId } = yield* AWSEnvironment;
|
|
79
|
-
|
|
80
76
|
const createTags = Effect.fn(function* (
|
|
81
77
|
id: string,
|
|
82
78
|
tags?: Record<string, string>,
|
|
@@ -106,16 +102,23 @@ export const EgressOnlyInternetGatewayProvider = () =>
|
|
|
106
102
|
),
|
|
107
103
|
);
|
|
108
104
|
|
|
109
|
-
const toAttrs = (gw: ec2.EgressOnlyInternetGateway) =>
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
105
|
+
const toAttrs = (gw: ec2.EgressOnlyInternetGateway) =>
|
|
106
|
+
AWSEnvironment.current.pipe(
|
|
107
|
+
Effect.map((env) => ({
|
|
108
|
+
egressOnlyInternetGatewayId:
|
|
109
|
+
gw.EgressOnlyInternetGatewayId as EgressOnlyInternetGatewayId,
|
|
110
|
+
egressOnlyInternetGatewayArn:
|
|
111
|
+
`arn:aws:ec2:${env.region}:${env.accountId}:egress-only-internet-gateway/${gw.EgressOnlyInternetGatewayId}` as EgressOnlyInternetGatewayArn,
|
|
112
|
+
attachments: gw.Attachments?.map((a) => ({
|
|
113
|
+
state: a.State as
|
|
114
|
+
| "attaching"
|
|
115
|
+
| "attached"
|
|
116
|
+
| "detaching"
|
|
117
|
+
| "detached",
|
|
118
|
+
vpcId: a.VpcId as VpcId,
|
|
119
|
+
})),
|
|
120
|
+
})),
|
|
121
|
+
);
|
|
119
122
|
|
|
120
123
|
return {
|
|
121
124
|
stables: [
|
|
@@ -128,7 +131,7 @@ export const EgressOnlyInternetGatewayProvider = () =>
|
|
|
128
131
|
const gw = yield* describeEgressOnlyInternetGateway(
|
|
129
132
|
output.egressOnlyInternetGatewayId,
|
|
130
133
|
);
|
|
131
|
-
return toAttrs(gw);
|
|
134
|
+
return yield* toAttrs(gw);
|
|
132
135
|
}),
|
|
133
136
|
|
|
134
137
|
diff: Effect.fn(function* ({ news, olds }) {
|
|
@@ -222,7 +225,7 @@ export const EgressOnlyInternetGatewayProvider = () =>
|
|
|
222
225
|
|
|
223
226
|
// Re-read to reflect current cloud state in the returned attributes.
|
|
224
227
|
const final = yield* describeEgressOnlyInternetGateway(eigwId);
|
|
225
|
-
return toAttrs(final);
|
|
228
|
+
return yield* toAttrs(final);
|
|
226
229
|
}),
|
|
227
230
|
|
|
228
231
|
delete: Effect.fn(function* ({ output, session }) {
|
package/src/AWS/EC2/Instance.ts
CHANGED
|
@@ -4,7 +4,6 @@ import { Region } from "@distilled.cloud/aws/Region";
|
|
|
4
4
|
import * as Data from "effect/Data";
|
|
5
5
|
import * as Effect from "effect/Effect";
|
|
6
6
|
import * as FileSystem from "effect/FileSystem";
|
|
7
|
-
import * as Option from "effect/Option";
|
|
8
7
|
import * as Schedule from "effect/Schedule";
|
|
9
8
|
import * as Stream from "effect/Stream";
|
|
10
9
|
import type * as rolldown from "rolldown";
|
|
@@ -23,7 +22,6 @@ import {
|
|
|
23
22
|
createInternalTags,
|
|
24
23
|
diffTags,
|
|
25
24
|
} from "../../Tags.ts";
|
|
26
|
-
import { Assets } from "../Assets.ts";
|
|
27
25
|
import type { AccountID } from "../Environment.ts";
|
|
28
26
|
import { AWSEnvironment } from "../Environment.ts";
|
|
29
27
|
import type { PolicyStatement } from "../IAM/Policy.ts";
|
|
@@ -259,7 +257,11 @@ export interface Instance extends Resource<
|
|
|
259
257
|
Providers
|
|
260
258
|
> {}
|
|
261
259
|
|
|
262
|
-
export type InstanceServices =
|
|
260
|
+
export type InstanceServices =
|
|
261
|
+
| ServerHost
|
|
262
|
+
| Credentials
|
|
263
|
+
| Region
|
|
264
|
+
| AWSEnvironment;
|
|
263
265
|
|
|
264
266
|
export type InstanceShape = Main<InstanceServices>;
|
|
265
267
|
|
|
@@ -315,27 +317,24 @@ export const InstanceProvider = () =>
|
|
|
315
317
|
Provider.effect(
|
|
316
318
|
Instance,
|
|
317
319
|
Effect.gen(function* () {
|
|
318
|
-
const region = yield* Region;
|
|
319
|
-
const { accountId } = yield* AWSEnvironment;
|
|
320
320
|
const stack = yield* Stack;
|
|
321
321
|
const stage = yield* Stage;
|
|
322
322
|
const fs = yield* FileSystem.FileSystem;
|
|
323
323
|
const virtualEntryPlugin = yield* Bundle.virtualEntryPlugin;
|
|
324
|
-
const assets = (yield* Effect.serviceOption(Assets)).pipe(
|
|
325
|
-
Option.getOrUndefined,
|
|
326
|
-
);
|
|
327
324
|
|
|
328
325
|
const toInstanceArn = (instanceId: InstanceId) =>
|
|
329
|
-
|
|
326
|
+
AWSEnvironment.current.pipe(
|
|
327
|
+
Effect.map(
|
|
328
|
+
(env) =>
|
|
329
|
+
`arn:aws:ec2:${env.region}:${env.accountId}:instance/${instanceId}` as InstanceArn,
|
|
330
|
+
),
|
|
331
|
+
);
|
|
330
332
|
|
|
331
333
|
const hosted = createEc2HostedSupport({
|
|
332
|
-
accountId,
|
|
333
|
-
region,
|
|
334
334
|
stackName: stack.name,
|
|
335
335
|
stage,
|
|
336
336
|
fs,
|
|
337
337
|
virtualEntryPlugin,
|
|
338
|
-
assets,
|
|
339
338
|
resourceType: "EC2.Instance",
|
|
340
339
|
});
|
|
341
340
|
|
|
@@ -387,34 +386,36 @@ export const InstanceProvider = () =>
|
|
|
387
386
|
.map((tag) => [tag.Key, tag.Value]),
|
|
388
387
|
);
|
|
389
388
|
|
|
390
|
-
const toAttributes = (
|
|
389
|
+
const toAttributes = Effect.fnUntraced(function* (
|
|
391
390
|
instance: ec2.Instance,
|
|
392
|
-
)
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
.
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
391
|
+
) {
|
|
392
|
+
return {
|
|
393
|
+
instanceId: instance.InstanceId as InstanceId,
|
|
394
|
+
instanceArn: yield* toInstanceArn(instance.InstanceId as InstanceId),
|
|
395
|
+
imageId: instance.ImageId!,
|
|
396
|
+
instanceType: String(instance.InstanceType ?? ""),
|
|
397
|
+
state: instance.State?.Name ?? "unknown",
|
|
398
|
+
vpcId: instance.VpcId as VpcId | undefined,
|
|
399
|
+
subnetId: instance.SubnetId as SubnetId | undefined,
|
|
400
|
+
availabilityZone: instance.Placement?.AvailabilityZone,
|
|
401
|
+
securityGroupIds: (instance.SecurityGroups ?? [])
|
|
402
|
+
.map((group) => group.GroupId)
|
|
403
|
+
.filter((value): value is string => Boolean(value)),
|
|
404
|
+
privateIpAddress: instance.PrivateIpAddress,
|
|
405
|
+
publicIpAddress: instance.PublicIpAddress,
|
|
406
|
+
privateDnsName: instance.PrivateDnsName,
|
|
407
|
+
publicDnsName: instance.PublicDnsName,
|
|
408
|
+
keyName: instance.KeyName,
|
|
409
|
+
instanceProfileArn: instance.IamInstanceProfile?.Arn,
|
|
410
|
+
instanceProfileId: instance.IamInstanceProfile?.Id,
|
|
411
|
+
instanceProfileName: undefined,
|
|
412
|
+
sourceDestCheck: instance.SourceDestCheck,
|
|
413
|
+
launchTime:
|
|
414
|
+
instance.LaunchTime instanceof Date
|
|
415
|
+
? instance.LaunchTime.toISOString()
|
|
416
|
+
: (instance.LaunchTime as string | undefined),
|
|
417
|
+
tags: toTagRecord(instance.Tags),
|
|
418
|
+
} satisfies Instance["Attributes"];
|
|
418
419
|
});
|
|
419
420
|
|
|
420
421
|
const describeInstance = (instanceId: string) =>
|
|
@@ -625,7 +626,7 @@ export const InstanceProvider = () =>
|
|
|
625
626
|
: yield* findInstanceByTags(id);
|
|
626
627
|
return instance
|
|
627
628
|
? {
|
|
628
|
-
...toAttributes(instance),
|
|
629
|
+
...(yield* toAttributes(instance)),
|
|
629
630
|
instanceProfileName: output?.instanceProfileName,
|
|
630
631
|
roleArn: output?.roleArn,
|
|
631
632
|
roleName: output?.roleName,
|
|
@@ -813,7 +814,7 @@ export const InstanceProvider = () =>
|
|
|
813
814
|
// Re-read final state so attributes reflect the post-sync cloud.
|
|
814
815
|
const final = yield* describeInstance(instanceId);
|
|
815
816
|
return {
|
|
816
|
-
...toAttributes(final),
|
|
817
|
+
...(yield* toAttributes(final)),
|
|
817
818
|
instanceProfileName:
|
|
818
819
|
runtime.instanceProfileName ?? output?.instanceProfileName,
|
|
819
820
|
roleArn: runtime.roleArn ?? output?.roleArn,
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import * as ec2 from "@distilled.cloud/aws/ec2";
|
|
2
|
-
import { Region } from "@distilled.cloud/aws/Region";
|
|
3
2
|
import * as Effect from "effect/Effect";
|
|
4
3
|
import * as Schedule from "effect/Schedule";
|
|
5
4
|
import type { ScopedPlanStatusSession } from "../../Cli/Cli.ts";
|
|
6
5
|
import * as Provider from "../../Provider.ts";
|
|
7
6
|
import { Resource } from "../../Resource.ts";
|
|
8
|
-
import type { Providers } from "../Providers.ts";
|
|
9
7
|
import { createInternalTags, createTagsList, diffTags } from "../../Tags.ts";
|
|
10
|
-
import type
|
|
11
|
-
import {
|
|
8
|
+
import { AWSEnvironment, type AccountID } from "../Environment.ts";
|
|
9
|
+
import type { Providers } from "../Providers.ts";
|
|
12
10
|
import type { RegionID } from "../Region.ts";
|
|
13
11
|
import type { VpcId } from "./Vpc.ts";
|
|
14
12
|
|
|
@@ -71,15 +69,13 @@ export const InternetGatewayProvider = () =>
|
|
|
71
69
|
Provider.effect(
|
|
72
70
|
InternetGateway,
|
|
73
71
|
Effect.gen(function* () {
|
|
74
|
-
const region = yield* Region;
|
|
75
|
-
const { accountId } = yield* AWSEnvironment;
|
|
76
|
-
|
|
77
72
|
return {
|
|
78
73
|
stables: ["internetGatewayId", "internetGatewayArn", "ownerId"],
|
|
79
74
|
|
|
80
75
|
reconcile: Effect.fn(function* ({ id, news = {}, output, session }) {
|
|
76
|
+
const { accountId, region } = yield* AWSEnvironment.current;
|
|
81
77
|
const alchemyTags = yield* createInternalTags(id);
|
|
82
|
-
const desiredTags = { ...alchemyTags, ...
|
|
78
|
+
const desiredTags = { ...alchemyTags, ...news.tags };
|
|
83
79
|
|
|
84
80
|
// Observe — find the IGW via cached id, else fall through to create.
|
|
85
81
|
let igw: ec2.InternetGateway | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as ec2 from "@distilled.cloud/aws/ec2";
|
|
2
|
-
import { Region } from "@distilled.cloud/aws/Region";
|
|
3
2
|
import * as Data from "effect/Data";
|
|
4
3
|
import * as Effect from "effect/Effect";
|
|
5
4
|
import * as Schedule from "effect/Schedule";
|
|
@@ -8,7 +7,6 @@ import type { ScopedPlanStatusSession } from "../../Cli/Cli.ts";
|
|
|
8
7
|
import { isResolved } from "../../Diff.ts";
|
|
9
8
|
import * as Provider from "../../Provider.ts";
|
|
10
9
|
import { Resource } from "../../Resource.ts";
|
|
11
|
-
import type { Providers } from "../Providers.ts";
|
|
12
10
|
import {
|
|
13
11
|
createAlchemyTagFilters,
|
|
14
12
|
createInternalTags,
|
|
@@ -17,6 +15,7 @@ import {
|
|
|
17
15
|
} from "../../Tags.ts";
|
|
18
16
|
import type { AccountID } from "../Environment.ts";
|
|
19
17
|
import { AWSEnvironment } from "../Environment.ts";
|
|
18
|
+
import type { Providers } from "../Providers.ts";
|
|
20
19
|
import type { RegionID } from "../Region.ts";
|
|
21
20
|
import type { AllocationId } from "./EIP.ts";
|
|
22
21
|
import type { SubnetId } from "./Subnet.ts";
|
|
@@ -165,9 +164,6 @@ export const NatGatewayProvider = () =>
|
|
|
165
164
|
Provider.effect(
|
|
166
165
|
NatGateway,
|
|
167
166
|
Effect.gen(function* () {
|
|
168
|
-
const region = yield* Region;
|
|
169
|
-
const { accountId } = yield* AWSEnvironment;
|
|
170
|
-
|
|
171
167
|
const createTags = Effect.fn(function* (
|
|
172
168
|
id: string,
|
|
173
169
|
tags?: Record<string, string>,
|
|
@@ -189,7 +185,8 @@ export const NatGatewayProvider = () =>
|
|
|
189
185
|
),
|
|
190
186
|
);
|
|
191
187
|
|
|
192
|
-
const toAttrs = (gw: ec2.NatGateway)
|
|
188
|
+
const toAttrs = Effect.fnUntraced(function* (gw: ec2.NatGateway) {
|
|
189
|
+
const { accountId, region } = yield* AWSEnvironment.current;
|
|
193
190
|
const primaryAddress =
|
|
194
191
|
gw.NatGatewayAddresses?.find((a) => a.IsPrimary) ??
|
|
195
192
|
gw.NatGatewayAddresses?.[0];
|
|
@@ -223,8 +220,8 @@ export const NatGatewayProvider = () =>
|
|
|
223
220
|
gw.DeleteTime instanceof Date
|
|
224
221
|
? gw.DeleteTime.toISOString()
|
|
225
222
|
: (gw.DeleteTime as string | undefined),
|
|
226
|
-
};
|
|
227
|
-
};
|
|
223
|
+
} satisfies NatGateway["Attributes"];
|
|
224
|
+
});
|
|
228
225
|
|
|
229
226
|
// Find NAT Gateway by alchemy tags when we don't have the ID
|
|
230
227
|
const findNatGatewayByTags = Effect.fn(function* (id: string) {
|
|
@@ -244,13 +241,15 @@ export const NatGatewayProvider = () =>
|
|
|
244
241
|
read: Effect.fn(function* ({ id, output }) {
|
|
245
242
|
if (output) {
|
|
246
243
|
// We have the NAT Gateway ID, use it directly
|
|
247
|
-
return
|
|
244
|
+
return yield* toAttrs(
|
|
245
|
+
yield* describeNatGateway(output.natGatewayId),
|
|
246
|
+
);
|
|
248
247
|
}
|
|
249
248
|
|
|
250
249
|
// No output - try to find by tags (recovery from incomplete create)
|
|
251
250
|
const gw = yield* findNatGatewayByTags(id);
|
|
252
251
|
if (gw) {
|
|
253
|
-
return toAttrs(gw);
|
|
252
|
+
return yield* toAttrs(gw);
|
|
254
253
|
}
|
|
255
254
|
|
|
256
255
|
// Not found
|
|
@@ -365,7 +364,7 @@ export const NatGatewayProvider = () =>
|
|
|
365
364
|
|
|
366
365
|
// Re-read final state.
|
|
367
366
|
const final = yield* describeNatGateway(natGatewayId);
|
|
368
|
-
return toAttrs(final);
|
|
367
|
+
return yield* toAttrs(final);
|
|
369
368
|
}),
|
|
370
369
|
|
|
371
370
|
delete: Effect.fn(function* ({ output, session }) {
|
package/src/AWS/EC2/Network.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as ec2 from "@distilled.cloud/aws/ec2";
|
|
2
|
-
import { Region } from "@distilled.cloud/aws/Region";
|
|
3
2
|
import * as Effect from "effect/Effect";
|
|
4
3
|
import * as Namespace from "../../Namespace.ts";
|
|
4
|
+
import { AWSEnvironment } from "../Environment.ts";
|
|
5
5
|
import type { EIP as EIPResource } from "./EIP.ts";
|
|
6
6
|
import { EIP } from "./EIP.ts";
|
|
7
7
|
import type { InternetGateway as InternetGatewayResource } from "./InternetGateway.ts";
|
|
@@ -306,7 +306,7 @@ export const Network = (id: string, props: NetworkProps) =>
|
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
const region = yield*
|
|
309
|
+
const { region } = yield* AWSEnvironment.current;
|
|
310
310
|
const gatewayEndpoints: VpcEndpointResource[] = [];
|
|
311
311
|
for (const service of uniqueGatewayEndpoints(props.gatewayEndpoints)) {
|
|
312
312
|
gatewayEndpoints.push(
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import * as ec2 from "@distilled.cloud/aws/ec2";
|
|
2
|
-
import { Region } from "@distilled.cloud/aws/Region";
|
|
3
2
|
import * as Effect from "effect/Effect";
|
|
4
3
|
import * as Schedule from "effect/Schedule";
|
|
5
4
|
|
|
6
5
|
import { isResolved } from "../../Diff.ts";
|
|
7
6
|
import * as Provider from "../../Provider.ts";
|
|
8
7
|
import { Resource } from "../../Resource.ts";
|
|
9
|
-
import type { Providers } from "../Providers.ts";
|
|
10
8
|
import { createInternalTags, createTagsList, diffTags } from "../../Tags.ts";
|
|
11
9
|
import type { AccountID } from "../Environment.ts";
|
|
12
10
|
import { AWSEnvironment } from "../Environment.ts";
|
|
11
|
+
import type { Providers } from "../Providers.ts";
|
|
13
12
|
import type { RegionID } from "../Region.ts";
|
|
14
13
|
import type { VpcId } from "./Vpc.ts";
|
|
15
14
|
|
|
@@ -73,9 +72,6 @@ export const NetworkAclProvider = () =>
|
|
|
73
72
|
Provider.effect(
|
|
74
73
|
NetworkAcl,
|
|
75
74
|
Effect.gen(function* () {
|
|
76
|
-
const region = yield* Region;
|
|
77
|
-
const { accountId } = yield* AWSEnvironment;
|
|
78
|
-
|
|
79
75
|
const createTags = Effect.fn(function* (
|
|
80
76
|
id: string,
|
|
81
77
|
tags?: Record<string, string>,
|
|
@@ -97,38 +93,41 @@ export const NetworkAclProvider = () =>
|
|
|
97
93
|
),
|
|
98
94
|
);
|
|
99
95
|
|
|
100
|
-
const toAttrs = (acl: ec2.NetworkAcl)
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
96
|
+
const toAttrs = Effect.fnUntraced(function* (acl: ec2.NetworkAcl) {
|
|
97
|
+
const { accountId, region } = yield* AWSEnvironment.current;
|
|
98
|
+
return {
|
|
99
|
+
networkAclId: acl.NetworkAclId as NetworkAclId,
|
|
100
|
+
networkAclArn:
|
|
101
|
+
`arn:aws:ec2:${region}:${accountId}:network-acl/${acl.NetworkAclId}` as NetworkAclArn,
|
|
102
|
+
vpcId: acl.VpcId as VpcId,
|
|
103
|
+
isDefault: acl.IsDefault ?? false,
|
|
104
|
+
ownerId: acl.OwnerId!,
|
|
105
|
+
entries: acl.Entries?.map((e) => ({
|
|
106
|
+
ruleNumber: e.RuleNumber!,
|
|
107
|
+
protocol: e.Protocol!,
|
|
108
|
+
ruleAction: e.RuleAction!,
|
|
109
|
+
egress: e.Egress!,
|
|
110
|
+
cidrBlock: e.CidrBlock,
|
|
111
|
+
ipv6CidrBlock: e.Ipv6CidrBlock,
|
|
112
|
+
icmpTypeCode: e.IcmpTypeCode
|
|
113
|
+
? {
|
|
114
|
+
code: e.IcmpTypeCode.Code,
|
|
115
|
+
type: e.IcmpTypeCode.Type,
|
|
116
|
+
}
|
|
117
|
+
: undefined,
|
|
118
|
+
portRange: e.PortRange
|
|
119
|
+
? {
|
|
120
|
+
from: e.PortRange.From,
|
|
121
|
+
to: e.PortRange.To,
|
|
122
|
+
}
|
|
123
|
+
: undefined,
|
|
124
|
+
})),
|
|
125
|
+
associations: acl.Associations?.map((a) => ({
|
|
126
|
+
networkAclAssociationId: a.NetworkAclAssociationId!,
|
|
127
|
+
networkAclId: a.NetworkAclId!,
|
|
128
|
+
subnetId: a.SubnetId!,
|
|
129
|
+
})),
|
|
130
|
+
} satisfies NetworkAcl["Attributes"];
|
|
132
131
|
});
|
|
133
132
|
|
|
134
133
|
return {
|
|
@@ -137,7 +136,7 @@ export const NetworkAclProvider = () =>
|
|
|
137
136
|
read: Effect.fn(function* ({ output }) {
|
|
138
137
|
if (!output) return undefined;
|
|
139
138
|
const acl = yield* describeNetworkAcl(output.networkAclId);
|
|
140
|
-
return toAttrs(acl);
|
|
139
|
+
return yield* toAttrs(acl);
|
|
141
140
|
}),
|
|
142
141
|
|
|
143
142
|
diff: Effect.fn(function* ({ news, olds }) {
|
|
@@ -207,7 +206,7 @@ export const NetworkAclProvider = () =>
|
|
|
207
206
|
|
|
208
207
|
// Re-read final state.
|
|
209
208
|
const final = yield* describeNetworkAcl(networkAclId);
|
|
210
|
-
return toAttrs(final);
|
|
209
|
+
return yield* toAttrs(final);
|
|
211
210
|
}),
|
|
212
211
|
|
|
213
212
|
delete: Effect.fn(function* ({ output, session }) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type * as EC2 from "@distilled.cloud/aws/ec2";
|
|
2
2
|
import * as ec2 from "@distilled.cloud/aws/ec2";
|
|
3
|
-
import { Region } from "@distilled.cloud/aws/Region";
|
|
4
3
|
import * as Effect from "effect/Effect";
|
|
5
4
|
import * as Schedule from "effect/Schedule";
|
|
6
5
|
|
|
@@ -8,10 +7,10 @@ import type { ScopedPlanStatusSession } from "../../Cli/Cli.ts";
|
|
|
8
7
|
import { isResolved } from "../../Diff.ts";
|
|
9
8
|
import * as Provider from "../../Provider.ts";
|
|
10
9
|
import { Resource } from "../../Resource.ts";
|
|
11
|
-
import type { Providers } from "../Providers.ts";
|
|
12
10
|
import { createInternalTags, createTagsList, diffTags } from "../../Tags.ts";
|
|
13
11
|
import type { AccountID } from "../Environment.ts";
|
|
14
12
|
import { AWSEnvironment } from "../Environment.ts";
|
|
13
|
+
import type { Providers } from "../Providers.ts";
|
|
15
14
|
import type { RegionID } from "../Region.ts";
|
|
16
15
|
import type { VpcId } from "./Vpc.ts";
|
|
17
16
|
|
|
@@ -177,9 +176,6 @@ export const RouteTableProvider = () =>
|
|
|
177
176
|
Provider.effect(
|
|
178
177
|
RouteTable,
|
|
179
178
|
Effect.gen(function* () {
|
|
180
|
-
const region = yield* Region;
|
|
181
|
-
const { accountId } = yield* AWSEnvironment;
|
|
182
|
-
|
|
183
179
|
return {
|
|
184
180
|
stables: ["routeTableId", "ownerId", "routeTableArn", "vpcId"],
|
|
185
181
|
diff: Effect.fn(function* ({ news, olds }) {
|
|
@@ -192,8 +188,9 @@ export const RouteTableProvider = () =>
|
|
|
192
188
|
}),
|
|
193
189
|
|
|
194
190
|
reconcile: Effect.fn(function* ({ id, news, output, session }) {
|
|
191
|
+
const { accountId, region } = yield* AWSEnvironment.current;
|
|
195
192
|
const alchemyTags = yield* createInternalTags(id);
|
|
196
|
-
const desiredTags = { ...alchemyTags, ...
|
|
193
|
+
const desiredTags = { ...alchemyTags, ...news.tags };
|
|
197
194
|
|
|
198
195
|
// Observe — find the route table via cached id, else fall through
|
|
199
196
|
// to create.
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import * as ec2 from "@distilled.cloud/aws/ec2";
|
|
2
|
-
import { Region } from "@distilled.cloud/aws/Region";
|
|
3
2
|
import * as Effect from "effect/Effect";
|
|
4
3
|
import * as Schedule from "effect/Schedule";
|
|
5
4
|
import { isResolved } from "../../Diff.ts";
|
|
6
5
|
import { createPhysicalName } from "../../PhysicalName.ts";
|
|
7
6
|
import * as Provider from "../../Provider.ts";
|
|
8
7
|
import { Resource } from "../../Resource.ts";
|
|
9
|
-
import type { Providers } from "../Providers.ts";
|
|
10
8
|
import { createInternalTags, createTagsList, diffTags } from "../../Tags.ts";
|
|
11
9
|
import type { AccountID } from "../Environment.ts";
|
|
12
10
|
import { AWSEnvironment } from "../Environment.ts";
|
|
11
|
+
import type { Providers } from "../Providers.ts";
|
|
13
12
|
import type { RegionID } from "../Region.ts";
|
|
14
13
|
import type { VpcId } from "./Vpc.ts";
|
|
15
14
|
|
|
@@ -180,9 +179,6 @@ export const SecurityGroupProvider = () =>
|
|
|
180
179
|
Provider.effect(
|
|
181
180
|
SecurityGroup,
|
|
182
181
|
Effect.gen(function* () {
|
|
183
|
-
const region = yield* Region;
|
|
184
|
-
const { accountId } = yield* AWSEnvironment;
|
|
185
|
-
|
|
186
182
|
const createTags = Effect.fn(function* (
|
|
187
183
|
id: string,
|
|
188
184
|
tags?: Record<string, string>,
|
|
@@ -215,45 +211,48 @@ export const SecurityGroupProvider = () =>
|
|
|
215
211
|
Filters: [{ Name: "group-id", Values: [groupId] }],
|
|
216
212
|
});
|
|
217
213
|
|
|
218
|
-
const toAttrs = (
|
|
214
|
+
const toAttrs = Effect.fnUntraced(function* (
|
|
219
215
|
sg: ec2.SecurityGroup,
|
|
220
216
|
rules: ec2.SecurityGroupRule[],
|
|
221
|
-
)
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
217
|
+
) {
|
|
218
|
+
const { accountId, region } = yield* AWSEnvironment.current;
|
|
219
|
+
return {
|
|
220
|
+
groupId: sg.GroupId as SecurityGroupId,
|
|
221
|
+
groupArn:
|
|
222
|
+
`arn:aws:ec2:${region}:${accountId}:security-group/${sg.GroupId as SecurityGroupId}` as SecurityGroupArn,
|
|
223
|
+
groupName: sg.GroupName!,
|
|
224
|
+
description: sg.Description!,
|
|
225
|
+
vpcId: sg.VpcId as VpcId,
|
|
226
|
+
ownerId: sg.OwnerId!,
|
|
227
|
+
ingressRules: rules
|
|
228
|
+
.filter((r) => !r.IsEgress)
|
|
229
|
+
.map((r) => ({
|
|
230
|
+
securityGroupRuleId: r.SecurityGroupRuleId!,
|
|
231
|
+
ipProtocol: r.IpProtocol!,
|
|
232
|
+
fromPort: r.FromPort,
|
|
233
|
+
toPort: r.ToPort,
|
|
234
|
+
cidrIpv4: r.CidrIpv4,
|
|
235
|
+
cidrIpv6: r.CidrIpv6,
|
|
236
|
+
referencedGroupId: r.ReferencedGroupInfo?.GroupId,
|
|
237
|
+
prefixListId: r.PrefixListId,
|
|
238
|
+
description: r.Description,
|
|
239
|
+
isEgress: false as const,
|
|
240
|
+
})),
|
|
241
|
+
egressRules: rules
|
|
242
|
+
.filter((r) => r.IsEgress)
|
|
243
|
+
.map((r) => ({
|
|
244
|
+
securityGroupRuleId: r.SecurityGroupRuleId!,
|
|
245
|
+
ipProtocol: r.IpProtocol!,
|
|
246
|
+
fromPort: r.FromPort,
|
|
247
|
+
toPort: r.ToPort,
|
|
248
|
+
cidrIpv4: r.CidrIpv4,
|
|
249
|
+
cidrIpv6: r.CidrIpv6,
|
|
250
|
+
referencedGroupId: r.ReferencedGroupInfo?.GroupId,
|
|
251
|
+
prefixListId: r.PrefixListId,
|
|
252
|
+
description: r.Description,
|
|
253
|
+
isEgress: true as const,
|
|
254
|
+
})),
|
|
255
|
+
} satisfies SecurityGroup["Attributes"];
|
|
257
256
|
});
|
|
258
257
|
|
|
259
258
|
const toIpPermission = (
|
|
@@ -293,7 +292,7 @@ export const SecurityGroupProvider = () =>
|
|
|
293
292
|
if (!output) return undefined;
|
|
294
293
|
const sg = yield* describeSecurityGroup(output.groupId);
|
|
295
294
|
const rulesResult = yield* describeSecurityGroupRules(output.groupId);
|
|
296
|
-
return toAttrs(sg, rulesResult.SecurityGroupRules ?? []);
|
|
295
|
+
return yield* toAttrs(sg, rulesResult.SecurityGroupRules ?? []);
|
|
297
296
|
}),
|
|
298
297
|
|
|
299
298
|
diff: Effect.fn(function* ({ id, news, olds, output }) {
|
|
@@ -450,7 +449,7 @@ export const SecurityGroupProvider = () =>
|
|
|
450
449
|
// Re-read final state.
|
|
451
450
|
const finalSg = yield* describeSecurityGroup(groupId);
|
|
452
451
|
const finalRules = yield* describeSecurityGroupRules(groupId);
|
|
453
|
-
return toAttrs(finalSg, finalRules.SecurityGroupRules ?? []);
|
|
452
|
+
return yield* toAttrs(finalSg, finalRules.SecurityGroupRules ?? []);
|
|
454
453
|
}),
|
|
455
454
|
|
|
456
455
|
delete: Effect.fn(function* ({ output, session }) {
|