-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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(kinesis): grantRead
now allows the ListShards
action and grant
is now public
#6141
feat(kinesis): grantRead
now allows the ListShards
action and grant
is now public
#6141
Conversation
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
@reillykw Thanks for this PR! Yes I will get to it soon promptly 👍 |
@reillykw You mentioned in the PR description that this adds (Also notice the changes I made to the PR description and title) |
ListShards
to actions in grantRead
and make grant
public
ListShards
to actions in grantRead
and make grant
publicgrantRead
now allows the ListShards
action and grant
is now public
@reillykw Can you please add a small section in the package README about the grant methods? I just noticed we don't actually have it and it would be nice to list out the various actions we are allowing with those methods. |
I reverted that change locally as write doesn't need listShards for write capabilities. I'll add a section to the README soon, thanks. |
@iliapolo Added documentation to the README, let me know if that is sufficient. Thanks! |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
…PIs, writes to include ListShards
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just want to make sure about the removal of DescribeStream
from the grantRead
. Other than that im good with all the changes.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Commit Message
grant()
method on the class is private, preventing custom actions on attached policy. This makes that public.grantRead()
API now hasListShards
,DescribeStreamSummary
, orSubscribeToShard
permissionsgrantWrite()
API no longer hasDescribeStream
permissions as it has been replaced byListShards
for shard discovery.Rationale: Align with the Kinesis Producer Library
Closes #3357
BREAKING CHANGE:
grantWrite()
API no longer hasDescribeStream
permissions as it has been replaced byListShards
for shard discoveryEnd Commit Message
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license