-   Notifications  You must be signed in to change notification settings 
- Fork 5.8k
Adding Glacier examples. #2303
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
Adding Glacier examples. #2303
Conversation
| // SPDX-License-Identifier: Apache-2.0 | ||
|  | ||
| /// <summary> | ||
| /// Add tags to an Amazon Glacier vault. This example was created using the | 
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.
Amazon Simple Storage Service Glacier on first use.
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.
Fixed
| // SPDX-License-Identifier: Apache-2.0 | ||
|  | ||
| /// <summary> | ||
| /// This example creates an Amazon Glacier vault. It was created using the | 
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.
Amazon Simple Storage Service Glacier on first use.
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.
Fixed
| // SPDX-License-Identifier: Apache-2.0 | ||
|  | ||
| /// <summary> | ||
| /// Retrieve and display information about an Amazon Glacier vault. It was | 
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.
Amazon Simple Storage Service Glacier on first use.
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.
Fixed
| // SPDX-License-Identifier: Apache-2.0 | ||
|  | ||
| /// <summary> | ||
| /// Download an Amazon Glacier archive using the high level API. This example | 
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.
Amazon Simple Storage Service Glacier on first use.
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.
fixed
| // SPDX-License-Identifier: Apache-2.0 | ||
|  | ||
| /// <summary> | ||
| /// List the Amazon Glacier jobs for a vault. This example was created using | 
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.
Amazon Simple Storage Service Glacier on first use.
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.
Fixed
|  | ||
| var request = new ListTagsForVaultRequest | ||
| { | ||
| AccountId = "-", | 
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.
Same as previous comment.
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.
As before, this is correct, so I added a comment explaining why.
| } | ||
| else | ||
| { | ||
| Console.WriteLine($"{vaultName} has not tags."); | 
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.
no tags?
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.
Thanks for catching that. Fixed.
| // SPDX-License-Identifier: Apache-2.0 | ||
|  | ||
| /// <summary> | ||
| /// Uses the Amazon Amazon Glacier Service to retrieve a list of the vaults | 
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.
Amazon Simple Storage Service Glacier on first use.
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.
fixed
| /// <summary> | ||
| /// Uses the Amazon Amazon Glacier Service to retrieve a list of the vaults | ||
| /// that belong to the default user. As it was written, it shows the vaults | ||
| /// that ar in the same aWS Regioin as the default user. If you want to show | 
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.
are in the same AWS Region
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.
fixed
| // SPDX-License-Identifier: Apache-2.0 | ||
|  | ||
| /// <summary> | ||
| /// Upload a file to an Amazon Glacier vault. This example was created with | 
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.
Amazon Simple Storage Service Glacier on first use.
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.
fixed
aws-doc-sdk-examples Pull Request
New SDK Code Example
The submitter has:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.