Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(logging): add new aws_logging_cloudwatch package and generate cloudwatch sdk #3441

Conversation

NikaHsn
Copy link
Member

@NikaHsn NikaHsn commented Jul 19, 2023

Issue #, if available:

Description of changes:

setup a new package for cloudwatch logging:

  • create a new aws_logging_cloudwatch packge with aft create.
  • add sdk.yaml file for cloudwatch logs apis.
  • updated pubspec.yaml to add dependencies
  • generate cloudwatch sdk with aft generate sdk.

P.S. sdk.yaml file is manually added, pubspec.yaml is updated, and rest are autogenerated codes.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@NikaHsn NikaHsn requested a review from a team as a code owner July 19, 2023 22:03

dev_dependencies:
amplify_lints: ^2.0.0
build_runner: ^2.0.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you run aft constraints apply?

Comment on lines 4 to 5
- com.amazonaws.cloudwatchlogs#DescribeLogGroups
- com.amazonaws.cloudwatchlogs#DescribeLogStreams
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these needed in the main pkg or just for tests?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they maybe needed for the main pkg, depends if we need to call DescribeLogGroups/DescribeLogStreams to check if they exists. I think it is best to remove them now and we add when we are sure we need them.

@dnys1 dnys1 added the pr:squash PR should be submitted with a sqaush commit label Jul 20, 2023
@Jordan-Nelson Jordan-Nelson self-assigned this Jul 20, 2023
@NikaHsn NikaHsn merged commit 4def22d into aws-amplify:feat/logging/cloudwatch Jul 21, 2023
NikaHsn added a commit that referenced this pull request Aug 2, 2023
…oudwatch sdk (#3441)

* add a new dart package with aft create

* add cloudwatch sdk

* update dependencies constraint in pubspec files

* update sdk.yaml file to remove unused apis
khatruong2009 pushed a commit to khatruong2009/amplify-flutter that referenced this pull request Aug 3, 2023
…oudwatch sdk (aws-amplify#3441)

* add a new dart package with aft create

* add cloudwatch sdk

* update dependencies constraint in pubspec files

* update sdk.yaml file to remove unused apis
khatruong2009 pushed a commit to khatruong2009/amplify-flutter that referenced this pull request Aug 18, 2023
…oudwatch sdk (aws-amplify#3441)

* add a new dart package with aft create

* add cloudwatch sdk

* update dependencies constraint in pubspec files

* update sdk.yaml file to remove unused apis
khatruong2009 pushed a commit that referenced this pull request Nov 27, 2023
…oudwatch sdk (#3441)

* add a new dart package with aft create

* add cloudwatch sdk

* update dependencies constraint in pubspec files

* update sdk.yaml file to remove unused apis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:squash PR should be submitted with a sqaush commit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants