diff --git a/CHANGELOG.md b/CHANGELOG.md index 46d47c820..f109c9e6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# [1.11.0](https://github.com/bbeesley/aws-blue-green-toolkit/compare/v1.10.0...v1.11.0) (2020-12-09) + + +### Features + +* add kinesis toolset to support consumer stream management ([d00ab1c](https://github.com/bbeesley/aws-blue-green-toolkit/commit/d00ab1c0d0d0adb5ed9b0d6b06e76be868ea761b)) +* **lambda-tools:** add event source mapping helpers ([2a698b1](https://github.com/bbeesley/aws-blue-green-toolkit/commit/2a698b1a4cf265a4aedd66a868f92fd8b792fb55)) + # [1.10.0](https://github.com/bbeesley/aws-blue-green-toolkit/compare/v1.9.0...v1.10.0) (2020-11-27) diff --git a/README.md b/README.md index 7001fa30d..b661886bd 100644 --- a/README.md +++ b/README.md @@ -76,35 +76,47 @@ CodeDeploy will carry out steps 6, 7, 9, and 15. This module contains tools to h - [DynamoTools](#dynamotools) - [deleteTable](#deletetable) - [Parameters](#parameters-10) +- [KinesisConfig](#kinesisconfig) +- [KinesisTools](#kinesistools) + - [registerConsumer](#registerconsumer) + - [Parameters](#parameters-11) + - [deregisterConsumer](#deregisterconsumer) + - [Parameters](#parameters-12) - [LambdaConfig](#lambdaconfig) - [LambdaTools](#lambdatools) - [enableRule](#enablerule) - - [Parameters](#parameters-11) + - [Parameters](#parameters-13) - [disableRule](#disablerule) - - [Parameters](#parameters-12) + - [Parameters](#parameters-14) + - [createEventSourceMapping](#createeventsourcemapping) + - [Parameters](#parameters-15) + - [listEventSourceMappings](#listeventsourcemappings) + - [Parameters](#parameters-16) - [enableEventMapping](#enableeventmapping) - - [Parameters](#parameters-13) + - [Parameters](#parameters-17) - [disableEventMapping](#disableeventmapping) - - [Parameters](#parameters-14) + - [Parameters](#parameters-18) + - [deleteEventMapping](#deleteeventmapping) + - [Parameters](#parameters-19) - [getVersion](#getversion) - - [Parameters](#parameters-15) + - [Parameters](#parameters-20) - [getAlias](#getalias) - - [Parameters](#parameters-16) + - [Parameters](#parameters-21) - [TopicData](#topicdata) - [SnsConfig](#snsconfig) - [SnsTools](#snstools) - [enableSubscription](#enablesubscription) - - [Parameters](#parameters-17) + - [Parameters](#parameters-22) - [disableSubscription](#disablesubscription) - - [Parameters](#parameters-18) + - [Parameters](#parameters-23) - [SqsConfig](#sqsconfig) - [SqsTools](#sqstools) - [purgeQueues](#purgequeues) - - [Parameters](#parameters-19) + - [Parameters](#parameters-24) ### AuroraConfig -[src/main/AuroraTools.ts:13-18](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/AuroraTools.ts#L13-L18 "Source code on GitHub") +[src/main/AuroraTools.ts:13-18](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/AuroraTools.ts#L13-L18 "Source code on GitHub") **Extends AwsConfig** @@ -112,13 +124,13 @@ Configuration options for the Aurora toolkit ### AuroraTools -[src/main/AuroraTools.ts:25-258](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/AuroraTools.ts#L25-L258 "Source code on GitHub") +[src/main/AuroraTools.ts:25-258](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/AuroraTools.ts#L25-L258 "Source code on GitHub") Toolkit for Aurora operations #### getClusterState -[src/main/AuroraTools.ts:63-80](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/AuroraTools.ts#L63-L80 "Source code on GitHub") +[src/main/AuroraTools.ts:63-80](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/AuroraTools.ts#L63-L80 "Source code on GitHub") Gets the current state of one of the Aurora clusters @@ -130,7 +142,7 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/ #### scaleIn -[src/main/AuroraTools.ts:118-120](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/AuroraTools.ts#L118-L120 "Source code on GitHub") +[src/main/AuroraTools.ts:118-120](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/AuroraTools.ts#L118-L120 "Source code on GitHub") Reverts a cluster's minimum reader count to the configured minimum @@ -142,7 +154,7 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/ #### scaleOut -[src/main/AuroraTools.ts:128-133](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/AuroraTools.ts#L128-L133 "Source code on GitHub") +[src/main/AuroraTools.ts:128-133](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/AuroraTools.ts#L128-L133 "Source code on GitHub") Scales out a cluster to match it's partner's size @@ -154,7 +166,7 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/ #### getReaderCount -[src/main/AuroraTools.ts:141-155](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/AuroraTools.ts#L141-L155 "Source code on GitHub") +[src/main/AuroraTools.ts:141-155](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/AuroraTools.ts#L141-L155 "Source code on GitHub") Get a count of the number of active readers for a cluster @@ -166,7 +178,7 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/ #### startDatabase -[src/main/AuroraTools.ts:163-166](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/AuroraTools.ts#L163-L166 "Source code on GitHub") +[src/main/AuroraTools.ts:163-166](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/AuroraTools.ts#L163-L166 "Source code on GitHub") Starts a stopped db cluster @@ -178,7 +190,7 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/ #### stopDatabase -[src/main/AuroraTools.ts:174-177](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/AuroraTools.ts#L174-L177 "Source code on GitHub") +[src/main/AuroraTools.ts:174-177](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/AuroraTools.ts#L174-L177 "Source code on GitHub") Stops a running db cluster @@ -190,7 +202,7 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/ #### deleteDatabase -[src/main/AuroraTools.ts:185-217](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/AuroraTools.ts#L185-L217 "Source code on GitHub") +[src/main/AuroraTools.ts:185-217](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/AuroraTools.ts#L185-L217 "Source code on GitHub") Deletes a running db cluster @@ -202,7 +214,7 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/ #### applyTags -[src/main/AuroraTools.ts:226-257](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/AuroraTools.ts#L226-L257 "Source code on GitHub") +[src/main/AuroraTools.ts:226-257](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/AuroraTools.ts#L226-L257 "Source code on GitHub") Parses a message from an rds event subscription, if the event was triggered by a scale out operation, the tags defined in config are applied to the newly created reader. @@ -215,7 +227,7 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/ ### CloudWatchConfig -[src/main/CloudwatchTools.ts:11-14](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/CloudwatchTools.ts#L11-L14 "Source code on GitHub") +[src/main/CloudwatchTools.ts:11-14](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/CloudwatchTools.ts#L11-L14 "Source code on GitHub") **Extends AwsConfig** @@ -223,13 +235,13 @@ Configuration options for the CloudWatch toolkit ### CloudWatchTools -[src/main/CloudwatchTools.ts:26-80](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/CloudwatchTools.ts#L26-L80 "Source code on GitHub") +[src/main/CloudwatchTools.ts:26-80](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/CloudwatchTools.ts#L26-L80 "Source code on GitHub") Toolkit for CloudWatch operations #### disableAlarmsActions -[src/main/CloudwatchTools.ts:66-69](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/CloudwatchTools.ts#L66-L69 "Source code on GitHub") +[src/main/CloudwatchTools.ts:66-69](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/CloudwatchTools.ts#L66-L69 "Source code on GitHub") Disable all alarm actions @@ -241,7 +253,7 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/ #### enableAlarmsActions -[src/main/CloudwatchTools.ts:76-79](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/CloudwatchTools.ts#L76-L79 "Source code on GitHub") +[src/main/CloudwatchTools.ts:76-79](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/CloudwatchTools.ts#L76-L79 "Source code on GitHub") Enable all alarm actions @@ -253,13 +265,13 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/ ### AwsConfig -[src/main/common-interfaces.ts:6-12](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/common-interfaces.ts#L6-L12 "Source code on GitHub") +[src/main/common-interfaces.ts:6-12](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/common-interfaces.ts#L6-L12 "Source code on GitHub") Base config used in all tool kits ### ClusterState -[src/main/constants.ts:6-11](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/constants.ts#L6-L11 "Source code on GitHub") +[src/main/constants.ts:6-11](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/constants.ts#L6-L11 "Source code on GitHub") Enum for describing the state of an RDS cluster @@ -267,7 +279,7 @@ Type: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa ### StackReference -[src/main/constants.ts:18-21](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/constants.ts#L18-L21 "Source code on GitHub") +[src/main/constants.ts:18-21](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/constants.ts#L18-L21 "Source code on GitHub") Enum for referencing blue or green stacks @@ -275,7 +287,7 @@ Type: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa ### DynamoConfig -[src/main/DynamoTools.ts:12-16](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/DynamoTools.ts#L12-L16 "Source code on GitHub") +[src/main/DynamoTools.ts:12-16](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/DynamoTools.ts#L12-L16 "Source code on GitHub") **Extends AwsConfig** @@ -283,13 +295,13 @@ Configuration options for the Aurora toolkit ### DynamoTools -[src/main/DynamoTools.ts:23-57](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/DynamoTools.ts#L23-L57 "Source code on GitHub") +[src/main/DynamoTools.ts:23-57](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/DynamoTools.ts#L23-L57 "Source code on GitHub") Toolkit for Dynamo operations #### deleteTable -[src/main/DynamoTools.ts:49-56](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/DynamoTools.ts#L49-L56 "Source code on GitHub") +[src/main/DynamoTools.ts:49-56](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/DynamoTools.ts#L49-L56 "Source code on GitHub") Deletes a dynamo table @@ -299,9 +311,47 @@ Deletes a dynamo table Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<void>** +### KinesisConfig + +[src/main/KinesisTools.ts:13-17](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/KinesisTools.ts#L13-L17 "Source code on GitHub") + +**Extends AwsConfig** + +Configuration options for the Aurora toolkit + +### KinesisTools + +[src/main/KinesisTools.ts:24-77](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/KinesisTools.ts#L24-L77 "Source code on GitHub") + +Toolkit for Kinesis data stream operations + +#### registerConsumer + +[src/main/KinesisTools.ts:52-61](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/KinesisTools.ts#L52-L61 "Source code on GitHub") + +Registers a new consumer for a Kinesis data stream + +##### Parameters + +- `reference` **[StackReference](#stackreference)** Reference to an active stack + +Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<RegisterStreamConsumerOutput>** + +#### deregisterConsumer + +[src/main/KinesisTools.ts:69-76](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/KinesisTools.ts#L69-L76 "Source code on GitHub") + +Deregisters an existing consumer for a Kinesis data stream + +##### Parameters + +- `reference` **[StackReference](#stackreference)** Reference to an active stack + +Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<void>** + ### LambdaConfig -[src/main/LambdaTools.ts:13-17](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/LambdaTools.ts#L13-L17 "Source code on GitHub") +[src/main/LambdaTools.ts:18-22](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/LambdaTools.ts#L18-L22 "Source code on GitHub") **Extends AwsConfig** @@ -309,13 +359,13 @@ Configuration options for the Lambda toolkit ### LambdaTools -[src/main/LambdaTools.ts:29-172](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/LambdaTools.ts#L29-L172 "Source code on GitHub") +[src/main/LambdaTools.ts:34-238](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/LambdaTools.ts#L34-L238 "Source code on GitHub") Toolkit for Lambda operations #### enableRule -[src/main/LambdaTools.ts:93-95](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/LambdaTools.ts#L93-L95 "Source code on GitHub") +[src/main/LambdaTools.ts:98-100](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/LambdaTools.ts#L98-L100 "Source code on GitHub") Enables a lambda's cloudwatch events rule (ie, cron trigger) @@ -327,7 +377,7 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/ #### disableRule -[src/main/LambdaTools.ts:103-105](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/LambdaTools.ts#L103-L105 "Source code on GitHub") +[src/main/LambdaTools.ts:108-110](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/LambdaTools.ts#L108-L110 "Source code on GitHub") Disables a lambda's cloudwatch events rule (ie, cron trigger) @@ -337,9 +387,35 @@ Disables a lambda's cloudwatch events rule (ie, cron trigger) Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<void>** +#### createEventSourceMapping + +[src/main/LambdaTools.ts:120-135](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/LambdaTools.ts#L120-L135 "Source code on GitHub") + +Creates a lambda's event source mapping (eg, a Kinesis stream) + +##### Parameters + +- `reference` **[StackReference](#stackreference)** Reference to a lambda stack +- `eventSourceArn` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** The ARN of the event source +- `sourceSpecificParams` **Omit<Lambda.CreateEventSourceMappingRequest, (`"FunctionName"` \| `"EventSourceArn"`)>** Any params specific to the event source (optional, default `{}`) + +Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<EventSourceMappingConfiguration>** + +#### listEventSourceMappings + +[src/main/LambdaTools.ts:143-162](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/LambdaTools.ts#L143-L162 "Source code on GitHub") + +Lists all event source mappings for the referenced function + +##### Parameters + +- `reference` **[StackReference](#stackreference)** Reference to a lambda stack + +Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<EventSourceMappingsList>** + #### enableEventMapping -[src/main/LambdaTools.ts:130-132](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/LambdaTools.ts#L130-L132 "Source code on GitHub") +[src/main/LambdaTools.ts:184-186](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/LambdaTools.ts#L184-L186 "Source code on GitHub") Enables a lambda's event mappings (eg, an SQS subscription) @@ -351,7 +427,7 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/ #### disableEventMapping -[src/main/LambdaTools.ts:140-142](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/LambdaTools.ts#L140-L142 "Source code on GitHub") +[src/main/LambdaTools.ts:194-196](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/LambdaTools.ts#L194-L196 "Source code on GitHub") Disables a lambda's event mappings (eg, an SQS subscription) @@ -361,9 +437,23 @@ Disables a lambda's event mappings (eg, an SQS subscription) Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<void>** +#### deleteEventMapping + +[src/main/LambdaTools.ts:206-208](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/LambdaTools.ts#L206-L208 "Source code on GitHub") + +Deletes a lambda's event mapping (eg, a Kinesis stream) +You may use the `listEventSourceMappings` method if you +need to retrieve UUIDs of the function event sources + +##### Parameters + +- `UUID` **[StackReference](#stackreference)** The identifier of the event source mapping + +Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<void>** + #### getVersion -[src/main/LambdaTools.ts:151-155](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/LambdaTools.ts#L151-L155 "Source code on GitHub") +[src/main/LambdaTools.ts:217-221](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/LambdaTools.ts#L217-L221 "Source code on GitHub") Gets the currently running version of a lambda fn @@ -375,7 +465,7 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/ #### getAlias -[src/main/LambdaTools.ts:165-171](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/LambdaTools.ts#L165-L171 "Source code on GitHub") +[src/main/LambdaTools.ts:231-237](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/LambdaTools.ts#L231-L237 "Source code on GitHub") Returns details about a Lambda function alias. @@ -388,13 +478,13 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/ ### TopicData -[src/main/SnsTools.ts:11-17](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/SnsTools.ts#L11-L17 "Source code on GitHub") +[src/main/SnsTools.ts:11-17](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/SnsTools.ts#L11-L17 "Source code on GitHub") Parameters to describe an SNS topic subscription ### SnsConfig -[src/main/SnsTools.ts:30-33](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/SnsTools.ts#L30-L33 "Source code on GitHub") +[src/main/SnsTools.ts:30-33](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/SnsTools.ts#L30-L33 "Source code on GitHub") **Extends AwsConfig** @@ -402,13 +492,13 @@ Configuration options for the SNS toolkit ### SnsTools -[src/main/SnsTools.ts:60-118](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/SnsTools.ts#L60-L118 "Source code on GitHub") +[src/main/SnsTools.ts:60-118](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/SnsTools.ts#L60-L118 "Source code on GitHub") Toolkit for SNS operations #### enableSubscription -[src/main/SnsTools.ts:105-107](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/SnsTools.ts#L105-L107 "Source code on GitHub") +[src/main/SnsTools.ts:105-107](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/SnsTools.ts#L105-L107 "Source code on GitHub") Enables an SNS subscription @@ -420,7 +510,7 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/ #### disableSubscription -[src/main/SnsTools.ts:115-117](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/SnsTools.ts#L115-L117 "Source code on GitHub") +[src/main/SnsTools.ts:115-117](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/SnsTools.ts#L115-L117 "Source code on GitHub") Disables an SNS subscription @@ -432,7 +522,7 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/ ### SqsConfig -[src/main/SqsTools.ts:12-15](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/SqsTools.ts#L12-L15 "Source code on GitHub") +[src/main/SqsTools.ts:12-15](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/SqsTools.ts#L12-L15 "Source code on GitHub") **Extends AwsConfig** @@ -440,13 +530,13 @@ Configuration options for the SQS toolkit ### SqsTools -[src/main/SqsTools.ts:27-65](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/SqsTools.ts#L27-L65 "Source code on GitHub") +[src/main/SqsTools.ts:27-65](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/SqsTools.ts#L27-L65 "Source code on GitHub") Toolkit for SQS operations #### purgeQueues -[src/main/SqsTools.ts:51-64](https://github.com/bbeesley/aws-blue-green-toolkit/blob/833812f48bb3b05a92a58bd90e222c095bf19345/src/main/SqsTools.ts#L51-L64 "Source code on GitHub") +[src/main/SqsTools.ts:51-64](https://github.com/bbeesley/aws-blue-green-toolkit/blob/92aec64e7c78136743b45a77d68ef30bc21d7c5d/src/main/SqsTools.ts#L51-L64 "Source code on GitHub") Purges a queue pair (q and dlq) based on config and queue reference diff --git a/package.json b/package.json index d1b2544d1..e6b981ae0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aws-blue-green-toolkit", - "version": "1.10.0", + "version": "1.11.0", "description": "Utility functions to help with performing blue/green and canary deployments in AWS infrastructure", "author": "Bill Beesley ", "license": "MIT",