-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Add Kotlin Glue and other Services for the AWS SDK for Kotlin #3008
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
Conversation
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.
Editorial comments
* Prior to running this code example, create an Amazon DynamoDB table named Contact with this column: | ||
* 1. id - The id of the record that is the key |
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.
- Before running this code example, create an Amazon DynamoDB table named Contact with the following column:
-
- id - The id of the record that is the key.
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
* | ||
* Also, ensure that you have set up your development environment, including your credentials. | ||
* | ||
* For information, see this documentation topic: |
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.
For more information, see the following documentation topic:
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
* 1. id - The id of the record that is the key | ||
* | ||
* | ||
* Also, ensure that you have set up your development environment, including your credentials. |
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.
- You should also set up your development environment, including your credentials.
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
try { | ||
DynamoDbTable<Contact> contactTable = (DynamoDbTable<Contact>) enhancedClient.table("Contact", TableSchema.fromBean(Contact.class)); | ||
|
||
// Create a list |
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.
add ending punctuation
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
names.add("LAM"); | ||
names.add("Madison"); | ||
|
||
// Populate the Table |
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.
// Populate the table.
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
kotlin/services/kendra/Readme.md
Outdated
@@ -0,0 +1,66 @@ | |||
# Amazon Kendra code examples for the AWS SDK for Kotlin |
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 Kendra code examples for the SDK for Kotlin
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
kotlin/services/kendra/Readme.md
Outdated
# Amazon Kendra code examples for the AWS SDK for Kotlin | ||
|
||
## Overview | ||
This README discusses how to run and test the Kotlin code examples for Amazon Kendra. |
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.
Kotlin --> AWS SDK for Kotlin
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
kotlin/services/kendra/Readme.md
Outdated
- **indexName** - The name for the new index. | ||
- **dataSourceName** - The name for the new data source. | ||
- **indexDescription** - The description for the index. | ||
- **indexRoleArn** – An Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. |
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.
Identity and Access Management (IAM) --> AWS Identity and Access Management (IAM)
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
kotlin/services/kendra/Readme.md
Outdated
- **s3BucketName** - An Amazon S3 bucket name used as your data source. | ||
- **dataSourceDescription** – A description for the data source. | ||
- **text** – The text used to perform a query operation. | ||
- **dataSourceRoleArn** – The ARN of am IAM role with permission to access the data source. |
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.
- dataSourceRoleArn – The Amazon Resource Name (ARN) of an IAM role with permission to access the data source.
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
kotlin/services/kendra/Readme.md
Outdated
- **dataSourceRoleArn** – The ARN of am IAM role with permission to access the data source. | ||
|
||
## Additional resources | ||
* [Developer guide - AWS SDK for Kotlin](https://docs.aws.amazon.com/sdk-for-kotlin/latest/developer-guide/setup.html). |
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.
Capitalize "Guide"
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
Thank you for making a submission to the aws-doc-sdk-examples repository. For more information about submitting pull requests to this repository, see Guidelines for contributing.
NOTE: This PR template contains three sections. Depending on the reason for your pull request, please fill out the section that applies to you and then remove the other two sections.
New SDK Code Example
The submitter has:
Existing Example Update
The submitter has:
Resolve Issue
Issue #
Description of Changes
Please describe the changes you have made here.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.