newrelic-lambda-cli 0.9.3__py2.py3-none-any.whl → 0.9.5__py2.py3-none-any.whl

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.
@@ -1,21 +1,20 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  import click
4
- import emoji
5
4
 
6
5
  from click.exceptions import Exit
7
6
 
8
7
 
9
8
  def done(message):
10
9
  """Prints a done message to the terminal"""
11
- click.echo(emoji.emojize(":sparkles: %s :sparkles:" % message, language="alias"))
10
+ click.echo(f"✔️ {message} ✔️")
12
11
 
13
12
 
14
13
  def failure(message, exit=False):
15
14
  """Prints a failure message to the terminal"""
16
- click.echo(
17
- emoji.emojize(":heavy_multiplication_x: %s" % message, language="alias"),
18
- color="red",
15
+ click.secho(
16
+ f" {message}",
17
+ fg="red",
19
18
  err=True,
20
19
  )
21
20
  if exit:
@@ -24,15 +23,15 @@ def failure(message, exit=False):
24
23
 
25
24
  def success(message):
26
25
  """Prints a success message to the terminal"""
27
- click.echo(
28
- emoji.emojize(":heavy_check_mark: %s" % message, language="alias"),
29
- color="green",
26
+ click.secho(
27
+ f"✔️ {message}",
28
+ fg="green",
30
29
  )
31
30
 
32
31
 
33
32
  def warning(message):
34
- """Prints a warningmessage to the terminal"""
35
- click.echo(
36
- emoji.emojize(":heavy_exclamation_mark: %s" % message, language="alias"),
37
- color="blue",
33
+ """Prints a warning message to the terminal"""
34
+ click.secho(
35
+ f"⚠️ {message}",
36
+ fg="blue",
38
37
  )
@@ -100,8 +100,8 @@ def create_log_subscription(input, function_name):
100
100
  destination = get_newrelic_log_ingestion_function(input.session, input.stackname)
101
101
  if destination is None:
102
102
  failure(
103
- "Could not find newrelic-log-ingestion function. Is the New Relic AWS "
104
- "integration installed?"
103
+ "Could not find newrelic-log-ingestion function in stack: %s. Is the New Relic AWS "
104
+ "integration installed?" % input.stackname
105
105
  )
106
106
  return False
107
107
  destination_arn = destination["Configuration"]["FunctionArn"]
@@ -40,6 +40,10 @@ RUNTIME_CONFIG = {
40
40
  "Handler": "newrelic-lambda-wrapper.handler",
41
41
  "LambdaExtension": True,
42
42
  },
43
+ "nodejs22.x": {
44
+ "Handler": "newrelic-lambda-wrapper.handler",
45
+ "LambdaExtension": True,
46
+ },
43
47
  "provided": {"LambdaExtension": True},
44
48
  "provided.al2": {"LambdaExtension": True},
45
49
  "provided.al2023": {"LambdaExtension": True},
@@ -67,6 +71,10 @@ RUNTIME_CONFIG = {
67
71
  "Handler": "newrelic_lambda_wrapper.handler",
68
72
  "LambdaExtension": True,
69
73
  },
74
+ "python3.13": {
75
+ "Handler": "newrelic_lambda_wrapper.handler",
76
+ "LambdaExtension": True,
77
+ },
70
78
  "ruby3.2": {
71
79
  "Handler": "newrelic_lambda_wrapper.handler",
72
80
  "LambdaExtension": True,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: newrelic-lambda-cli
3
- Version: 0.9.3
3
+ Version: 0.9.5
4
4
  Summary: A CLI to install the New Relic AWS Lambda integration and layers.
5
5
  Home-page: https://github.com/newrelic/newrelic-lambda-cli
6
6
  Author: New Relic
@@ -11,14 +11,13 @@ License-File: LICENSE
11
11
  Requires-Dist: boto3<5
12
12
  Requires-Dist: click>=7.1.2
13
13
  Requires-Dist: colorama
14
- Requires-Dist: emoji<3,>=2
15
14
  Requires-Dist: gql<3,>=2
16
15
  Requires-Dist: requests<3
17
16
  Requires-Dist: tabulate
18
17
 
19
18
  [![Community Plus header](https://github.com/newrelic/opensource-website/raw/master/src/images/categories/Community_Plus.png)](https://opensource.newrelic.com/oss-category/#community-plus)
20
19
 
21
- # newrelic-lambda-cli [![Build Status](https://circleci.com/gh/newrelic/newrelic-lambda-cli.svg?style=svg)](https://circleci.com/gh/newrelic/newrelic-lambda-cli) [![Coverage](https://codecov.io/gh/newrelic/newrelic-lambda-cli/branch/master/graph/badge.svg?token=1Rl7h0O1JJ)](https://codecov.io/gh/newrelic/newrelic-lambda-cli)
20
+ # newrelic-lambda-cli [![Build Status](https://github.com/newrelic/newrelic-lambda-cli/actions/workflows/build-test-release.yml/badge.svg)](https://github.com/newrelic/newrelic-lambda-cli/actions/workflows/build-test-release.yml) [![Coverage](https://codecov.io/gh/newrelic/newrelic-lambda-cli/branch/master/graph/badge.svg?token=1Rl7h0O1JJ)](https://codecov.io/gh/newrelic/newrelic-lambda-cli)
22
21
 
23
22
  A CLI to install the New Relic AWS Lambda integration and layers.
24
23
 
@@ -64,6 +63,7 @@ A CLI to install the New Relic AWS Lambda integration and layers.
64
63
  * nodejs16.x
65
64
  * nodejs18.x
66
65
  * nodejs20.x
66
+ * nodejs22.x
67
67
  * provided
68
68
  * provided.al2
69
69
  * provided.al2023
@@ -73,6 +73,7 @@ A CLI to install the New Relic AWS Lambda integration and layers.
73
73
  * python3.10
74
74
  * python3.11
75
75
  * python3.12
76
+ * python3.13
76
77
  * ruby3.2
77
78
  * ruby3.3
78
79
 
@@ -377,7 +378,7 @@ Using these together will auto format your git commits.
377
378
  ## Running Tests
378
379
 
379
380
  ```bash
380
- python setup.py test
381
+ pytest tests
381
382
  ```
382
383
 
383
384
  ## Troubleshooting
@@ -1,14 +1,14 @@
1
1
  newrelic_lambda_cli/__init__.py,sha256=u4cy7hwbrNjK3xtldGQD_51aoNgSqGQ3IzFYsuvaIM4,149
2
2
  newrelic_lambda_cli/api.py,sha256=b75XwylRhW9pcA6aZ9EjBW1yIFOGHhhULDD5hNhMyes,15065
3
- newrelic_lambda_cli/cliutils.py,sha256=x2pWlL3DJ9t98QNElp_rhawNQoIZ0vd55R2jpo3_oI0,902
3
+ newrelic_lambda_cli/cliutils.py,sha256=XDtvTlgbf2uVg01yCJrfJmmgxbF0nIL9x58ETyvefk8,685
4
4
  newrelic_lambda_cli/functions.py,sha256=p57ZUw424BaSUA_Gw8DrYsJOYKROEHEaXgARadqwcP0,2800
5
5
  newrelic_lambda_cli/integrations.py,sha256=r0gxfEqVHTGu3xbr4dOCDwm0-Yhoz3KntfeQRWvoWrQ,31266
6
6
  newrelic_lambda_cli/layers.py,sha256=7ntl48RVEoRO4iiD3yzsxgqNkx013vXO5wQuoP6M0-I,14805
7
7
  newrelic_lambda_cli/otel_ingestions.py,sha256=vi1Mlfc9nRvRWV7STwK7fDXZGozG8ufKohmpHcaWGic,9250
8
8
  newrelic_lambda_cli/permissions.py,sha256=H7v5IMpKaJIWC4Dff2YcTis4BKAAFIJr9IHWUj1LnF4,9093
9
- newrelic_lambda_cli/subscriptions.py,sha256=RDg5x_IajnZy2BzcONk1ZaLbb17XYLLNv6xJH1SBPcg,9533
9
+ newrelic_lambda_cli/subscriptions.py,sha256=-BYkltqiDLdmhUB_Ot4w-5vvrKcQC6aHcTBLl1mlUlI,9564
10
10
  newrelic_lambda_cli/types.py,sha256=z4K_ALDhF-iOKpyQUekbzETa586mr9bMpK9RCuffVQ8,3293
11
- newrelic_lambda_cli/utils.py,sha256=dYcSFZj7Mpgr5f8YSaAjt80N1q9akcOj1_puL8iRHak,5324
11
+ newrelic_lambda_cli/utils.py,sha256=10jrSm7FO2uXIN1dFCyfeV75yZVc26snNx-TCYHnq84,5552
12
12
  newrelic_lambda_cli/cli/__init__.py,sha256=FciF2RVqQbpMKqEiN8qjO6qmdLB6Yv8LyyyPYcfJNrc,622
13
13
  newrelic_lambda_cli/cli/decorators.py,sha256=a3agkVfy8omkUSL4aKblwSX95xtxYOGASULDYcJDPHk,1786
14
14
  newrelic_lambda_cli/cli/functions.py,sha256=RSh2Cowe1_oQup8q5YRidp03z-BITo2uzvDh4zvLr4I,2601
@@ -19,9 +19,9 @@ newrelic_lambda_cli/cli/subscriptions.py,sha256=bUupv5iv3mUkC8t31nnI3BahoKxDnUJ8
19
19
  newrelic_lambda_cli/templates/import-template.yaml,sha256=0r1yeoqpnqtEMggWomALkPG10NiANPWWBqz03rChch8,3771
20
20
  newrelic_lambda_cli/templates/license-key-secret.yaml,sha256=ZldQaLXsyF1K2I4X_AsLdH7kRmLkPUYI3talmhqQyHg,1849
21
21
  newrelic_lambda_cli/templates/nr-lambda-integration-role.yaml,sha256=s7T73B_k-mAwgzJrD2xn8YGUNgn2E1V7Exifrl81ViU,2874
22
- newrelic_lambda_cli-0.9.3.dist-info/LICENSE,sha256=uuxDzQm0yfq_tNZX0tQYzsZUVRIF0jm3dBLZUojSYzI,11345
23
- newrelic_lambda_cli-0.9.3.dist-info/METADATA,sha256=izwIavIZMu-SUxSO7V8QRvihAmqwSn4OuQo4EMl1Qk4,26815
24
- newrelic_lambda_cli-0.9.3.dist-info/WHEEL,sha256=M4n4zmFKzQZk4mLCcycNIzIXO7YPKE_b5Cw4PnhHEg8,109
25
- newrelic_lambda_cli-0.9.3.dist-info/entry_points.txt,sha256=iks2k9Y4WNgIecsDzreIvMV9pGCjwwKTf33LKKvl2A8,65
26
- newrelic_lambda_cli-0.9.3.dist-info/top_level.txt,sha256=dxX2w58VgSUFiPD8C_lFuY-T2C1kjfeY0xi8iTh0r44,20
27
- newrelic_lambda_cli-0.9.3.dist-info/RECORD,,
22
+ newrelic_lambda_cli-0.9.5.dist-info/LICENSE,sha256=uuxDzQm0yfq_tNZX0tQYzsZUVRIF0jm3dBLZUojSYzI,11345
23
+ newrelic_lambda_cli-0.9.5.dist-info/METADATA,sha256=s3NWOafSdD8gtteqSRgjxjYWspt_Owu1ytnGbrAh9yY,26874
24
+ newrelic_lambda_cli-0.9.5.dist-info/WHEEL,sha256=pxeNX5JdtCe58PUSYP9upmc7jdRPgvT0Gm9kb1SHlVw,109
25
+ newrelic_lambda_cli-0.9.5.dist-info/entry_points.txt,sha256=iks2k9Y4WNgIecsDzreIvMV9pGCjwwKTf33LKKvl2A8,65
26
+ newrelic_lambda_cli-0.9.5.dist-info/top_level.txt,sha256=dxX2w58VgSUFiPD8C_lFuY-T2C1kjfeY0xi8iTh0r44,20
27
+ newrelic_lambda_cli-0.9.5.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (72.2.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any