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

Add commands for S3 logging endpoints #9

Merged
merged 1 commit into from
Mar 20, 2020
Merged

Conversation

phamann
Copy link
Member

@phamann phamann commented Mar 19, 2020

TL;DR

Adds CRUD commands for Amazon S3 logging endpoints.

@phamann phamann requested a review from peterbourgon March 19, 2020 15:18
@phamann phamann force-pushed the phamann/s3-logging branch from 7f51ba7 to 79428bd Compare March 19, 2020 15:19
Copy link
Contributor

@peterbourgon peterbourgon left a comment

Choose a reason for hiding this comment

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

Man oh man that's some CRUD isn't it...

@@ -115,7 +115,7 @@ func TestBigQueryList(t *testing.T) {
}
}

func TestBiogQueryDescribe(t *testing.T) {
func TestBigQueryDescribe(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

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

😅

c.Input.ServerSideEncryption = fastly.S3ServerSideEncryptionAES
case string(fastly.S3ServerSideEncryptionKMS):
c.Input.ServerSideEncryption = fastly.S3ServerSideEncryptionKMS
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the zero value of these fields meaningful when the Input goes to the Fastly API?

Copy link
Member Author

Choose a reason for hiding this comment

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

Are you asking due to the lack of a default case? The empty string zero value is correct/valid in the API if no value is passed via user.

@phamann phamann force-pushed the phamann/s3-logging branch from 79428bd to 7af7437 Compare March 20, 2020 15:55
@phamann phamann merged commit 3b6f710 into master Mar 20, 2020
@phamann phamann deleted the phamann/s3-logging branch March 20, 2020 16:01
@phamann phamann added the enhancement New feature or request label Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants