diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/AmazonComprehend.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/AmazonComprehend.java index fc6d9b946c..04d3a53c05 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/AmazonComprehend.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/AmazonComprehend.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -237,7 +237,7 @@ BatchDetectSyntaxResult batchDetectSyntax(BatchDetectSyntaxRequest batchDetectSy *
* For more information about targeted sentiment, see Targeted sentiment. + * >Targeted sentiment in the Amazon Comprehend Developer Guide. *
* * @param batchDetectTargetedSentimentRequest @@ -263,17 +263,37 @@ BatchDetectTargetedSentimentResult batchDetectTargetedSentiment( /** *
- * Creates a new document classification request to analyze a single
- * document in real-time, using a previously created and trained custom
- * model and an endpoint.
+ * Creates a classification request to analyze a single document in
+ * real-time. ClassifyDocument
supports the following model
+ * types:
*
- * You can input plain text or you can upload a single-page input document - * (text, PDF, Word, or image). + * Custom classifier - a custom model that you have created and trained. For + * input, you can provide plain text, a single-page document (PDF, Word, or + * image), or Amazon Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer + * Guide. *
+ *
+ * Prompt safety classifier - Amazon Comprehend provides a pre-trained model
+ * for classifying input prompts for generative AI applications. For input,
+ * you provide English plain text input. For prompt safety classification,
+ * the response includes only the Classes
field. For more
+ * information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer
+ * Guide.
+ *
* If the system detects errors while processing a page in the input
- * document, the API response includes an entry in Errors
that
+ * document, the API response includes an Errors
field that
* describes the errors.
*
@@ -1263,7 +1283,7 @@ DetectSyntaxResult detectSyntax(DetectSyntaxRequest detectSyntaxRequest) *
* For more information about targeted sentiment, see Targeted sentiment. + * >Targeted sentiment in the Amazon Comprehend Developer Guide. *
* * @param detectTargetedSentimentRequest @@ -1286,6 +1306,34 @@ DetectTargetedSentimentResult detectTargetedSentiment( DetectTargetedSentimentRequest detectTargetedSentimentRequest) throws AmazonClientException, AmazonServiceException; + /** + *+ * Performs toxicity analysis on the list of text strings that you provide + * as input. The API response contains a results list that matches the size + * of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide. + *
+ * + * @param detectToxicContentRequest + * @return detectToxicContentResult The response from the DetectToxicContent + * service method, as returned by Amazon Comprehend. + * @throws InvalidRequestException + * @throws TextSizeLimitExceededException + * @throws UnsupportedLanguageException + * @throws InternalServerException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Comprehend indicating either a problem with the data in the + * request, or a server side issue. + */ + DetectToxicContentResult detectToxicContent(DetectToxicContentRequest detectToxicContentRequest) + throws AmazonClientException, AmazonServiceException; + /** ** Creates a new custom model that replicates a source custom model that you @@ -1815,7 +1863,8 @@ PutResourcePolicyResult putResourcePolicy(PutResourcePolicyRequest putResourcePo /** *
- * Starts an asynchronous document classification job. Use the
+ * Starts an asynchronous document classification job using a custom
+ * classification model. Use the
* DescribeDocumentClassificationJob
operation to track the
* progress of the job.
*
* For more information about targeted sentiment, see Targeted sentiment. + * >Targeted sentiment in the Amazon Comprehend Developer Guide. *
* * @param batchDetectTargetedSentimentRequest @@ -383,7 +383,7 @@ Future* For more information about targeted sentiment, see Targeted sentiment. + * >Targeted sentiment in the Amazon Comprehend Developer Guide. *
* * @param batchDetectTargetedSentimentRequest @@ -414,17 +414,37 @@ Future
- * Creates a new document classification request to analyze a single
- * document in real-time, using a previously created and trained custom
- * model and an endpoint.
+ * Creates a classification request to analyze a single document in
+ * real-time. ClassifyDocument
supports the following model
+ * types:
*
- * You can input plain text or you can upload a single-page input document - * (text, PDF, Word, or image). + * Custom classifier - a custom model that you have created and trained. For + * input, you can provide plain text, a single-page document (PDF, Word, or + * image), or Amazon Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer + * Guide. *
+ *
+ * Prompt safety classifier - Amazon Comprehend provides a pre-trained model
+ * for classifying input prompts for generative AI applications. For input,
+ * you provide English plain text input. For prompt safety classification,
+ * the response includes only the Classes
field. For more
+ * information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer
+ * Guide.
+ *
* If the system detects errors while processing a page in the input
- * document, the API response includes an entry in Errors
that
+ * document, the API response includes an Errors
field that
* describes the errors.
*
@@ -458,17 +478,37 @@ Future
- * Creates a new document classification request to analyze a single
- * document in real-time, using a previously created and trained custom
- * model and an endpoint.
+ * Creates a classification request to analyze a single document in
+ * real-time.
+ * Custom classifier - a custom model that you have created and trained. For
+ * input, you can provide plain text, a single-page document (PDF, Word, or
+ * image), or Amazon Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer
+ * Guide.
*
- * You can input plain text or you can upload a single-page input document
- * (text, PDF, Word, or image).
+ * Prompt safety classifier - Amazon Comprehend provides a pre-trained model
+ * for classifying input prompts for generative AI applications. For input,
+ * you provide English plain text input. For prompt safety classification,
+ * the response includes only the
* If the system detects errors while processing a page in the input
- * document, the API response includes an entry in
@@ -2600,7 +2640,7 @@ Future
* For more information about targeted sentiment, see Targeted sentiment.
+ * >Targeted sentiment in the Amazon Comprehend Developer Guide.
*
* For more information about targeted sentiment, see Targeted sentiment.
+ * >Targeted sentiment in the Amazon Comprehend Developer Guide.
*
+ * Performs toxicity analysis on the list of text strings that you provide
+ * as input. The API response contains a results list that matches the size
+ * of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide.
+ *
+ * Performs toxicity analysis on the list of text strings that you provide
+ * as input. The API response contains a results list that matches the size
+ * of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide.
+ *
* Creates a new custom model that replicates a source custom model that you
@@ -3819,7 +3924,8 @@ Future
- * Starts an asynchronous document classification job. Use the
+ * Starts an asynchronous document classification job using a custom
+ * classification model. Use the
*
- * Starts an asynchronous document classification job. Use the
+ * Starts an asynchronous document classification job using a custom
+ * classification model. Use the
*
* For more information about targeted sentiment, see Targeted sentiment.
+ * >Targeted sentiment in the Amazon Comprehend Developer Guide.
*
* For more information about targeted sentiment, see Targeted sentiment.
+ * >Targeted sentiment in the Amazon Comprehend Developer Guide.
*
- * Creates a new document classification request to analyze a single
- * document in real-time, using a previously created and trained custom
- * model and an endpoint.
- *
- * You can input plain text or you can upload a single-page input document
- * (text, PDF, Word, or image).
+ * Creates a classification request to analyze a single document in
+ * real-time.
+ * Custom classifier - a custom model that you have created and trained. For
+ * input, you can provide plain text, a single-page document (PDF, Word, or
+ * image), or Amazon Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer
+ * Guide.
+ *
+ * Prompt safety classifier - Amazon Comprehend provides a pre-trained model
+ * for classifying input prompts for generative AI applications. For input,
+ * you provide English plain text input. For prompt safety classification,
+ * the response includes only the
* If the system detects errors while processing a page in the input
- * document, the API response includes an entry in
@@ -788,17 +808,37 @@ public ClassifyDocumentResult call() throws Exception {
/**
*
- * Creates a new document classification request to analyze a single
- * document in real-time, using a previously created and trained custom
- * model and an endpoint.
- *
- * You can input plain text or you can upload a single-page input document
- * (text, PDF, Word, or image).
+ * Creates a classification request to analyze a single document in
+ * real-time.
+ * Custom classifier - a custom model that you have created and trained. For
+ * input, you can provide plain text, a single-page document (PDF, Word, or
+ * image), or Amazon Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer
+ * Guide.
+ *
+ * Prompt safety classifier - Amazon Comprehend provides a pre-trained model
+ * for classifying input prompts for generative AI applications. For input,
+ * you provide English plain text input. For prompt safety classification,
+ * the response includes only the
* If the system detects errors while processing a page in the input
- * document, the API response includes an entry in
@@ -3484,7 +3524,7 @@ public DetectSyntaxResult call() throws Exception {
*
* For more information about targeted sentiment, see Targeted sentiment.
+ * >Targeted sentiment in the Amazon Comprehend Developer Guide.
*
* For more information about targeted sentiment, see Targeted sentiment.
+ * >Targeted sentiment in the Amazon Comprehend Developer Guide.
*
+ * Performs toxicity analysis on the list of text strings that you provide
+ * as input. The API response contains a results list that matches the size
+ * of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide.
+ *
+ * Performs toxicity analysis on the list of text strings that you provide
+ * as input. The API response contains a results list that matches the size
+ * of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide.
+ *
* Creates a new custom model that replicates a source custom model that you
@@ -5045,7 +5166,8 @@ public PutResourcePolicyResult call() throws Exception {
/**
*
- * Starts an asynchronous document classification job. Use the
+ * Starts an asynchronous document classification job using a custom
+ * classification model. Use the
*
- * Starts an asynchronous document classification job. Use the
+ * Starts an asynchronous document classification job using a custom
+ * classification model. Use the
*
* For more information about targeted sentiment, see Targeted sentiment.
+ * >Targeted sentiment in the Amazon Comprehend Developer Guide.
*
- * Creates a new document classification request to analyze a single
- * document in real-time, using a previously created and trained custom
- * model and an endpoint.
+ * Creates a classification request to analyze a single document in
+ * real-time.
- * You can input plain text or you can upload a single-page input document
- * (text, PDF, Word, or image).
+ *
+ * Custom classifier - a custom model that you have created and trained. For
+ * input, you can provide plain text, a single-page document (PDF, Word, or
+ * image), or Amazon Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer
+ * Guide.
+ *
+ * Prompt safety classifier - Amazon Comprehend provides a pre-trained model
+ * for classifying input prompts for generative AI applications. For input,
+ * you provide English plain text input. For prompt safety classification,
+ * the response includes only the
* If the system detects errors while processing a page in the input
- * document, the API response includes an entry in
@@ -2607,7 +2627,7 @@ public DetectSyntaxResult detectSyntax(DetectSyntaxRequest detectSyntaxRequest)
*
* For more information about targeted sentiment, see Targeted sentiment.
+ * >Targeted sentiment in the Amazon Comprehend Developer Guide.
*
+ * Performs toxicity analysis on the list of text strings that you provide
+ * as input. The API response contains a results list that matches the size
+ * of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide.
+ *
* Creates a new custom model that replicates a source custom model that you
@@ -3723,7 +3799,8 @@ public PutResourcePolicyResult putResourcePolicy(
/**
*
- * Starts an asynchronous document classification job. Use the
+ * Starts an asynchronous document classification job using a custom
+ * classification model. Use the
*
* For more information about targeted sentiment, see Targeted sentiment.
+ * >Targeted sentiment in the Amazon Comprehend Developer Guide.
*
- * Creates a new document classification request to analyze a single document in
- * real-time, using a previously created and trained custom model and an
- * endpoint.
+ * Creates a classification request to analyze a single document in real-time.
+ *
- * You can input plain text or you can upload a single-page input document
- * (text, PDF, Word, or image).
+ * Custom classifier - a custom model that you have created and trained. For
+ * input, you can provide plain text, a single-page document (PDF, Word, or
+ * image), or Amazon Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer Guide.
*
+ * Prompt safety classifier - Amazon Comprehend provides a pre-trained model for
+ * classifying input prompts for generative AI applications. For input, you
+ * provide English plain text input. For prompt safety classification, the
+ * response includes only the
* If the system detects errors while processing a page in the input document,
- * the API response includes an entry in
@@ -56,26 +74,44 @@ public class ClassifyDocumentRequest extends AmazonWebServiceRequest implements
/**
*
- * The Amazon Resource Number (ARN) of the endpoint. For information about
- * endpoints, see Managing endpoints.
+ * The Amazon Resource Number (ARN) of the endpoint.
+ *
+ * For prompt safety classification, Amazon Comprehend provides the endpoint
+ * ARN. For more information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer
+ * Guide
+ *
+ * For custom classification, you create an endpoint for your custom model.
+ * For more information, see Using Amazon Comprehend endpoints.
*
* Constraints:
* Use the
+ * When you classify a document using a custom model, you can also use the
+ *
+ * To classify a document using the prompt safety classifier, use the
+ *
* Provide the input document as a sequence of base64-encoded bytes. If your
@@ -169,23 +205,44 @@ public ClassifyDocumentRequest withText(String text) {
/**
*
- * The Amazon Resource Number (ARN) of the endpoint. For information about
- * endpoints, see Managing endpoints.
+ * The Amazon Resource Number (ARN) of the endpoint.
+ *
+ * For prompt safety classification, Amazon Comprehend provides the endpoint
+ * ARN. For more information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer
+ * Guide
+ *
+ * For custom classification, you create an endpoint for your custom model.
+ * For more information, see Using Amazon Comprehend endpoints.
*
* Constraints:
- * The Amazon Resource Number (ARN) of the endpoint. For information
- * about endpoints, see Managing endpoints.
+ * The Amazon Resource Number (ARN) of the endpoint.
+ *
+ * For prompt safety classification, Amazon Comprehend provides the
+ * endpoint ARN. For more information about prompt safety
+ * classifiers, see Prompt safety classification in the Amazon Comprehend
+ * Developer Guide
+ *
+ * For custom classification, you create an endpoint for your custom
+ * model. For more information, see Using Amazon Comprehend endpoints.
*
- * The Amazon Resource Number (ARN) of the endpoint. For information about
- * endpoints, see Managing endpoints.
+ * The Amazon Resource Number (ARN) of the endpoint.
+ *
+ * For prompt safety classification, Amazon Comprehend provides the endpoint
+ * ARN. For more information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer
+ * Guide
+ *
+ * For custom classification, you create an endpoint for your custom model.
+ * For more information, see Using Amazon Comprehend endpoints.
*
* Constraints:
- * The Amazon Resource Number (ARN) of the endpoint. For
- * information about endpoints, see Managing endpoints.
+ * The Amazon Resource Number (ARN) of the endpoint.
+ *
+ * For prompt safety classification, Amazon Comprehend provides
+ * the endpoint ARN. For more information about prompt safety
+ * classifiers, see Prompt safety classification in the Amazon Comprehend
+ * Developer Guide
+ *
+ * For custom classification, you create an endpoint for your
+ * custom model. For more information, see Using Amazon Comprehend endpoints.
*
- * The Amazon Resource Number (ARN) of the endpoint. For information about
- * endpoints, see Managing endpoints.
+ * The Amazon Resource Number (ARN) of the endpoint.
+ *
+ * For prompt safety classification, Amazon Comprehend provides the endpoint
+ * ARN. For more information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer
+ * Guide
+ *
+ * For custom classification, you create an endpoint for your custom model.
+ * For more information, see Using Amazon Comprehend endpoints.
*
* Returns a reference to this object so that method calls can be chained
@@ -231,14 +319,25 @@ public void setEndpointArn(String endpointArn) {
* Constraints:
- * The Amazon Resource Number (ARN) of the endpoint. For
- * information about endpoints, see Managing endpoints.
+ * The Amazon Resource Number (ARN) of the endpoint.
+ *
+ * For prompt safety classification, Amazon Comprehend provides
+ * the endpoint ARN. For more information about prompt safety
+ * classifiers, see Prompt safety classification in the Amazon Comprehend
+ * Developer Guide
+ *
+ * For custom classification, you create an endpoint for your
+ * custom model. For more information, see Using Amazon Comprehend endpoints.
*
* Use the
+ * When you classify a document using a custom model, you can also use the
+ *
+ * To classify a document using the prompt safety classifier, use the
+ *
* Provide the input document as a sequence of base64-encoded bytes. If your
@@ -277,9 +384,17 @@ public ClassifyDocumentRequest withEndpointArn(String endpointArn) {
*
* @return
* Use the
+ * When you classify a document using a custom model, you can also
+ * use the
+ * To classify a document using the prompt safety classifier, use
+ * the
* Provide the input document as a sequence of base64-encoded bytes.
@@ -305,9 +420,17 @@ public java.nio.ByteBuffer getBytes() {
/**
*
* Use the
+ * When you classify a document using a custom model, you can also use the
+ *
+ * To classify a document using the prompt safety classifier, use the
+ *
* Provide the input document as a sequence of base64-encoded bytes. If your
@@ -331,12 +454,19 @@ public java.nio.ByteBuffer getBytes() {
*
* @param bytes
* Use the
+ * When you classify a document using a custom model, you can
+ * also use the
+ * To classify a document using the prompt safety classifier, use
+ * the
* Provide the input document as a sequence of base64-encoded
* bytes. If your code uses an Amazon Web Services SDK to
* classify documents, the SDK may encode the document file bytes
@@ -361,9 +491,17 @@ public void setBytes(java.nio.ByteBuffer bytes) {
/**
*
* Use the
+ * When you classify a document using a custom model, you can also use the
+ *
+ * To classify a document using the prompt safety classifier, use the
+ *
* Provide the input document as a sequence of base64-encoded bytes. If your
@@ -390,12 +528,19 @@ public void setBytes(java.nio.ByteBuffer bytes) {
*
* @param bytes
* Use the
+ * When you classify a document using a custom model, you can
+ * also use the
+ * To classify a document using the prompt safety classifier, use
+ * the
* Provide the input document as a sequence of base64-encoded
* bytes. If your code uses an Amazon Web Services SDK to
* classify documents, the SDK may encode the document file bytes
diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ClassifyDocumentResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ClassifyDocumentResult.java
index e377419b70..d95429b7b1 100644
--- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ClassifyDocumentResult.java
+++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ClassifyDocumentResult.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -21,16 +21,23 @@ public class ClassifyDocumentResult implements Serializable {
/**
*
* The classes used by the document being analyzed. These are used for
- * multi-class trained models. Individual classes are mutually exclusive and
- * each document is expected to have only a single class assigned to it. For
- * example, an animal can be a dog or a cat, but not both at the same time.
+ * models trained in multi-class mode. Individual classes are mutually
+ * exclusive and each document is expected to have only a single class
+ * assigned to it. For example, an animal can be a dog or a cat, but not
+ * both at the same time.
+ *
+ * For prompt safety classification, the response includes only two classes
+ * (SAFE_PROMPT and UNSAFE_PROMPT), along with a confidence score for each
+ * class. The value range of the score is zero to one, where one is the
+ * highest confidence.
*
- * The labels used the document being analyzed. These are used for
+ * The labels used in the document being analyzed. These are used for
* multi-label trained models. Individual labels represent different
* categories that are related in some manner and are not mutually
* exclusive. For example, a movie can be just an action movie, or it can be
@@ -82,17 +89,30 @@ public class ClassifyDocumentResult implements Serializable {
/**
*
* The classes used by the document being analyzed. These are used for
- * multi-class trained models. Individual classes are mutually exclusive and
- * each document is expected to have only a single class assigned to it. For
- * example, an animal can be a dog or a cat, but not both at the same time.
+ * models trained in multi-class mode. Individual classes are mutually
+ * exclusive and each document is expected to have only a single class
+ * assigned to it. For example, an animal can be a dog or a cat, but not
+ * both at the same time.
+ *
+ * For prompt safety classification, the response includes only two classes
+ * (SAFE_PROMPT and UNSAFE_PROMPT), along with a confidence score for each
+ * class. The value range of the score is zero to one, where one is the
+ * highest confidence.
*
* The classes used by the document being analyzed. These are used
- * for multi-class trained models. Individual classes are mutually
- * exclusive and each document is expected to have only a single
- * class assigned to it. For example, an animal can be a dog or a
- * cat, but not both at the same time.
+ * for models trained in multi-class mode. Individual classes are
+ * mutually exclusive and each document is expected to have only a
+ * single class assigned to it. For example, an animal can be a dog
+ * or a cat, but not both at the same time.
+ *
+ * For prompt safety classification, the response includes only two
+ * classes (SAFE_PROMPT and UNSAFE_PROMPT), along with a confidence
+ * score for each class. The value range of the score is zero to
+ * one, where one is the highest confidence.
*
* The classes used by the document being analyzed. These are used for
- * multi-class trained models. Individual classes are mutually exclusive and
- * each document is expected to have only a single class assigned to it. For
- * example, an animal can be a dog or a cat, but not both at the same time.
+ * models trained in multi-class mode. Individual classes are mutually
+ * exclusive and each document is expected to have only a single class
+ * assigned to it. For example, an animal can be a dog or a cat, but not
+ * both at the same time.
+ *
+ * For prompt safety classification, the response includes only two classes
+ * (SAFE_PROMPT and UNSAFE_PROMPT), along with a confidence score for each
+ * class. The value range of the score is zero to one, where one is the
+ * highest confidence.
*
* The classes used by the document being analyzed. These are
- * used for multi-class trained models. Individual classes are
- * mutually exclusive and each document is expected to have only
- * a single class assigned to it. For example, an animal can be a
- * dog or a cat, but not both at the same time.
+ * used for models trained in multi-class mode. Individual
+ * classes are mutually exclusive and each document is expected
+ * to have only a single class assigned to it. For example, an
+ * animal can be a dog or a cat, but not both at the same time.
+ *
+ * For prompt safety classification, the response includes only
+ * two classes (SAFE_PROMPT and UNSAFE_PROMPT), along with a
+ * confidence score for each class. The value range of the score
+ * is zero to one, where one is the highest confidence.
*
* The classes used by the document being analyzed. These are used for
- * multi-class trained models. Individual classes are mutually exclusive and
- * each document is expected to have only a single class assigned to it. For
- * example, an animal can be a dog or a cat, but not both at the same time.
+ * models trained in multi-class mode. Individual classes are mutually
+ * exclusive and each document is expected to have only a single class
+ * assigned to it. For example, an animal can be a dog or a cat, but not
+ * both at the same time.
+ *
+ * For prompt safety classification, the response includes only two classes
+ * (SAFE_PROMPT and UNSAFE_PROMPT), along with a confidence score for each
+ * class. The value range of the score is zero to one, where one is the
+ * highest confidence.
*
* Returns a reference to this object so that method calls can be chained
@@ -137,10 +177,16 @@ public void setClasses(java.util.Collection
* The classes used by the document being analyzed. These are
- * used for multi-class trained models. Individual classes are
- * mutually exclusive and each document is expected to have only
- * a single class assigned to it. For example, an animal can be a
- * dog or a cat, but not both at the same time.
+ * used for models trained in multi-class mode. Individual
+ * classes are mutually exclusive and each document is expected
+ * to have only a single class assigned to it. For example, an
+ * animal can be a dog or a cat, but not both at the same time.
+ *
+ * For prompt safety classification, the response includes only
+ * two classes (SAFE_PROMPT and UNSAFE_PROMPT), along with a
+ * confidence score for each class. The value range of the score
+ * is zero to one, where one is the highest confidence.
*
* The classes used by the document being analyzed. These are used for
- * multi-class trained models. Individual classes are mutually exclusive and
- * each document is expected to have only a single class assigned to it. For
- * example, an animal can be a dog or a cat, but not both at the same time.
+ * models trained in multi-class mode. Individual classes are mutually
+ * exclusive and each document is expected to have only a single class
+ * assigned to it. For example, an animal can be a dog or a cat, but not
+ * both at the same time.
+ *
+ * For prompt safety classification, the response includes only two classes
+ * (SAFE_PROMPT and UNSAFE_PROMPT), along with a confidence score for each
+ * class. The value range of the score is zero to one, where one is the
+ * highest confidence.
*
* Returns a reference to this object so that method calls can be chained
@@ -168,10 +221,16 @@ public ClassifyDocumentResult withClasses(DocumentClass... classes) {
*
* @param classes
* The classes used by the document being analyzed. These are
- * used for multi-class trained models. Individual classes are
- * mutually exclusive and each document is expected to have only
- * a single class assigned to it. For example, an animal can be a
- * dog or a cat, but not both at the same time.
+ * used for models trained in multi-class mode. Individual
+ * classes are mutually exclusive and each document is expected
+ * to have only a single class assigned to it. For example, an
+ * animal can be a dog or a cat, but not both at the same time.
+ *
+ * For prompt safety classification, the response includes only
+ * two classes (SAFE_PROMPT and UNSAFE_PROMPT), along with a
+ * confidence score for each class. The value range of the score
+ * is zero to one, where one is the highest confidence.
*
- * The labels used the document being analyzed. These are used for
+ * The labels used in the document being analyzed. These are used for
* multi-label trained models. Individual labels represent different
* categories that are related in some manner and are not mutually
* exclusive. For example, a movie can be just an action movie, or it can be
@@ -192,12 +251,12 @@ public ClassifyDocumentResult withClasses(java.util.Collection
- * The labels used the document being analyzed. These are used for
- * multi-label trained models. Individual labels represent different
- * categories that are related in some manner and are not mutually
- * exclusive. For example, a movie can be just an action movie, or
- * it can be an action movie, a science fiction movie, and a comedy,
- * all at the same time.
+ * The labels used in the document being analyzed. These are used
+ * for multi-label trained models. Individual labels represent
+ * different categories that are related in some manner and are not
+ * mutually exclusive. For example, a movie can be just an action
+ * movie, or it can be an action movie, a science fiction movie, and
+ * a comedy, all at the same time.
*
- * The labels used the document being analyzed. These are used for
+ * The labels used in the document being analyzed. These are used for
* multi-label trained models. Individual labels represent different
* categories that are related in some manner and are not mutually
* exclusive. For example, a movie can be just an action movie, or it can be
@@ -215,7 +274,7 @@ public java.util.List
- * The labels used the document being analyzed. These are used
+ * The labels used in the document being analyzed. These are used
* for multi-label trained models. Individual labels represent
* different categories that are related in some manner and are
* not mutually exclusive. For example, a movie can be just an
@@ -234,7 +293,7 @@ public void setLabels(java.util.Collection
- * The labels used the document being analyzed. These are used for
+ * The labels used in the document being analyzed. These are used for
* multi-label trained models. Individual labels represent different
* categories that are related in some manner and are not mutually
* exclusive. For example, a movie can be just an action movie, or it can be
@@ -246,7 +305,7 @@ public void setLabels(java.util.Collection
- * The labels used the document being analyzed. These are used
+ * The labels used in the document being analyzed. These are used
* for multi-label trained models. Individual labels represent
* different categories that are related in some manner and are
* not mutually exclusive. For example, a movie can be just an
@@ -268,7 +327,7 @@ public ClassifyDocumentResult withLabels(DocumentLabel... labels) {
/**
*
- * The labels used the document being analyzed. These are used for
+ * The labels used in the document being analyzed. These are used for
* multi-label trained models. Individual labels represent different
* categories that are related in some manner and are not mutually
* exclusive. For example, a movie can be just an action movie, or it can be
@@ -280,7 +339,7 @@ public ClassifyDocumentResult withLabels(DocumentLabel... labels) {
* together.
*
* @param labels
- * The labels used the document being analyzed. These are used
+ * The labels used in the document being analyzed. These are used
* for multi-label trained models. Individual labels represent
* different categories that are related in some manner and are
* not mutually exclusive. For example, a movie can be just an
diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ConcurrentModificationException.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ConcurrentModificationException.java
index 66f70400d6..bfd6cd43ed 100644
--- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ConcurrentModificationException.java
+++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ConcurrentModificationException.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ContainsPiiEntitiesRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ContainsPiiEntitiesRequest.java
index f09f3963ee..b89b2d1e34 100644
--- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ContainsPiiEntitiesRequest.java
+++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ContainsPiiEntitiesRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -39,8 +39,7 @@ public class ContainsPiiEntitiesRequest extends AmazonWebServiceRequest implemen
/**
*
- * The language of the input documents. Currently, English is the only valid
- * language.
+ * The language of the input documents.
*
* Constraints:
- * The language of the input documents. Currently, English is the only valid
- * language.
+ * The language of the input documents.
*
* Constraints:
- * The language of the input documents. Currently, English is the
- * only valid language.
+ * The language of the input documents.
*
- * The language of the input documents. Currently, English is the only valid
- * language.
+ * The language of the input documents.
*
* Constraints:
- * The language of the input documents. Currently, English is the
- * only valid language.
+ * The language of the input documents.
*
- * The language of the input documents. Currently, English is the only valid
- * language.
+ * The language of the input documents.
*
* Returns a reference to this object so that method calls can be chained
@@ -153,8 +147,7 @@ public void setLanguageCode(String languageCode) {
* Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
*
* @param languageCode
- * The language of the input documents. Currently, English is the
- * only valid language.
+ * The language of the input documents.
*
- * The language of the input documents. Currently, English is the only valid
- * language.
+ * The language of the input documents.
*
* Constraints:
- * The language of the input documents. Currently, English is the
- * only valid language.
+ * The language of the input documents.
*
- * The language of the input documents. Currently, English is the only valid
- * language.
+ * The language of the input documents.
*
* Returns a reference to this object so that method calls can be chained
@@ -197,8 +187,7 @@ public void setLanguageCode(LanguageCode languageCode) {
* Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
*
* @param languageCode
- * The language of the input documents. Currently, English is the
- * only valid language.
+ * The language of the input documents.
*
* Specifies the location for the output files from a custom classifier job.
- * This parameter is required for a request that creates a native classifier
+ * This parameter is required for a request that creates a native document
* model.
*
* Indicates the mode in which the classifier will be trained. The
- * classifier can be trained in multi-class mode, which identifies one and
- * only one class for each document, or multi-label mode, which identifies
- * one or more labels for each document. In multi-label mode, multiple
- * labels for an individual document are separated by a delimiter. The
- * default delimiter between labels is a pipe (|).
+ * classifier can be trained in multi-class (single-label) mode or
+ * multi-label mode. Multi-class mode identifies a single class label for
+ * each document and multi-label mode identifies one or more class labels
+ * for each document. Multiple labels for an individual document are
+ * separated by a delimiter. The default delimiter between labels is a pipe
+ * (|).
*
* Constraints:
* Specifies the location for the output files from a custom classifier job.
- * This parameter is required for a request that creates a native classifier
+ * This parameter is required for a request that creates a native document
* model.
*
* Specifies the location for the output files from a custom
* classifier job. This parameter is required for a request that
- * creates a native classifier model.
+ * creates a native document model.
*
* Specifies the location for the output files from a custom classifier job.
- * This parameter is required for a request that creates a native classifier
+ * This parameter is required for a request that creates a native document
* model.
*
* Specifies the location for the output files from a custom
* classifier job. This parameter is required for a request that
- * creates a native classifier model.
+ * creates a native document model.
*
* Specifies the location for the output files from a custom classifier job.
- * This parameter is required for a request that creates a native classifier
+ * This parameter is required for a request that creates a native document
* model.
*
@@ -628,7 +629,7 @@ public void setOutputDataConfig(DocumentClassifierOutputDataConfig outputDataCon
* @param outputDataConfig
* Specifies the location for the output files from a custom
* classifier job. This parameter is required for a request that
- * creates a native classifier model.
+ * creates a native document model.
*
* Indicates the mode in which the classifier will be trained. The
- * classifier can be trained in multi-class mode, which identifies one and
- * only one class for each document, or multi-label mode, which identifies
- * one or more labels for each document. In multi-label mode, multiple
- * labels for an individual document are separated by a delimiter. The
- * default delimiter between labels is a pipe (|).
+ * classifier can be trained in multi-class (single-label) mode or
+ * multi-label mode. Multi-class mode identifies a single class label for
+ * each document and multi-label mode identifies one or more class labels
+ * for each document. Multiple labels for an individual document are
+ * separated by a delimiter. The default delimiter between labels is a pipe
+ * (|).
*
* Constraints:
* Indicates the mode in which the classifier will be trained. The
- * classifier can be trained in multi-class mode, which identifies
- * one and only one class for each document, or multi-label mode,
- * which identifies one or more labels for each document. In
- * multi-label mode, multiple labels for an individual document are
- * separated by a delimiter. The default delimiter between labels is
- * a pipe (|).
+ * classifier can be trained in multi-class (single-label) mode or
+ * multi-label mode. Multi-class mode identifies a single class
+ * label for each document and multi-label mode identifies one or
+ * more class labels for each document. Multiple labels for an
+ * individual document are separated by a delimiter. The default
+ * delimiter between labels is a pipe (|).
*
* Indicates the mode in which the classifier will be trained. The
- * classifier can be trained in multi-class mode, which identifies one and
- * only one class for each document, or multi-label mode, which identifies
- * one or more labels for each document. In multi-label mode, multiple
- * labels for an individual document are separated by a delimiter. The
- * default delimiter between labels is a pipe (|).
+ * classifier can be trained in multi-class (single-label) mode or
+ * multi-label mode. Multi-class mode identifies a single class label for
+ * each document and multi-label mode identifies one or more class labels
+ * for each document. Multiple labels for an individual document are
+ * separated by a delimiter. The default delimiter between labels is a pipe
+ * (|).
*
* Constraints:
* Indicates the mode in which the classifier will be trained.
- * The classifier can be trained in multi-class mode, which
- * identifies one and only one class for each document, or
- * multi-label mode, which identifies one or more labels for each
- * document. In multi-label mode, multiple labels for an
- * individual document are separated by a delimiter. The default
- * delimiter between labels is a pipe (|).
+ * The classifier can be trained in multi-class (single-label)
+ * mode or multi-label mode. Multi-class mode identifies a single
+ * class label for each document and multi-label mode identifies
+ * one or more class labels for each document. Multiple labels
+ * for an individual document are separated by a delimiter. The
+ * default delimiter between labels is a pipe (|).
*
* Indicates the mode in which the classifier will be trained. The
- * classifier can be trained in multi-class mode, which identifies one and
- * only one class for each document, or multi-label mode, which identifies
- * one or more labels for each document. In multi-label mode, multiple
- * labels for an individual document are separated by a delimiter. The
- * default delimiter between labels is a pipe (|).
+ * classifier can be trained in multi-class (single-label) mode or
+ * multi-label mode. Multi-class mode identifies a single class label for
+ * each document and multi-label mode identifies one or more class labels
+ * for each document. Multiple labels for an individual document are
+ * separated by a delimiter. The default delimiter between labels is a pipe
+ * (|).
*
* Returns a reference to this object so that method calls can be chained
@@ -1119,12 +1123,12 @@ public void setMode(String mode) {
*
* @param mode
* Indicates the mode in which the classifier will be trained.
- * The classifier can be trained in multi-class mode, which
- * identifies one and only one class for each document, or
- * multi-label mode, which identifies one or more labels for each
- * document. In multi-label mode, multiple labels for an
- * individual document are separated by a delimiter. The default
- * delimiter between labels is a pipe (|).
+ * The classifier can be trained in multi-class (single-label)
+ * mode or multi-label mode. Multi-class mode identifies a single
+ * class label for each document and multi-label mode identifies
+ * one or more class labels for each document. Multiple labels
+ * for an individual document are separated by a delimiter. The
+ * default delimiter between labels is a pipe (|).
*
* Indicates the mode in which the classifier will be trained. The
- * classifier can be trained in multi-class mode, which identifies one and
- * only one class for each document, or multi-label mode, which identifies
- * one or more labels for each document. In multi-label mode, multiple
- * labels for an individual document are separated by a delimiter. The
- * default delimiter between labels is a pipe (|).
+ * classifier can be trained in multi-class (single-label) mode or
+ * multi-label mode. Multi-class mode identifies a single class label for
+ * each document and multi-label mode identifies one or more class labels
+ * for each document. Multiple labels for an individual document are
+ * separated by a delimiter. The default delimiter between labels is a pipe
+ * (|).
*
* Constraints:
* Indicates the mode in which the classifier will be trained.
- * The classifier can be trained in multi-class mode, which
- * identifies one and only one class for each document, or
- * multi-label mode, which identifies one or more labels for each
- * document. In multi-label mode, multiple labels for an
- * individual document are separated by a delimiter. The default
- * delimiter between labels is a pipe (|).
+ * The classifier can be trained in multi-class (single-label)
+ * mode or multi-label mode. Multi-class mode identifies a single
+ * class label for each document and multi-label mode identifies
+ * one or more class labels for each document. Multiple labels
+ * for an individual document are separated by a delimiter. The
+ * default delimiter between labels is a pipe (|).
*
* Indicates the mode in which the classifier will be trained. The
- * classifier can be trained in multi-class mode, which identifies one and
- * only one class for each document, or multi-label mode, which identifies
- * one or more labels for each document. In multi-label mode, multiple
- * labels for an individual document are separated by a delimiter. The
- * default delimiter between labels is a pipe (|).
+ * classifier can be trained in multi-class (single-label) mode or
+ * multi-label mode. Multi-class mode identifies a single class label for
+ * each document and multi-label mode identifies one or more class labels
+ * for each document. Multiple labels for an individual document are
+ * separated by a delimiter. The default delimiter between labels is a pipe
+ * (|).
*
* Returns a reference to this object so that method calls can be chained
@@ -1181,12 +1187,12 @@ public void setMode(DocumentClassifierMode mode) {
*
* @param mode
* Indicates the mode in which the classifier will be trained.
- * The classifier can be trained in multi-class mode, which
- * identifies one and only one class for each document, or
- * multi-label mode, which identifies one or more labels for each
- * document. In multi-label mode, multiple labels for an
- * individual document are separated by a delimiter. The default
- * delimiter between labels is a pipe (|).
+ * The classifier can be trained in multi-class (single-label)
+ * mode or multi-label mode. Multi-class mode identifies a single
+ * class label for each document and multi-label mode identifies
+ * one or more class labels for each document. Multiple labels
+ * for an individual document are separated by a delimiter. The
+ * default delimiter between labels is a pipe (|).
*
* To associate an existing model with the flywheel, specify the Amazon
- * Resource Number (ARN) of the model version.
+ * Resource Number (ARN) of the model version. Do not set
+ *
* Constraints:
- * Configuration about the custom classifier associated with the flywheel.
+ * Configuration about the model associated with the flywheel. You need to
+ * set
- * The model type.
+ * The model type. You need to set
* Constraints:
* To associate an existing model with the flywheel, specify the Amazon
- * Resource Number (ARN) of the model version.
+ * Resource Number (ARN) of the model version. Do not set
+ *
* Constraints:
* To associate an existing model with the flywheel, specify the
- * Amazon Resource Number (ARN) of the model version.
+ * Amazon Resource Number (ARN) of the model version. Do not set
+ *
* To associate an existing model with the flywheel, specify the Amazon
- * Resource Number (ARN) of the model version.
+ * Resource Number (ARN) of the model version. Do not set
+ *
* Constraints:
* To associate an existing model with the flywheel, specify the
- * Amazon Resource Number (ARN) of the model version.
+ * Amazon Resource Number (ARN) of the model version. Do not set
+ *
* To associate an existing model with the flywheel, specify the Amazon
- * Resource Number (ARN) of the model version.
+ * Resource Number (ARN) of the model version. Do not set
+ *
* Returns a reference to this object so that method calls can be chained
@@ -265,7 +280,9 @@ public void setActiveModelArn(String activeModelArn) {
*
* @param activeModelArn
* To associate an existing model with the flywheel, specify the
- * Amazon Resource Number (ARN) of the model version.
+ * Amazon Resource Number (ARN) of the model version. Do not set
+ *
- * Configuration about the custom classifier associated with the flywheel.
+ * Configuration about the model associated with the flywheel. You need to
+ * set
- * Configuration about the custom classifier associated with the
- * flywheel.
+ * Configuration about the model associated with the flywheel. You
+ * need to set
- * Configuration about the custom classifier associated with the flywheel.
+ * Configuration about the model associated with the flywheel. You need to
+ * set
- * Configuration about the custom classifier associated with the
- * flywheel.
+ * Configuration about the model associated with the flywheel.
+ * You need to set
- * Configuration about the custom classifier associated with the flywheel.
+ * Configuration about the model associated with the flywheel. You need to
+ * set
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param taskConfig
- * Configuration about the custom classifier associated with the
- * flywheel.
+ * Configuration about the model associated with the flywheel.
+ * You need to set
- * The model type.
+ * The model type. You need to set
* Constraints:
- * The model type.
+ * The model type. You need to set
- * The model type.
+ * The model type. You need to set
* Constraints:
- * The model type.
+ * The model type. You need to set
- * The model type.
+ * The model type. You need to set
* Returns a reference to this object so that method calls can be chained
@@ -438,7 +469,8 @@ public void setModelType(String modelType) {
* Allowed Values: DOCUMENT_CLASSIFIER, ENTITY_RECOGNIZER
*
* @param modelType
- * The model type.
+ * The model type. You need to set
- * The model type.
+ * The model type. You need to set
* Constraints:
- * The model type.
+ * The model type. You need to set
- * The model type.
+ * The model type. You need to set
* Returns a reference to this object so that method calls can be chained
@@ -478,7 +513,8 @@ public void setModelType(ModelType modelType) {
* Allowed Values: DOCUMENT_CLASSIFIER, ENTITY_RECOGNIZER
*
* @param modelType
- * The model type.
+ * The model type. You need to set
- * The language of the input documents. Currently, English is the only valid
- * language.
+ * The language of the input text. Enter the language code for English (en)
+ * or Spanish (es).
*
* Constraints:
- * The language of the input documents. Currently, English is the only valid
- * language.
+ * The language of the input text. Enter the language code for English (en)
+ * or Spanish (es).
*
* Constraints:
- * The language of the input documents. Currently, English is the
- * only valid language.
+ * The language of the input text. Enter the language code for
+ * English (en) or Spanish (es).
*
- * The language of the input documents. Currently, English is the only valid
- * language.
+ * The language of the input text. Enter the language code for English (en)
+ * or Spanish (es).
*
* Constraints:
- * The language of the input documents. Currently, English is the
- * only valid language.
+ * The language of the input text. Enter the language code for
+ * English (en) or Spanish (es).
*
- * The language of the input documents. Currently, English is the only valid
- * language.
+ * The language of the input text. Enter the language code for English (en)
+ * or Spanish (es).
*
* Returns a reference to this object so that method calls can be chained
@@ -152,8 +152,8 @@ public void setLanguageCode(String languageCode) {
* Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
*
* @param languageCode
- * The language of the input documents. Currently, English is the
- * only valid language.
+ * The language of the input text. Enter the language code for
+ * English (en) or Spanish (es).
*
- * The language of the input documents. Currently, English is the only valid
- * language.
+ * The language of the input text. Enter the language code for English (en)
+ * or Spanish (es).
*
* Constraints:
- * The language of the input documents. Currently, English is the
- * only valid language.
+ * The language of the input text. Enter the language code for
+ * English (en) or Spanish (es).
*
- * The language of the input documents. Currently, English is the only valid
- * language.
+ * The language of the input text. Enter the language code for English (en)
+ * or Spanish (es).
*
* Returns a reference to this object so that method calls can be chained
@@ -196,8 +196,8 @@ public void setLanguageCode(LanguageCode languageCode) {
* Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
*
* @param languageCode
- * The language of the input documents. Currently, English is the
- * only valid language.
+ * The language of the input text. Enter the language code for
+ * English (en) or Spanish (es).
*
* For more information about targeted sentiment, see Targeted sentiment.
+ * >Targeted sentiment in the Amazon Comprehend Developer Guide.
*
+ * Performs toxicity analysis on the list of text strings that you provide as
+ * input. The API response contains a results list that matches the size of the
+ * input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide.
+ *
+ * A list of up to 10 text strings. Each string has a maximum size of 1 KB,
+ * and the maximum size of the list is 10 KB.
+ *
+ * The language of the input text. Currently, English is the only supported
+ * language.
+ *
+ * Constraints:
+ * A list of up to 10 text strings. Each string has a maximum size of 1 KB,
+ * and the maximum size of the list is 10 KB.
+ *
+ * A list of up to 10 text strings. Each string has a maximum size
+ * of 1 KB, and the maximum size of the list is 10 KB.
+ *
+ * A list of up to 10 text strings. Each string has a maximum size of 1 KB,
+ * and the maximum size of the list is 10 KB.
+ *
+ * A list of up to 10 text strings. Each string has a maximum
+ * size of 1 KB, and the maximum size of the list is 10 KB.
+ *
+ * A list of up to 10 text strings. Each string has a maximum size of 1 KB,
+ * and the maximum size of the list is 10 KB.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param textSegments
+ * A list of up to 10 text strings. Each string has a maximum
+ * size of 1 KB, and the maximum size of the list is 10 KB.
+ *
+ * A list of up to 10 text strings. Each string has a maximum size of 1 KB,
+ * and the maximum size of the list is 10 KB.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param textSegments
+ * A list of up to 10 text strings. Each string has a maximum
+ * size of 1 KB, and the maximum size of the list is 10 KB.
+ *
+ * The language of the input text. Currently, English is the only supported
+ * language.
+ *
+ * Constraints:
+ * The language of the input text. Currently, English is the only
+ * supported language.
+ *
+ * The language of the input text. Currently, English is the only supported
+ * language.
+ *
+ * Constraints:
+ * The language of the input text. Currently, English is the only
+ * supported language.
+ *
+ * The language of the input text. Currently, English is the only supported
+ * language.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The language of the input text. Currently, English is the only
+ * supported language.
+ *
+ * The language of the input text. Currently, English is the only supported
+ * language.
+ *
+ * Constraints:
+ * The language of the input text. Currently, English is the only
+ * supported language.
+ *
+ * The language of the input text. Currently, English is the only supported
+ * language.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * Constraints:
+ * The language of the input text. Currently, English is the only
+ * supported language.
+ *
+ * Results of the content moderation analysis. Each entry in the results
+ * list contains a list of toxic content types identified in the text, along
+ * with a confidence score for each content type. The results list also
+ * includes a toxicity score for each entry in the results list.
+ *
+ * Results of the content moderation analysis. Each entry in the results
+ * list contains a list of toxic content types identified in the text, along
+ * with a confidence score for each content type. The results list also
+ * includes a toxicity score for each entry in the results list.
+ *
+ * Results of the content moderation analysis. Each entry in the
+ * results list contains a list of toxic content types identified in
+ * the text, along with a confidence score for each content type.
+ * The results list also includes a toxicity score for each entry in
+ * the results list.
+ *
+ * Results of the content moderation analysis. Each entry in the results
+ * list contains a list of toxic content types identified in the text, along
+ * with a confidence score for each content type. The results list also
+ * includes a toxicity score for each entry in the results list.
+ *
+ * Results of the content moderation analysis. Each entry in the
+ * results list contains a list of toxic content types identified
+ * in the text, along with a confidence score for each content
+ * type. The results list also includes a toxicity score for each
+ * entry in the results list.
+ *
+ * Results of the content moderation analysis. Each entry in the results
+ * list contains a list of toxic content types identified in the text, along
+ * with a confidence score for each content type. The results list also
+ * includes a toxicity score for each entry in the results list.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param resultList
+ * Results of the content moderation analysis. Each entry in the
+ * results list contains a list of toxic content types identified
+ * in the text, along with a confidence score for each content
+ * type. The results list also includes a toxicity score for each
+ * entry in the results list.
+ *
+ * Results of the content moderation analysis. Each entry in the results
+ * list contains a list of toxic content types identified in the text, along
+ * with a confidence score for each content type. The results list also
+ * includes a toxicity score for each entry in the results list.
+ *
+ * Returns a reference to this object so that method calls can be chained
+ * together.
+ *
+ * @param resultList
+ * Results of the content moderation analysis. Each entry in the
+ * results list contains a list of toxic content types identified
+ * in the text, along with a confidence score for each content
+ * type. The results list also includes a toxicity score for each
+ * entry in the results list.
+ *
- * Configuration required for a custom classification model.
+ * Configuration required for a document classification model.
* ClassifyDocument
supports the following model
+ * types:
+ *
+ *
* Classes
field. For more
+ * information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer
+ * Guide.
* Errors
that
+ * document, the API response includes an Errors
field that
* describes the errors.
* DescribeDocumentClassificationJob
operation to track the
* progress of the job.
* DescribeDocumentClassificationJob
operation to track the
* progress of the job.
* ClassifyDocument
supports the following model
+ * types:
*
+ *
* Classes
field. For more
+ * information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer
+ * Guide.
+ * Errors
that
+ * document, the API response includes an Errors
field that
* describes the errors.
* ClassifyDocument
supports the following model
+ * types:
*
+ *
* Classes
field. For more
+ * information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer
+ * Guide.
+ * Errors
that
+ * document, the API response includes an Errors
field that
* describes the errors.
* DescribeDocumentClassificationJob
operation to track the
* progress of the job.
* DescribeDocumentClassificationJob
operation to track the
* progress of the job.
* ClassifyDocument
supports the following model
+ * types:
*
+ *
* Classes
field. For more
+ * information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer
+ * Guide.
* Errors
that
+ * document, the API response includes an Errors
field that
* describes the errors.
* DescribeDocumentClassificationJob
operation to track the
* progress of the job.
* ClassifyDocument
supports the following model types:
*
+ *
* Classes
field. For more information
+ * about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer
+ * Guide.
+ * Errors
that describes the
+ * the API response includes an Errors
field that describes the
* errors.
*
* Length: - 256
* Pattern:
- * arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:document
- * -classifier-endpoint/[a-zA-Z0-9](-*[a-zA-Z0-9])*
+ * arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:([0-9]{12}|aws):
+ * document-classifier-endpoint/[a-zA-Z0-9](-*[a-zA-Z0-9])*
*/
private String endpointArn;
/**
* Bytes
parameter to input a text, PDF, Word or image
- * file. You can also use the Bytes
parameter to input an
- * Amazon Textract DetectDocumentText
or
- * AnalyzeDocument
output file.
+ * file.
+ * Bytes
parameter to input an Amazon Textract
+ * DetectDocumentText
or AnalyzeDocument
output
+ * file.
+ * Text
parameter for input.
*
* Length: - 256
* Pattern:
- * arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:document
- * -classifier-endpoint/[a-zA-Z0-9](-*[a-zA-Z0-9])*
+ * arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:([0-9]{12}|aws):
+ * document-classifier-endpoint/[a-zA-Z0-9](-*[a-zA-Z0-9])*
*
* @return
* Length: - 256
* Pattern:
- * arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:document
- * -classifier-endpoint/[a-zA-Z0-9](-*[a-zA-Z0-9])*
+ * arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:([0-9]{12}|aws):
+ * document-classifier-endpoint/[a-zA-Z0-9](-*[a-zA-Z0-9])*
*
* @param endpointArn
* Length: - 256
* Pattern:
- * arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:document
- * -classifier-endpoint/[a-zA-Z0-9](-*[a-zA-Z0-9])*
+ * arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:([0-9]{12}|aws):
+ * document-classifier-endpoint/[a-zA-Z0-9](-*[a-zA-Z0-9])*
*
* @param endpointArn Bytes
parameter to input a text, PDF, Word or image
- * file. You can also use the Bytes
parameter to input an
- * Amazon Textract DetectDocumentText
or
- * AnalyzeDocument
output file.
+ * file.
+ * Bytes
parameter to input an Amazon Textract
+ * DetectDocumentText
or AnalyzeDocument
output
+ * file.
+ * Text
parameter for input.
* Bytes
parameter to input a text, PDF, Word
- * or image file. You can also use the Bytes
parameter
- * to input an Amazon Textract DetectDocumentText
or
- * AnalyzeDocument
output file.
+ * or image file.
+ * Bytes
parameter to input an Amazon Textract
+ * DetectDocumentText
or AnalyzeDocument
+ * output file.
+ * Text
parameter for input.
* Bytes
parameter to input a text, PDF, Word or image
- * file. You can also use the Bytes
parameter to input an
- * Amazon Textract DetectDocumentText
or
- * AnalyzeDocument
output file.
+ * file.
+ * Bytes
parameter to input an Amazon Textract
+ * DetectDocumentText
or AnalyzeDocument
output
+ * file.
+ * Text
parameter for input.
* Bytes
parameter to input a text, PDF,
- * Word or image file. You can also use the Bytes
- * parameter to input an Amazon Textract
- * DetectDocumentText
or
+ * Word or image file.
+ * Bytes
parameter to input an Amazon
+ * Textract DetectDocumentText
or
* AnalyzeDocument
output file.
* Text
parameter for input.
+ * Bytes
parameter to input a text, PDF, Word or image
- * file. You can also use the Bytes
parameter to input an
- * Amazon Textract DetectDocumentText
or
- * AnalyzeDocument
output file.
+ * file.
+ * Bytes
parameter to input an Amazon Textract
+ * DetectDocumentText
or AnalyzeDocument
output
+ * file.
+ * Text
parameter for input.
* Bytes
parameter to input a text, PDF,
- * Word or image file. You can also use the Bytes
- * parameter to input an Amazon Textract
- * DetectDocumentText
or
+ * Word or image file.
+ * Bytes
parameter to input an Amazon
+ * Textract DetectDocumentText
or
* AnalyzeDocument
output file.
* Text
parameter for input.
+ *
@@ -104,16 +103,14 @@ public ContainsPiiEntitiesRequest withText(String text) {
/**
*
* Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
*
* @return
* Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
*
* @param languageCode
* Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
*
* @param languageCode
@@ -584,14 +585,14 @@ public CreateDocumentClassifierRequest withInputDataConfig(
/**
*
@@ -1060,12 +1062,12 @@ public CreateDocumentClassifierRequest withVpcConfig(VpcConfig vpcConfig) {
*
* @return
@@ -1088,12 +1091,12 @@ public String getMode() {
*
* @param mode
@@ -1150,12 +1155,12 @@ public CreateDocumentClassifierRequest withMode(String mode) {
*
* @param mode TaskConfig
or ModelType
if you specify an
+ * ActiveModelArn
.
*
@@ -89,14 +91,17 @@ public class CreateFlywheelRequest extends AmazonWebServiceRequest implements Se
/**
* TaskConfig
if you are creating a flywheel for a new
+ * model.
* ModelType
if you are
+ * creating a flywheel for a new model.
*
@@ -203,7 +208,9 @@ public CreateFlywheelRequest withFlywheelName(String flywheelName) {
/**
* TaskConfig
or ModelType
if you specify an
+ * ActiveModelArn
.
*
@@ -216,7 +223,9 @@ public CreateFlywheelRequest withFlywheelName(String flywheelName) {
*
* @return TaskConfig
or ModelType
if you specify
+ * an ActiveModelArn
.
* TaskConfig
or ModelType
if you specify an
+ * ActiveModelArn
.
*
@@ -239,7 +250,9 @@ public String getActiveModelArn() {
*
* @param activeModelArn TaskConfig
or ModelType
if you
+ * specify an ActiveModelArn
.
* TaskConfig
or ModelType
if you specify an
+ * ActiveModelArn
.
* TaskConfig
or ModelType
if you
+ * specify an ActiveModelArn
.
* TaskConfig
if you are creating a flywheel for a new
+ * model.
* TaskConfig
if you are creating a
+ * flywheel for a new model.
* TaskConfig
if you are creating a flywheel for a new
+ * model.
* TaskConfig
if you are creating a
+ * flywheel for a new model.
* TaskConfig
if you are creating a flywheel for a new
+ * model.
* TaskConfig
if you are creating a
+ * flywheel for a new model.
* ModelType
if you are
+ * creating a flywheel for a new model.
*
* Allowed Values: DOCUMENT_CLASSIFIER, ENTITY_RECOGNIZER
*
* @return ModelType
if you are
+ * creating a flywheel for a new model.
* ModelType
if you are
+ * creating a flywheel for a new model.
*
* Allowed Values: DOCUMENT_CLASSIFIER, ENTITY_RECOGNIZER
*
* @param modelType ModelType
if you
+ * are creating a flywheel for a new model.
* ModelType
if you are
+ * creating a flywheel for a new model.
* ModelType
if you
+ * are creating a flywheel for a new model.
* ModelType
if you are
+ * creating a flywheel for a new model.
*
* Allowed Values: DOCUMENT_CLASSIFIER, ENTITY_RECOGNIZER
*
* @param modelType ModelType
if you
+ * are creating a flywheel for a new model.
* ModelType
if you are
+ * creating a flywheel for a new model.
* ModelType
if you
+ * are creating a flywheel for a new model.
*
@@ -103,16 +103,16 @@ public DetectPiiEntitiesRequest withText(String text) {
/**
*
* Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
*
* @return
* Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
*
* @param languageCode
* Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
*
* @param languageCode
+ * Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
+ */
+ private String languageCode;
+
+ /**
+ *
+ * Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
+ *
+ * @return
+ * Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
+ *
+ * @param languageCode
+ * Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
+ *
+ * @param languageCode
+ * Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
+ *
+ * @param languageCode
+ * Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
+ *
+ * @param languageCode
@@ -1171,7 +1171,7 @@ public void setVpcConfig(VpcConfig vpcConfig) { * Configuration parameters for a private Virtual Private Cloud * (VPC) containing the resources you are using for your document * classification job. For more information, see Amazon VPC. *
* @return A reference to this updated object so that method calls can be diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierDataFormat.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierDataFormat.java index d453296bb8..53c1be153e 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierDataFormat.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierDataFormat.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierDocumentTypeFormat.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierDocumentTypeFormat.java index b3f9c4adf8..7ac1ea25ca 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierDocumentTypeFormat.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierDocumentTypeFormat.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierDocuments.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierDocuments.java index b48235eabf..3a66a3b295 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierDocuments.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierDocuments.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ /** ** The location of the training documents. This parameter is required in a - * request to create a native classifier model. + * request to create a semi-structured document classification model. *
*/ public class DocumentClassifierDocuments implements Serializable { diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierFilter.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierFilter.java index 0dc5c14609..78ada4ae41 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierFilter.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierInputDataConfig.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierInputDataConfig.java index 924df0ba05..80a0cd2ccf 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierInputDataConfig.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierInputDataConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -90,8 +90,8 @@ public class DocumentClassifierInputDataConfig implements Serializable { /** *- * This specifies the Amazon S3 location where the test annotations for an - * entity recognizer are located. The URI must be in the same Amazon Web + * This specifies the Amazon S3 location that contains the test annotations + * for the document classifier. The URI must be in the same Amazon Web * Services Region as the API endpoint that you are calling. *
*@@ -135,7 +135,7 @@ public class DocumentClassifierInputDataConfig implements Serializable { *
* The type of input documents for training the model. Provide plain-text * documents to create a plain-text model, and provide semi-structured - * documents to create a native model. + * documents to create a native document model. *
*
* Constraints:
@@ -146,7 +146,7 @@ public class DocumentClassifierInputDataConfig implements Serializable {
/**
*
* The S3 location of the training documents. This parameter is required in - * a request to create a native classifier model. + * a request to create a native document model. *
*/ private DocumentClassifierDocuments documents; @@ -688,8 +688,8 @@ public DocumentClassifierInputDataConfig withS3Uri(String s3Uri) { /** *- * This specifies the Amazon S3 location where the test annotations for an - * entity recognizer are located. The URI must be in the same Amazon Web + * This specifies the Amazon S3 location that contains the test annotations + * for the document classifier. The URI must be in the same Amazon Web * Services Region as the API endpoint that you are calling. *
*
@@ -698,9 +698,9 @@ public DocumentClassifierInputDataConfig withS3Uri(String s3Uri) {
* Pattern: s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?
*
* @return
- * This specifies the Amazon S3 location where the test annotations - * for an entity recognizer are located. The URI must be in the same - * Amazon Web Services Region as the API endpoint that you are + * This specifies the Amazon S3 location that contains the test + * annotations for the document classifier. The URI must be in the + * same Amazon Web Services Region as the API endpoint that you are * calling. *
*/ @@ -710,8 +710,8 @@ public String getTestS3Uri() { /** *- * This specifies the Amazon S3 location where the test annotations for an - * entity recognizer are located. The URI must be in the same Amazon Web + * This specifies the Amazon S3 location that contains the test annotations + * for the document classifier. The URI must be in the same Amazon Web * Services Region as the API endpoint that you are calling. *
*
@@ -720,10 +720,10 @@ public String getTestS3Uri() {
* Pattern: s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?
*
* @param testS3Uri
- * This specifies the Amazon S3 location where the test - * annotations for an entity recognizer are located. The URI must - * be in the same Amazon Web Services Region as the API endpoint - * that you are calling. + * This specifies the Amazon S3 location that contains the test + * annotations for the document classifier. The URI must be in + * the same Amazon Web Services Region as the API endpoint that + * you are calling. *
*/ public void setTestS3Uri(String testS3Uri) { @@ -732,8 +732,8 @@ public void setTestS3Uri(String testS3Uri) { /** *- * This specifies the Amazon S3 location where the test annotations for an - * entity recognizer are located. The URI must be in the same Amazon Web + * This specifies the Amazon S3 location that contains the test annotations + * for the document classifier. The URI must be in the same Amazon Web * Services Region as the API endpoint that you are calling. *
*
@@ -745,10 +745,10 @@ public void setTestS3Uri(String testS3Uri) {
* Pattern: s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?
*
* @param testS3Uri
- * This specifies the Amazon S3 location where the test - * annotations for an entity recognizer are located. The URI must - * be in the same Amazon Web Services Region as the API endpoint - * that you are calling. + * This specifies the Amazon S3 location that contains the test + * annotations for the document classifier. The URI must be in + * the same Amazon Web Services Region as the API endpoint that + * you are calling. *
* @return A reference to this updated object so that method calls can be * chained together. @@ -987,7 +987,7 @@ public DocumentClassifierInputDataConfig withAugmentedManifests( ** The type of input documents for training the model. Provide plain-text * documents to create a plain-text model, and provide semi-structured - * documents to create a native model. + * documents to create a native document model. *
*
* Constraints:
@@ -996,7 +996,7 @@ public DocumentClassifierInputDataConfig withAugmentedManifests(
* @return
* The type of input documents for training the model. Provide * plain-text documents to create a plain-text model, and provide - * semi-structured documents to create a native model. + * semi-structured documents to create a native document model. *
* @see DocumentClassifierDocumentTypeFormat */ @@ -1008,7 +1008,7 @@ public String getDocumentType() { ** The type of input documents for training the model. Provide plain-text * documents to create a plain-text model, and provide semi-structured - * documents to create a native model. + * documents to create a native document model. *
*
* Constraints:
@@ -1017,7 +1017,7 @@ public String getDocumentType() {
* @param documentType
* The type of input documents for training the model. Provide * plain-text documents to create a plain-text model, and provide - * semi-structured documents to create a native model. + * semi-structured documents to create a native document model. *
* @see DocumentClassifierDocumentTypeFormat */ @@ -1029,7 +1029,7 @@ public void setDocumentType(String documentType) { ** The type of input documents for training the model. Provide plain-text * documents to create a plain-text model, and provide semi-structured - * documents to create a native model. + * documents to create a native document model. *
** Returns a reference to this object so that method calls can be chained @@ -1041,7 +1041,7 @@ public void setDocumentType(String documentType) { * @param documentType
* The type of input documents for training the model. Provide * plain-text documents to create a plain-text model, and provide - * semi-structured documents to create a native model. + * semi-structured documents to create a native document model. *
* @return A reference to this updated object so that method calls can be * chained together. @@ -1056,7 +1056,7 @@ public DocumentClassifierInputDataConfig withDocumentType(String documentType) { ** The type of input documents for training the model. Provide plain-text * documents to create a plain-text model, and provide semi-structured - * documents to create a native model. + * documents to create a native document model. *
*
* Constraints:
@@ -1065,7 +1065,7 @@ public DocumentClassifierInputDataConfig withDocumentType(String documentType) {
* @param documentType
* The type of input documents for training the model. Provide * plain-text documents to create a plain-text model, and provide - * semi-structured documents to create a native model. + * semi-structured documents to create a native document model. *
* @see DocumentClassifierDocumentTypeFormat */ @@ -1077,7 +1077,7 @@ public void setDocumentType(DocumentClassifierDocumentTypeFormat documentType) { ** The type of input documents for training the model. Provide plain-text * documents to create a plain-text model, and provide semi-structured - * documents to create a native model. + * documents to create a native document model. *
** Returns a reference to this object so that method calls can be chained @@ -1089,7 +1089,7 @@ public void setDocumentType(DocumentClassifierDocumentTypeFormat documentType) { * @param documentType
* The type of input documents for training the model. Provide * plain-text documents to create a plain-text model, and provide - * semi-structured documents to create a native model. + * semi-structured documents to create a native document model. *
* @return A reference to this updated object so that method calls can be * chained together. @@ -1104,12 +1104,12 @@ public DocumentClassifierInputDataConfig withDocumentType( /** ** The S3 location of the training documents. This parameter is required in - * a request to create a native classifier model. + * a request to create a native document model. *
* * @return* The S3 location of the training documents. This parameter is - * required in a request to create a native classifier model. + * required in a request to create a native document model. *
*/ public DocumentClassifierDocuments getDocuments() { @@ -1119,12 +1119,12 @@ public DocumentClassifierDocuments getDocuments() { /** ** The S3 location of the training documents. This parameter is required in - * a request to create a native classifier model. + * a request to create a native document model. *
* * @param documents* The S3 location of the training documents. This parameter is - * required in a request to create a native classifier model. + * required in a request to create a native document model. *
*/ public void setDocuments(DocumentClassifierDocuments documents) { @@ -1134,7 +1134,7 @@ public void setDocuments(DocumentClassifierDocuments documents) { /** ** The S3 location of the training documents. This parameter is required in - * a request to create a native classifier model. + * a request to create a native document model. *
** Returns a reference to this object so that method calls can be chained @@ -1142,7 +1142,7 @@ public void setDocuments(DocumentClassifierDocuments documents) { * * @param documents
* The S3 location of the training documents. This parameter is - * required in a request to create a native classifier model. + * required in a request to create a native document model. *
* @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierMode.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierMode.java index a3a3dcd5e4..b5231be66c 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierMode.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierMode.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierOutputDataConfig.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierOutputDataConfig.java index ac5a72e8ec..d1e38b1ef4 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierOutputDataConfig.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierOutputDataConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ /** ** Provide the location for output data from a custom classifier job. This field - * is mandatory if you are training a native classifier model. + * is mandatory if you are training a native document model. *
*/ public class DocumentClassifierOutputDataConfig implements Serializable { diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierProperties.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierProperties.java index 1c6f09f04b..e5dd5b23f4 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierProperties.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -177,7 +177,7 @@ public class DocumentClassifierProperties implements Serializable { * Configuration parameters for a private Virtual Private Cloud (VPC) * containing the resources you are using for your custom classifier. For * more information, see Amazon VPC. * */ @@ -1278,7 +1278,7 @@ public DocumentClassifierProperties withVolumeKmsKeyId(String volumeKmsKeyId) { * Configuration parameters for a private Virtual Private Cloud (VPC) * containing the resources you are using for your custom classifier. For * more information, see Amazon VPC. * * @@ -1286,7 +1286,7 @@ public DocumentClassifierProperties withVolumeKmsKeyId(String volumeKmsKeyId) { * Configuration parameters for a private Virtual Private Cloud * (VPC) containing the resources you are using for your custom * classifier. For more information, see Amazon VPC. * */ @@ -1299,7 +1299,7 @@ public VpcConfig getVpcConfig() { * Configuration parameters for a private Virtual Private Cloud (VPC) * containing the resources you are using for your custom classifier. For * more information, see Amazon VPC. * * @@ -1307,7 +1307,7 @@ public VpcConfig getVpcConfig() { * Configuration parameters for a private Virtual Private Cloud * (VPC) containing the resources you are using for your custom * classifier. For more information, see Amazon VPC. * */ @@ -1320,7 +1320,7 @@ public void setVpcConfig(VpcConfig vpcConfig) { * Configuration parameters for a private Virtual Private Cloud (VPC) * containing the resources you are using for your custom classifier. For * more information, see Amazon VPC. * *@@ -1331,7 +1331,7 @@ public void setVpcConfig(VpcConfig vpcConfig) { * Configuration parameters for a private Virtual Private Cloud * (VPC) containing the resources you are using for your custom * classifier. For more information, see Amazon VPC. *
* @return A reference to this updated object so that method calls can be diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierSummary.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierSummary.java index b97a2b4d22..900ae6c304 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierSummary.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClassifierSummary.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentLabel.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentLabel.java index 474eef6c9b..eeb7478419 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentLabel.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentLabel.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentMetadata.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentMetadata.java index b08d8ca0fb..ad990b2767 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentMetadata.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentReadAction.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentReadAction.java index 847f40e601..b01c345c8f 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentReadAction.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentReadAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentReadFeatureTypes.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentReadFeatureTypes.java index ae70c8d17c..9d23b9a74c 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentReadFeatureTypes.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentReadFeatureTypes.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -20,24 +20,8 @@ /** *
- * Specifies the type of Amazon Textract features to apply. If you chose
- * TEXTRACT_ANALYZE_DOCUMENT
as the read action, you must specify
- * one or both of the following values:
+ * TABLES or FORMS
*
- * TABLES
- Returns additional information about any tables that
- * are detected in the input document.
- *
- * FORMS
- Returns additional information about any forms that are
- * detected in the input document.
- *
- * TABLES
- Returns information about any tables that are
- * detected in the input document.
+ * TABLES
- Returns additional information about any tables
+ * that are detected in the input document.
*
- * FORMS
- Returns information and the data from any forms that
+ * FORMS
- Returns additional information about any forms that
* are detected in the input document.
*
- * TABLES
- Returns information about any tables that are
- * detected in the input document.
+ * TABLES
- Returns additional information about any tables
+ * that are detected in the input document.
*
- * FORMS
- Returns information and the data from any forms that
+ * FORMS
- Returns additional information about any forms that
* are detected in the input document.
*
- * TABLES
- Returns information about any tables that
- * are detected in the input document.
+ * TABLES
- Returns additional information about any
+ * tables that are detected in the input document.
*
- * FORMS
- Returns information and the data from any
+ * FORMS
- Returns additional information about any
* forms that are detected in the input document.
*
- * TABLES
- Returns information about any tables that are
- * detected in the input document.
+ * TABLES
- Returns additional information about any tables
+ * that are detected in the input document.
*
- * FORMS
- Returns information and the data from any forms that
+ * FORMS
- Returns additional information about any forms that
* are detected in the input document.
*
- * TABLES
- Returns information about any tables
- * that are detected in the input document.
+ * TABLES
- Returns additional information about any
+ * tables that are detected in the input document.
*
- * FORMS
- Returns information and the data from any
+ * FORMS
- Returns additional information about any
* forms that are detected in the input document.
*
- * TABLES
- Returns information about any tables that are
- * detected in the input document.
+ * TABLES
- Returns additional information about any tables
+ * that are detected in the input document.
*
- * FORMS
- Returns information and the data from any forms that
+ * FORMS
- Returns additional information about any forms that
* are detected in the input document.
*
- * TABLES
- Returns information about any tables
- * that are detected in the input document.
+ * TABLES
- Returns additional information about any
+ * tables that are detected in the input document.
*
- * FORMS
- Returns information and the data from any
+ * FORMS
- Returns additional information about any
* forms that are detected in the input document.
*
- * TABLES
- Returns information about any tables that are
- * detected in the input document.
+ * TABLES
- Returns additional information about any tables
+ * that are detected in the input document.
*
- * FORMS
- Returns information and the data from any forms that
+ * FORMS
- Returns additional information about any forms that
* are detected in the input document.
*
- * TABLES
- Returns information about any tables
- * that are detected in the input document.
+ * TABLES
- Returns additional information about any
+ * tables that are detected in the input document.
*
- * FORMS
- Returns information and the data from any
+ * FORMS
- Returns additional information about any
* forms that are detected in the input document.
*
* Entity types must not contain the following invalid characters: \n (line * break), \\n (escaped line break, \r (carriage return), \\r (escaped - * carriage return), \t (tab), \\t (escaped tab), space, and , (comma). + * carriage return), \t (tab), \\t (escaped tab), and , (comma). *
*
* Constraints:
@@ -49,7 +49,7 @@ public class EntityTypesListItem implements Serializable {
*
* Entity types must not contain the following invalid characters: \n (line * break), \\n (escaped line break, \r (carriage return), \\r (escaped - * carriage return), \t (tab), \\t (escaped tab), space, and , (comma). + * carriage return), \t (tab), \\t (escaped tab), and , (comma). *
*
* Constraints:
@@ -63,8 +63,8 @@ public class EntityTypesListItem implements Serializable {
*
* Entity types must not contain the following invalid characters: * \n (line break), \\n (escaped line break, \r (carriage return), - * \\r (escaped carriage return), \t (tab), \\t (escaped tab), - * space, and , (comma). + * \\r (escaped carriage return), \t (tab), \\t (escaped tab), and , + * (comma). *
*/ public String getType() { @@ -79,7 +79,7 @@ public String getType() { ** Entity types must not contain the following invalid characters: \n (line * break), \\n (escaped line break, \r (carriage return), \\r (escaped - * carriage return), \t (tab), \\t (escaped tab), space, and , (comma). + * carriage return), \t (tab), \\t (escaped tab), and , (comma). *
*
* Constraints:
@@ -94,7 +94,7 @@ public String getType() {
* Entity types must not contain the following invalid
* characters: \n (line break), \\n (escaped line break, \r
* (carriage return), \\r (escaped carriage return), \t (tab),
- * \\t (escaped tab), space, and , (comma).
+ * \\t (escaped tab), and , (comma).
*
* Entity types must not contain the following invalid characters: \n (line * break), \\n (escaped line break, \r (carriage return), \\r (escaped - * carriage return), \t (tab), \\t (escaped tab), space, and , (comma). + * carriage return), \t (tab), \\t (escaped tab), and , (comma). *
** Returns a reference to this object so that method calls can be chained @@ -127,7 +127,7 @@ public void setType(String type) { * Entity types must not contain the following invalid * characters: \n (line break), \\n (escaped line break, \r * (carriage return), \\r (escaped carriage return), \t (tab), - * \\t (escaped tab), space, and , (comma). + * \\t (escaped tab), and , (comma). *
* @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ErrorsListItem.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ErrorsListItem.java index e75a0ff1ab..5181fd135c 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ErrorsListItem.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ErrorsListItem.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/EventsDetectionJobFilter.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/EventsDetectionJobFilter.java index d526d969ab..b2835a1a8d 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/EventsDetectionJobFilter.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/EventsDetectionJobFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/EventsDetectionJobProperties.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/EventsDetectionJobProperties.java index 83327ab825..97bb9bf316 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/EventsDetectionJobProperties.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/EventsDetectionJobProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ExtractedCharactersListItem.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ExtractedCharactersListItem.java index 2252480199..96fb7f6327 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ExtractedCharactersListItem.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ExtractedCharactersListItem.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelFilter.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelFilter.java index d0a916adf0..f608b507f1 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelFilter.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelIterationFilter.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelIterationFilter.java index 106e5cebb6..cd9daffbc3 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelIterationFilter.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelIterationFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelIterationProperties.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelIterationProperties.java index ca95ea4653..d13c505c62 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelIterationProperties.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelIterationProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelIterationStatus.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelIterationStatus.java index 0ff6f43796..5f9206dccc 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelIterationStatus.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelIterationStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelModelEvaluationMetrics.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelModelEvaluationMetrics.java index eb62d6d4e4..97e428fa95 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelModelEvaluationMetrics.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelModelEvaluationMetrics.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelProperties.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelProperties.java index cb46be2c9d..ceb7b64821 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelProperties.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -65,7 +65,7 @@ public class FlywheelProperties implements Serializable { /** *- * Configuration about the custom classifier associated with the flywheel. + * Configuration about the model associated with a flywheel. *
*/ private TaskConfig taskConfig; @@ -337,12 +337,11 @@ public FlywheelProperties withDataAccessRoleArn(String dataAccessRoleArn) { /** *- * Configuration about the custom classifier associated with the flywheel. + * Configuration about the model associated with a flywheel. *
* * @return- * Configuration about the custom classifier associated with the - * flywheel. + * Configuration about the model associated with a flywheel. *
*/ public TaskConfig getTaskConfig() { @@ -351,12 +350,11 @@ public TaskConfig getTaskConfig() { /** *- * Configuration about the custom classifier associated with the flywheel. + * Configuration about the model associated with a flywheel. *
* * @param taskConfig- * Configuration about the custom classifier associated with the - * flywheel. + * Configuration about the model associated with a flywheel. *
*/ public void setTaskConfig(TaskConfig taskConfig) { @@ -365,15 +363,14 @@ public void setTaskConfig(TaskConfig taskConfig) { /** *- * Configuration about the custom classifier associated with the flywheel. + * Configuration about the model associated with a flywheel. *
** Returns a reference to this object so that method calls can be chained * together. * * @param taskConfig
- * Configuration about the custom classifier associated with the - * flywheel. + * Configuration about the model associated with a flywheel. *
* @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelStatus.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelStatus.java index 4b0fe4a1d9..d6c6164147 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelStatus.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelSummary.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelSummary.java index 8724d91551..4359430b51 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelSummary.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/FlywheelSummary.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/Geometry.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/Geometry.java index ad4e8c00db..0c4cc997d9 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/Geometry.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/Geometry.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ImportModelRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ImportModelRequest.java index 36384a5050..31354f29b8 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ImportModelRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ImportModelRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ImportModelResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ImportModelResult.java index a2d25ecfc3..e47c45c0f0 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ImportModelResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ImportModelResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InputDataConfig.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InputDataConfig.java index dba71052d5..b5b2add7a2 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InputDataConfig.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InputDataConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InputFormat.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InputFormat.java index cf0107e22e..de92f81720 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InputFormat.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InputFormat.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InternalServerException.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InternalServerException.java index bd8a3f2681..060889b697 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InternalServerException.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InternalServerException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InvalidFilterException.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InvalidFilterException.java index 3d4083a455..a1d1978e84 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InvalidFilterException.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InvalidFilterException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InvalidRequestDetail.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InvalidRequestDetail.java index 66f0fa8696..012465fb1f 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InvalidRequestDetail.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InvalidRequestDetail.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -19,40 +19,59 @@ /** *- * Provides additional detail about why the request failed: + * Provides additional detail about why the request failed. *
- *- * Document size is too large - Check the size of your file and resubmit the - * request. - *
- *- * Document type is not supported - Check the file type and resubmit the - * request. - *
- *- * Too many pages in the document - Check the number of pages in your file and - * resubmit the request. - *
- *- * Access denied to Amazon Textract - Verify that your account has permission to - * use Amazon Textract API operations and resubmit the request. - *
- *
- * Reason code is INVALID_DOCUMENT
.
+ * Reason codes include the following values:
+ *
+ * DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the size of + * your file and resubmit the request. + *
+ *+ * UNSUPPORTED_DOC_TYPE - Document type is not supported. Check the file + * type and resubmit the request. + *
+ *+ * PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check the number of + * pages in your file and resubmit the request. + *
+ *+ * TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. Verify that + * your account has permission to use Amazon Textract API operations and + * resubmit the request. *
+ *+ * NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON format. Verify + * the format and resubmit the request. + *
+ *+ * MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in your file and + * resubmit the request. + *
+ *+ * INVALID_DOCUMENT - Invalid document. Check the file and resubmit the + * request. + *
+ *
* Constraints:
* Allowed Values: DOCUMENT_SIZE_EXCEEDED, UNSUPPORTED_DOC_TYPE,
@@ -62,16 +81,106 @@ public class InvalidRequestDetail implements Serializable {
/**
*
- * Reason code is INVALID_DOCUMENT
.
+ * Reason codes include the following values:
+ *
+ * DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the size of + * your file and resubmit the request. + *
+ *+ * UNSUPPORTED_DOC_TYPE - Document type is not supported. Check the file + * type and resubmit the request. + *
+ *+ * PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check the number of + * pages in your file and resubmit the request. + *
+ *+ * TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. Verify that + * your account has permission to use Amazon Textract API operations and + * resubmit the request. + *
+ *+ * NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON format. Verify + * the format and resubmit the request. *
+ *+ * MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in your file and + * resubmit the request. + *
+ *+ * INVALID_DOCUMENT - Invalid document. Check the file and resubmit the + * request. + *
+ *
* Constraints:
* Allowed Values: DOCUMENT_SIZE_EXCEEDED, UNSUPPORTED_DOC_TYPE,
* PAGE_LIMIT_EXCEEDED, TEXTRACT_ACCESS_DENIED
*
* @return
- * Reason code is INVALID_DOCUMENT
.
+ * Reason codes include the following values:
+ *
+ * DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the + * size of your file and resubmit the request. + *
+ *+ * UNSUPPORTED_DOC_TYPE - Document type is not supported. Check the + * file type and resubmit the request. + *
+ *+ * PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check the + * number of pages in your file and resubmit the request. + *
+ *+ * TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. Verify + * that your account has permission to use Amazon Textract API + * operations and resubmit the request. *
+ *+ * NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON format. + * Verify the format and resubmit the request. + *
+ *+ * MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in your + * file and resubmit the request. + *
+ *+ * INVALID_DOCUMENT - Invalid document. Check the file and resubmit + * the request. + *
+ *
- * Reason code is INVALID_DOCUMENT
.
+ * Reason codes include the following values:
+ *
+ * DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the size of + * your file and resubmit the request. + *
+ *+ * UNSUPPORTED_DOC_TYPE - Document type is not supported. Check the file + * type and resubmit the request. + *
+ *+ * PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check the number of + * pages in your file and resubmit the request. + *
+ *+ * TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. Verify that + * your account has permission to use Amazon Textract API operations and + * resubmit the request. + *
+ *+ * NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON format. Verify + * the format and resubmit the request. + *
+ *+ * MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in your file and + * resubmit the request. + *
+ *+ * INVALID_DOCUMENT - Invalid document. Check the file and resubmit the + * request. *
+ *
* Constraints:
* Allowed Values: DOCUMENT_SIZE_EXCEEDED, UNSUPPORTED_DOC_TYPE,
* PAGE_LIMIT_EXCEEDED, TEXTRACT_ACCESS_DENIED
*
* @param reason
- * Reason code is INVALID_DOCUMENT
.
+ * Reason codes include the following values:
+ *
+ * DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the + * size of your file and resubmit the request. + *
+ *+ * UNSUPPORTED_DOC_TYPE - Document type is not supported. Check + * the file type and resubmit the request. + *
+ *+ * PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check + * the number of pages in your file and resubmit the request. + *
+ *+ * TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. + * Verify that your account has permission to use Amazon Textract + * API operations and resubmit the request. + *
+ *+ * NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON + * format. Verify the format and resubmit the request. + *
+ *+ * MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in + * your file and resubmit the request. + *
+ *+ * INVALID_DOCUMENT - Invalid document. Check the file and + * resubmit the request. *
+ *
- * Reason code is INVALID_DOCUMENT
.
+ * Reason codes include the following values:
*
+ * DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the size of + * your file and resubmit the request. + *
+ *+ * UNSUPPORTED_DOC_TYPE - Document type is not supported. Check the file + * type and resubmit the request. + *
+ *+ * PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check the number of + * pages in your file and resubmit the request. + *
+ *+ * TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. Verify that + * your account has permission to use Amazon Textract API operations and + * resubmit the request. + *
+ *+ * NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON format. Verify + * the format and resubmit the request. + *
+ *+ * MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in your file and + * resubmit the request. + *
+ *+ * INVALID_DOCUMENT - Invalid document. Check the file and resubmit the + * request. + *
+ ** Returns a reference to this object so that method calls can be chained * together. @@ -109,8 +353,53 @@ public void setReason(String reason) { * PAGE_LIMIT_EXCEEDED, TEXTRACT_ACCESS_DENIED * * @param reason
- * Reason code is INVALID_DOCUMENT
.
+ * Reason codes include the following values:
+ *
+ * DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the + * size of your file and resubmit the request. + *
+ *+ * UNSUPPORTED_DOC_TYPE - Document type is not supported. Check + * the file type and resubmit the request. *
+ *+ * PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check + * the number of pages in your file and resubmit the request. + *
+ *+ * TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. + * Verify that your account has permission to use Amazon Textract + * API operations and resubmit the request. + *
+ *+ * NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON + * format. Verify the format and resubmit the request. + *
+ *+ * MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in + * your file and resubmit the request. + *
+ *+ * INVALID_DOCUMENT - Invalid document. Check the file and + * resubmit the request. + *
+ *
- * Reason code is INVALID_DOCUMENT
.
+ * Reason codes include the following values:
+ *
+ * DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the size of + * your file and resubmit the request. + *
+ *+ * UNSUPPORTED_DOC_TYPE - Document type is not supported. Check the file + * type and resubmit the request. + *
+ *+ * PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check the number of + * pages in your file and resubmit the request. + *
+ *+ * TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. Verify that + * your account has permission to use Amazon Textract API operations and + * resubmit the request. + *
+ *+ * NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON format. Verify + * the format and resubmit the request. *
+ *+ * MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in your file and + * resubmit the request. + *
+ *+ * INVALID_DOCUMENT - Invalid document. Check the file and resubmit the + * request. + *
+ *
* Constraints:
* Allowed Values: DOCUMENT_SIZE_EXCEEDED, UNSUPPORTED_DOC_TYPE,
* PAGE_LIMIT_EXCEEDED, TEXTRACT_ACCESS_DENIED
*
* @param reason
- * Reason code is INVALID_DOCUMENT
.
+ * Reason codes include the following values:
+ *
+ * DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the + * size of your file and resubmit the request. + *
+ *+ * UNSUPPORTED_DOC_TYPE - Document type is not supported. Check + * the file type and resubmit the request. + *
+ *+ * PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check + * the number of pages in your file and resubmit the request. + *
+ *+ * TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. + * Verify that your account has permission to use Amazon Textract + * API operations and resubmit the request. + *
+ *+ * NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON + * format. Verify the format and resubmit the request. *
+ *+ * MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in + * your file and resubmit the request. + *
+ *+ * INVALID_DOCUMENT - Invalid document. Check the file and + * resubmit the request. + *
+ *
- * Reason code is INVALID_DOCUMENT
.
+ * Reason codes include the following values:
+ *
+ * DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the size of + * your file and resubmit the request. + *
+ *+ * UNSUPPORTED_DOC_TYPE - Document type is not supported. Check the file + * type and resubmit the request. + *
+ *+ * PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check the number of + * pages in your file and resubmit the request. *
+ *+ * TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. Verify that + * your account has permission to use Amazon Textract API operations and + * resubmit the request. + *
+ *+ * NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON format. Verify + * the format and resubmit the request. + *
+ *+ * MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in your file and + * resubmit the request. + *
+ *+ * INVALID_DOCUMENT - Invalid document. Check the file and resubmit the + * request. + *
+ ** Returns a reference to this object so that method calls can be chained * together. @@ -151,8 +575,53 @@ public void setReason(InvalidRequestDetailReason reason) { * PAGE_LIMIT_EXCEEDED, TEXTRACT_ACCESS_DENIED * * @param reason
- * Reason code is INVALID_DOCUMENT
.
+ * Reason codes include the following values:
+ *
+ * DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the + * size of your file and resubmit the request. + *
+ *+ * UNSUPPORTED_DOC_TYPE - Document type is not supported. Check + * the file type and resubmit the request. + *
+ *+ * PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check + * the number of pages in your file and resubmit the request. + *
+ *+ * TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. + * Verify that your account has permission to use Amazon Textract + * API operations and resubmit the request. + *
+ *+ * NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON + * format. Verify the format and resubmit the request. + *
+ *+ * MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in + * your file and resubmit the request. + *
+ *+ * INVALID_DOCUMENT - Invalid document. Check the file and + * resubmit the request. *
+ *- * Provides additional detail about why the request failed: + * Provides additional detail about why the request failed. *
- *- * Document size is too large - Check the size of your file and resubmit the - * request. - *
- *- * Document type is not supported - Check the file type and resubmit the - * request. - *
- *- * Too many pages in the document - Check the number of pages in your file - * and resubmit the request. - *
- *- * Access denied to Amazon Textract - Verify that your account has - * permission to use Amazon Textract API operations and resubmit the - * request. - *
- *- * Provides additional detail about why the request failed: - *
- *- * Document size is too large - Check the size of your file and resubmit the - * request. - *
- *- * Document type is not supported - Check the file type and resubmit the - * request. - *
- *- * Too many pages in the document - Check the number of pages in your file - * and resubmit the request. - *
- *- * Access denied to Amazon Textract - Verify that your account has - * permission to use Amazon Textract API operations and resubmit the - * request. + * Provides additional detail about why the request failed. *
- *- * Provides additional detail about why the request failed: + * Provides additional detail about why the request failed. *
- *- * Document size is too large - Check the size of your file and - * resubmit the request. - *
- *- * Document type is not supported - Check the file type and resubmit - * the request. - *
- *- * Too many pages in the document - Check the number of pages in - * your file and resubmit the request. - *
- *- * Access denied to Amazon Textract - Verify that your account has - * permission to use Amazon Textract API operations and resubmit the - * request. - *
- *- * Provides additional detail about why the request failed: - *
- *- * Document size is too large - Check the size of your file and resubmit the - * request. - *
- *- * Document type is not supported - Check the file type and resubmit the - * request. + * Provides additional detail about why the request failed. *
- *- * Too many pages in the document - Check the number of pages in your file - * and resubmit the request. - *
- *- * Access denied to Amazon Textract - Verify that your account has - * permission to use Amazon Textract API operations and resubmit the - * request. - *
- *- * Provides additional detail about why the request failed: - *
- *- * Document size is too large - Check the size of your file and - * resubmit the request. - *
- *- * Document type is not supported - Check the file type and - * resubmit the request. - *
- *- * Too many pages in the document - Check the number of pages in - * your file and resubmit the request. - *
- *- * Access denied to Amazon Textract - Verify that your account - * has permission to use Amazon Textract API operations and - * resubmit the request. + * Provides additional detail about why the request failed. *
- ** For more information about targeted sentiment, see Targeted sentiment. + * >Targeted sentiment in the Amazon Comprehend Developer Guide. *
*/ public class MentionSentiment implements Serializable { diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ModelStatus.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ModelStatus.java index 70d437fabf..86c1f40e9c 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ModelStatus.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ModelStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ModelType.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ModelType.java index 7a2974de9a..6a2f79f7fc 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ModelType.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ModelType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/OutputDataConfig.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/OutputDataConfig.java index 0a7ae95b6c..292417bff0 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/OutputDataConfig.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/OutputDataConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -55,7 +55,11 @@ public class OutputDataConfig implements Serializable { ** ID for the Amazon Web Services Key Management Service (KMS) key that * Amazon Comprehend uses to encrypt the output results from an analysis - * job. The KmsKeyId can be one of the following formats: + * job. Specify the Key Id of a symmetric key, because you cannot use an + * asymmetric key for uploading data to S3. + *
+ *+ * The KmsKeyId can be one of the following formats: *
** ID for the Amazon Web Services Key Management Service (KMS) key that * Amazon Comprehend uses to encrypt the output results from an analysis - * job. The KmsKeyId can be one of the following formats: + * job. Specify the Key Id of a symmetric key, because you cannot use an + * asymmetric key for uploading data to S3. + *
+ *+ * The KmsKeyId can be one of the following formats: *
** ID for the Amazon Web Services Key Management Service (KMS) key * that Amazon Comprehend uses to encrypt the output results from an - * analysis job. The KmsKeyId can be one of the following formats: + * analysis job. Specify the Key Id of a symmetric key, because you + * cannot use an asymmetric key for uploading data to S3. + *
+ *+ * The KmsKeyId can be one of the following formats: *
** ID for the Amazon Web Services Key Management Service (KMS) key that * Amazon Comprehend uses to encrypt the output results from an analysis - * job. The KmsKeyId can be one of the following formats: + * job. Specify the Key Id of a symmetric key, because you cannot use an + * asymmetric key for uploading data to S3. + *
+ *+ * The KmsKeyId can be one of the following formats: *
** ID for the Amazon Web Services Key Management Service (KMS) * key that Amazon Comprehend uses to encrypt the output results - * from an analysis job. The KmsKeyId can be one of the following - * formats: + * from an analysis job. Specify the Key Id of a symmetric key, + * because you cannot use an asymmetric key for uploading data to + * S3. + *
+ *+ * The KmsKeyId can be one of the following formats: *
** ID for the Amazon Web Services Key Management Service (KMS) key that * Amazon Comprehend uses to encrypt the output results from an analysis - * job. The KmsKeyId can be one of the following formats: + * job. Specify the Key Id of a symmetric key, because you cannot use an + * asymmetric key for uploading data to S3. + *
+ *+ * The KmsKeyId can be one of the following formats: *
** ID for the Amazon Web Services Key Management Service (KMS) * key that Amazon Comprehend uses to encrypt the output results - * from an analysis job. The KmsKeyId can be one of the following - * formats: + * from an analysis job. Specify the Key Id of a symmetric key, + * because you cannot use an asymmetric key for uploading data to + * S3. + *
+ *+ * The KmsKeyId can be one of the following formats: *
*- * The language code of the input documents + * The language code of the input documents. *
*
* Constraints:
@@ -868,14 +868,14 @@ public PiiEntitiesDetectionJobProperties withRedactionConfig(RedactionConfig red
/**
*
- * The language code of the input documents + * The language code of the input documents. *
*
* Constraints:
* Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
*
* @return
- * The language code of the input documents + * The language code of the input documents. *
* @see LanguageCode */ @@ -885,14 +885,14 @@ public String getLanguageCode() { /** *- * The language code of the input documents + * The language code of the input documents. *
*
* Constraints:
* Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
*
* @param languageCode
- * The language code of the input documents + * The language code of the input documents. *
* @see LanguageCode */ @@ -902,7 +902,7 @@ public void setLanguageCode(String languageCode) { /** *- * The language code of the input documents + * The language code of the input documents. *
** Returns a reference to this object so that method calls can be chained @@ -912,7 +912,7 @@ public void setLanguageCode(String languageCode) { * Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW * * @param languageCode
- * The language code of the input documents + * The language code of the input documents. *
* @return A reference to this updated object so that method calls can be * chained together. @@ -925,14 +925,14 @@ public PiiEntitiesDetectionJobProperties withLanguageCode(String languageCode) { /** *- * The language code of the input documents + * The language code of the input documents. *
*
* Constraints:
* Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
*
* @param languageCode
- * The language code of the input documents + * The language code of the input documents. *
* @see LanguageCode */ @@ -942,7 +942,7 @@ public void setLanguageCode(LanguageCode languageCode) { /** *- * The language code of the input documents + * The language code of the input documents. *
** Returns a reference to this object so that method calls can be chained @@ -952,7 +952,7 @@ public void setLanguageCode(LanguageCode languageCode) { * Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW * * @param languageCode
- * The language code of the input documents + * The language code of the input documents. *
* @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiEntitiesDetectionMaskMode.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiEntitiesDetectionMaskMode.java index 6dffec2662..c13692390e 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiEntitiesDetectionMaskMode.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiEntitiesDetectionMaskMode.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiEntitiesDetectionMode.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiEntitiesDetectionMode.java index a0e498748c..26bd7f3e40 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiEntitiesDetectionMode.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiEntitiesDetectionMode.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiEntity.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiEntity.java index ae361d5fee..816fb8e163 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiEntity.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiEntity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiEntityType.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiEntityType.java index 6017b52924..1a8199f871 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiEntityType.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiEntityType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiOutputDataConfig.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiOutputDataConfig.java index 3f6e65a25c..24a08c95b1 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiOutputDataConfig.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PiiOutputDataConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/Point.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/Point.java index 6e43b56669..9b86802c01 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/Point.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/Point.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PutResourcePolicyRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PutResourcePolicyRequest.java index f3080e36eb..1c2c38caa3 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PutResourcePolicyRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PutResourcePolicyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PutResourcePolicyResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PutResourcePolicyResult.java index e76fbd663a..4e71c92191 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PutResourcePolicyResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/PutResourcePolicyResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/RedactionConfig.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/RedactionConfig.java index 81453c1396..3e22d667d7 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/RedactionConfig.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/RedactionConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/RelationshipType.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/RelationshipType.java index 4591cefe7a..e1cd8276bf 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/RelationshipType.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/RelationshipType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/RelationshipsListItem.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/RelationshipsListItem.java index 1038ed75fc..73bc4c12ec 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/RelationshipsListItem.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/RelationshipsListItem.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ResourceInUseException.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ResourceInUseException.java index 3007258d4d..e454467e0c 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ResourceInUseException.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ResourceInUseException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ResourceLimitExceededException.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ResourceLimitExceededException.java index e86df888ee..7370297fed 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ResourceLimitExceededException.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ResourceLimitExceededException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ResourceNotFoundException.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ResourceNotFoundException.java index 7a2b8fb6c7..5784cc107e 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ResourceNotFoundException.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ResourceNotFoundException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ResourceUnavailableException.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ResourceUnavailableException.java index 013eb44953..ae3df9147e 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ResourceUnavailableException.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ResourceUnavailableException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SentimentDetectionJobFilter.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SentimentDetectionJobFilter.java index 446351c0d5..d9405179d5 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SentimentDetectionJobFilter.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SentimentDetectionJobFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SentimentDetectionJobProperties.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SentimentDetectionJobProperties.java index b1f35d64d5..80b460d13c 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SentimentDetectionJobProperties.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SentimentDetectionJobProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SentimentScore.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SentimentScore.java index 4df19579e9..3397f367c7 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SentimentScore.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SentimentScore.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SentimentType.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SentimentType.java index 61e31b064d..c42271b308 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SentimentType.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SentimentType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/Split.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/Split.java index ac0fb24c4f..d41b47b958 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/Split.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/Split.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartDocumentClassificationJobRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartDocumentClassificationJobRequest.java index 0c0e942fcc..e77bf1738a 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartDocumentClassificationJobRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartDocumentClassificationJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ /** *
- * Starts an asynchronous document classification job. Use the
- * DescribeDocumentClassificationJob
operation to track the
- * progress of the job.
+ * Starts an asynchronous document classification job using a custom
+ * classification model. Use the DescribeDocumentClassificationJob
+ * operation to track the progress of the job.
*
- * The language of the input documents. Currently, English is the only valid - * language. + * The language of the input documents. Enter the language code for English + * (en) or Spanish (es). *
*
* Constraints:
@@ -529,16 +529,16 @@ public StartPiiEntitiesDetectionJobRequest withJobName(String jobName) {
/**
*
- * The language of the input documents. Currently, English is the only valid - * language. + * The language of the input documents. Enter the language code for English + * (en) or Spanish (es). *
*
* Constraints:
* Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
*
* @return
- * The language of the input documents. Currently, English is the - * only valid language. + * The language of the input documents. Enter the language code for + * English (en) or Spanish (es). *
* @see LanguageCode */ @@ -548,16 +548,16 @@ public String getLanguageCode() { /** *- * The language of the input documents. Currently, English is the only valid - * language. + * The language of the input documents. Enter the language code for English + * (en) or Spanish (es). *
*
* Constraints:
* Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
*
* @param languageCode
- * The language of the input documents. Currently, English is the - * only valid language. + * The language of the input documents. Enter the language code + * for English (en) or Spanish (es). *
* @see LanguageCode */ @@ -567,8 +567,8 @@ public void setLanguageCode(String languageCode) { /** *- * The language of the input documents. Currently, English is the only valid - * language. + * The language of the input documents. Enter the language code for English + * (en) or Spanish (es). *
** Returns a reference to this object so that method calls can be chained @@ -578,8 +578,8 @@ public void setLanguageCode(String languageCode) { * Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW * * @param languageCode
- * The language of the input documents. Currently, English is the - * only valid language. + * The language of the input documents. Enter the language code + * for English (en) or Spanish (es). *
* @return A reference to this updated object so that method calls can be * chained together. @@ -592,16 +592,16 @@ public StartPiiEntitiesDetectionJobRequest withLanguageCode(String languageCode) /** *- * The language of the input documents. Currently, English is the only valid - * language. + * The language of the input documents. Enter the language code for English + * (en) or Spanish (es). *
*
* Constraints:
* Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
*
* @param languageCode
- * The language of the input documents. Currently, English is the - * only valid language. + * The language of the input documents. Enter the language code + * for English (en) or Spanish (es). *
* @see LanguageCode */ @@ -611,8 +611,8 @@ public void setLanguageCode(LanguageCode languageCode) { /** *- * The language of the input documents. Currently, English is the only valid - * language. + * The language of the input documents. Enter the language code for English + * (en) or Spanish (es). *
** Returns a reference to this object so that method calls can be chained @@ -622,8 +622,8 @@ public void setLanguageCode(LanguageCode languageCode) { * Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW * * @param languageCode
- * The language of the input documents. Currently, English is the - * only valid language. + * The language of the input documents. Enter the language code + * for English (en) or Spanish (es). *
* @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartPiiEntitiesDetectionJobResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartPiiEntitiesDetectionJobResult.java index 511b3c4a87..df0b21e704 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartPiiEntitiesDetectionJobResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartPiiEntitiesDetectionJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartSentimentDetectionJobRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartSentimentDetectionJobRequest.java index f2b8d249d4..173b704cb0 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartSentimentDetectionJobRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartSentimentDetectionJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartSentimentDetectionJobResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartSentimentDetectionJobResult.java index 897821241a..2415d8a054 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartSentimentDetectionJobResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartSentimentDetectionJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartTargetedSentimentDetectionJobRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartTargetedSentimentDetectionJobRequest.java index 623c0782b1..65a3b185c1 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartTargetedSentimentDetectionJobRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartTargetedSentimentDetectionJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -48,7 +48,7 @@ public class StartTargetedSentimentDetectionJobRequest extends AmazonWebServiceR * The Amazon Resource Name (ARN) of the IAM role that grants Amazon * Comprehend read access to your input data. For more information, see Role-based permissions. * *@@ -244,7 +244,7 @@ public StartTargetedSentimentDetectionJobRequest withOutputDataConfig( * The Amazon Resource Name (ARN) of the IAM role that grants Amazon * Comprehend read access to your input data. For more information, see Role-based permissions. *
*@@ -256,7 +256,7 @@ public StartTargetedSentimentDetectionJobRequest withOutputDataConfig( * The Amazon Resource Name (ARN) of the IAM role that grants Amazon * Comprehend read access to your input data. For more information, * see Role-based permissions. *
*/ @@ -269,7 +269,7 @@ public String getDataAccessRoleArn() { * The Amazon Resource Name (ARN) of the IAM role that grants Amazon * Comprehend read access to your input data. For more information, see Role-based permissions. * *@@ -281,7 +281,7 @@ public String getDataAccessRoleArn() { * The Amazon Resource Name (ARN) of the IAM role that grants * Amazon Comprehend read access to your input data. For more * information, see Role-based permissions. *
*/ @@ -294,7 +294,7 @@ public void setDataAccessRoleArn(String dataAccessRoleArn) { * The Amazon Resource Name (ARN) of the IAM role that grants Amazon * Comprehend read access to your input data. For more information, see Role-based permissions. * *@@ -309,7 +309,7 @@ public void setDataAccessRoleArn(String dataAccessRoleArn) { * The Amazon Resource Name (ARN) of the IAM role that grants * Amazon Comprehend read access to your input data. For more * information, see Role-based permissions. *
* @return A reference to this updated object so that method calls can be diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartTargetedSentimentDetectionJobResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartTargetedSentimentDetectionJobResult.java index 48256ae156..1f4bc334e8 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartTargetedSentimentDetectionJobResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartTargetedSentimentDetectionJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartTopicsDetectionJobRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartTopicsDetectionJobRequest.java index f968a888ad..8f19d32370 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartTopicsDetectionJobRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartTopicsDetectionJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartTopicsDetectionJobResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartTopicsDetectionJobResult.java index f497ab2f9d..5077742535 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartTopicsDetectionJobResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StartTopicsDetectionJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopDominantLanguageDetectionJobRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopDominantLanguageDetectionJobRequest.java index 2d1d4244db..abcc8250ae 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopDominantLanguageDetectionJobRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopDominantLanguageDetectionJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopDominantLanguageDetectionJobResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopDominantLanguageDetectionJobResult.java index 4e8f66509e..f157dd5455 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopDominantLanguageDetectionJobResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopDominantLanguageDetectionJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopEntitiesDetectionJobRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopEntitiesDetectionJobRequest.java index 01abadcbd1..0fc2af975b 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopEntitiesDetectionJobRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopEntitiesDetectionJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopEntitiesDetectionJobResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopEntitiesDetectionJobResult.java index 981fb9228b..4629c18c11 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopEntitiesDetectionJobResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopEntitiesDetectionJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopEventsDetectionJobRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopEventsDetectionJobRequest.java index 4b730e3f93..bc2427de29 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopEventsDetectionJobRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopEventsDetectionJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopEventsDetectionJobResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopEventsDetectionJobResult.java index 4e105268ea..618a1f071c 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopEventsDetectionJobResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopEventsDetectionJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopKeyPhrasesDetectionJobRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopKeyPhrasesDetectionJobRequest.java index 674f598665..24f4eaafc9 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopKeyPhrasesDetectionJobRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopKeyPhrasesDetectionJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopKeyPhrasesDetectionJobResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopKeyPhrasesDetectionJobResult.java index 65cd032c44..139c8b2c7a 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopKeyPhrasesDetectionJobResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopKeyPhrasesDetectionJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopPiiEntitiesDetectionJobRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopPiiEntitiesDetectionJobRequest.java index 662466f721..a36e939c2c 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopPiiEntitiesDetectionJobRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopPiiEntitiesDetectionJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopPiiEntitiesDetectionJobResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopPiiEntitiesDetectionJobResult.java index 78f04a0abf..06904cc0e1 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopPiiEntitiesDetectionJobResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopPiiEntitiesDetectionJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopSentimentDetectionJobRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopSentimentDetectionJobRequest.java index 345d491150..96fabddbfc 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopSentimentDetectionJobRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopSentimentDetectionJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopSentimentDetectionJobResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopSentimentDetectionJobResult.java index bef3e739a0..7732b410b5 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopSentimentDetectionJobResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopSentimentDetectionJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTargetedSentimentDetectionJobRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTargetedSentimentDetectionJobRequest.java index 91cc6aaae6..a5707f5c29 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTargetedSentimentDetectionJobRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTargetedSentimentDetectionJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTargetedSentimentDetectionJobResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTargetedSentimentDetectionJobResult.java index 16b7a1f21c..b6f74b9e93 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTargetedSentimentDetectionJobResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTargetedSentimentDetectionJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTrainingDocumentClassifierRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTrainingDocumentClassifierRequest.java index aa7b83516e..e909f35094 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTrainingDocumentClassifierRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTrainingDocumentClassifierRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTrainingDocumentClassifierResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTrainingDocumentClassifierResult.java index 31fedc9405..30e886efc1 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTrainingDocumentClassifierResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTrainingDocumentClassifierResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTrainingEntityRecognizerRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTrainingEntityRecognizerRequest.java index ba62700c77..7eb33f2dc5 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTrainingEntityRecognizerRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTrainingEntityRecognizerRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTrainingEntityRecognizerResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTrainingEntityRecognizerResult.java index 7f6577b869..84a4be74ce 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTrainingEntityRecognizerResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/StopTrainingEntityRecognizerResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SyntaxLanguageCode.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SyntaxLanguageCode.java index 120038d38b..8d6cf3d544 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SyntaxLanguageCode.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SyntaxLanguageCode.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SyntaxToken.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SyntaxToken.java index 1f33980cd1..7664c858d5 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SyntaxToken.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SyntaxToken.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/Tag.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/Tag.java index a8772090e0..55091c06b4 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/Tag.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/Tag.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TagResourceRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TagResourceRequest.java index 2ee3ec28d1..5ad4dac4d2 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TagResourceRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TagResourceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TagResourceResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TagResourceResult.java index 2b7b29d795..eceb56d42b 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TagResourceResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TagResourceResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentDetectionJobFilter.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentDetectionJobFilter.java index 6f45159f6a..304262180b 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentDetectionJobFilter.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentDetectionJobFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentDetectionJobProperties.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentDetectionJobProperties.java index 7530bbcc85..834ccc0a01 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentDetectionJobProperties.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentDetectionJobProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentEntity.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentEntity.java index 98bcfee6b1..7b96606cb8 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentEntity.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentEntity.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -24,7 +24,7 @@ ** For more information about targeted sentiment, see Targeted sentiment. + * >Targeted sentiment in the Amazon Comprehend Developer Guide. *
*/ public class TargetedSentimentEntity implements Serializable { diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentEntityType.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentEntityType.java index f3630fee42..a3b3cb3ff7 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentEntityType.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentEntityType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentMention.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentMention.java index 36cc2efdc7..081c852108 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentMention.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentMention.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -25,7 +25,7 @@ ** For more information about targeted sentiment, see Targeted sentiment. + * >Targeted sentiment in the Amazon Comprehend Developer Guide. *
*/ public class TargetedSentimentMention implements Serializable { diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TaskConfig.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TaskConfig.java index a9d9e7af7b..10f780bad4 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TaskConfig.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TaskConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ /** *- * Configuration about the custom classifier associated with the flywheel. + * Configuration about the model associated with a flywheel. *
*/ public class TaskConfig implements Serializable { @@ -35,7 +35,7 @@ public class TaskConfig implements Serializable { /** *- * Configuration required for a classification model. + * Configuration required for a document classification model. *
*/ private DocumentClassificationConfig documentClassificationConfig; @@ -146,11 +146,11 @@ public TaskConfig withLanguageCode(LanguageCode languageCode) { /** *- * Configuration required for a classification model. + * Configuration required for a document classification model. *
* * @return- * Configuration required for a classification model. + * Configuration required for a document classification model. *
*/ public DocumentClassificationConfig getDocumentClassificationConfig() { @@ -159,11 +159,11 @@ public DocumentClassificationConfig getDocumentClassificationConfig() { /** *- * Configuration required for a classification model. + * Configuration required for a document classification model. *
* * @param documentClassificationConfig- * Configuration required for a classification model. + * Configuration required for a document classification model. *
*/ public void setDocumentClassificationConfig( @@ -173,14 +173,14 @@ public void setDocumentClassificationConfig( /** *- * Configuration required for a classification model. + * Configuration required for a document classification model. *
** Returns a reference to this object so that method calls can be chained * together. * * @param documentClassificationConfig
- * Configuration required for a classification model. + * Configuration required for a document classification model. *
* @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TextSegment.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TextSegment.java new file mode 100644 index 0000000000..f3195f907d --- /dev/null +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TextSegment.java @@ -0,0 +1,133 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.comprehend.model; + +import java.io.Serializable; + +/** + *+ * One of the of text strings. Each string has a size limit of 1KB. + *
+ */ +public class TextSegment implements Serializable { + /** + *+ * The text content. + *
+ *
+ * Constraints:
+ * Length: 1 -
+ */
+ private String text;
+
+ /**
+ *
+ * The text content. + *
+ *
+ * Constraints:
+ * Length: 1 -
+ *
+ * @return
+ * The text content. + *
+ */ + public String getText() { + return text; + } + + /** + *+ * The text content. + *
+ *
+ * Constraints:
+ * Length: 1 -
+ *
+ * @param text
+ * The text content. + *
+ */ + public void setText(String text) { + this.text = text; + } + + /** + *+ * The text content. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + *
+ * Constraints:
+ * Length: 1 -
+ *
+ * @param text
+ * The text content. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public TextSegment withText(String text) { + this.text = text; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getText() != null) + sb.append("Text: " + getText()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getText() == null) ? 0 : getText().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof TextSegment == false) + return false; + TextSegment other = (TextSegment) obj; + + if (other.getText() == null ^ this.getText() == null) + return false; + if (other.getText() != null && other.getText().equals(this.getText()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TextSizeLimitExceededException.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TextSizeLimitExceededException.java index 910a9036b3..42bbfda703 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TextSizeLimitExceededException.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TextSizeLimitExceededException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TooManyRequestsException.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TooManyRequestsException.java index 9848dcdf1d..010882609d 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TooManyRequestsException.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TooManyRequestsException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TooManyTagKeysException.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TooManyTagKeysException.java index a3cd5a87bd..32598e321e 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TooManyTagKeysException.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TooManyTagKeysException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TooManyTagsException.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TooManyTagsException.java index 2e25b6216a..585b410a22 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TooManyTagsException.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TooManyTagsException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TopicsDetectionJobFilter.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TopicsDetectionJobFilter.java index 5679982733..2359095caa 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TopicsDetectionJobFilter.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TopicsDetectionJobFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TopicsDetectionJobProperties.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TopicsDetectionJobProperties.java index f1cc91bb37..642bff16b9 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TopicsDetectionJobProperties.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TopicsDetectionJobProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ToxicContent.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ToxicContent.java new file mode 100644 index 0000000000..3ccaf2c1a6 --- /dev/null +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ToxicContent.java @@ -0,0 +1,251 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.comprehend.model; + +import java.io.Serializable; + +/** + *+ * Toxic content analysis result for one string. For more information about + * toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide + *
+ */ +public class ToxicContent implements Serializable { + /** + *+ * The name of the toxic content type. + *
+ *
+ * Constraints:
+ * Allowed Values: GRAPHIC, HARASSMENT_OR_ABUSE, HATE_SPEECH, INSULT,
+ * PROFANITY, SEXUAL, VIOLENCE_OR_THREAT
+ */
+ private String name;
+
+ /**
+ *
+ * Model confidence in the detected content type. Value range is zero to + * one, where one is highest confidence. + *
+ */ + private Float score; + + /** + *+ * The name of the toxic content type. + *
+ *
+ * Constraints:
+ * Allowed Values: GRAPHIC, HARASSMENT_OR_ABUSE, HATE_SPEECH, INSULT,
+ * PROFANITY, SEXUAL, VIOLENCE_OR_THREAT
+ *
+ * @return
+ * The name of the toxic content type. + *
+ * @see ToxicContentType + */ + public String getName() { + return name; + } + + /** + *+ * The name of the toxic content type. + *
+ *
+ * Constraints:
+ * Allowed Values: GRAPHIC, HARASSMENT_OR_ABUSE, HATE_SPEECH, INSULT,
+ * PROFANITY, SEXUAL, VIOLENCE_OR_THREAT
+ *
+ * @param name
+ * The name of the toxic content type. + *
+ * @see ToxicContentType + */ + public void setName(String name) { + this.name = name; + } + + /** + *+ * The name of the toxic content type. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + *
+ * Constraints:
+ * Allowed Values: GRAPHIC, HARASSMENT_OR_ABUSE, HATE_SPEECH, INSULT,
+ * PROFANITY, SEXUAL, VIOLENCE_OR_THREAT
+ *
+ * @param name
+ * The name of the toxic content type. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + * @see ToxicContentType + */ + public ToxicContent withName(String name) { + this.name = name; + return this; + } + + /** + *+ * The name of the toxic content type. + *
+ *
+ * Constraints:
+ * Allowed Values: GRAPHIC, HARASSMENT_OR_ABUSE, HATE_SPEECH, INSULT,
+ * PROFANITY, SEXUAL, VIOLENCE_OR_THREAT
+ *
+ * @param name
+ * The name of the toxic content type. + *
+ * @see ToxicContentType + */ + public void setName(ToxicContentType name) { + this.name = name.toString(); + } + + /** + *+ * The name of the toxic content type. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + *
+ * Constraints:
+ * Allowed Values: GRAPHIC, HARASSMENT_OR_ABUSE, HATE_SPEECH, INSULT,
+ * PROFANITY, SEXUAL, VIOLENCE_OR_THREAT
+ *
+ * @param name
+ * The name of the toxic content type. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + * @see ToxicContentType + */ + public ToxicContent withName(ToxicContentType name) { + this.name = name.toString(); + return this; + } + + /** + *+ * Model confidence in the detected content type. Value range is zero to + * one, where one is highest confidence. + *
+ * + * @return+ * Model confidence in the detected content type. Value range is + * zero to one, where one is highest confidence. + *
+ */ + public Float getScore() { + return score; + } + + /** + *+ * Model confidence in the detected content type. Value range is zero to + * one, where one is highest confidence. + *
+ * + * @param score+ * Model confidence in the detected content type. Value range is + * zero to one, where one is highest confidence. + *
+ */ + public void setScore(Float score) { + this.score = score; + } + + /** + *+ * Model confidence in the detected content type. Value range is zero to + * one, where one is highest confidence. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + * + * @param score
+ * Model confidence in the detected content type. Value range is + * zero to one, where one is highest confidence. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ToxicContent withScore(Float score) { + this.score = score; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getName() != null) + sb.append("Name: " + getName() + ","); + if (getScore() != null) + sb.append("Score: " + getScore()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); + hashCode = prime * hashCode + ((getScore() == null) ? 0 : getScore().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof ToxicContent == false) + return false; + ToxicContent other = (ToxicContent) obj; + + if (other.getName() == null ^ this.getName() == null) + return false; + if (other.getName() != null && other.getName().equals(this.getName()) == false) + return false; + if (other.getScore() == null ^ this.getScore() == null) + return false; + if (other.getScore() != null && other.getScore().equals(this.getScore()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ToxicContentType.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ToxicContentType.java new file mode 100644 index 0000000000..dacdff27d8 --- /dev/null +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ToxicContentType.java @@ -0,0 +1,72 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.comprehend.model; + +import java.util.HashMap; +import java.util.Map; + +/** + * Toxic Content Type + */ +public enum ToxicContentType { + + GRAPHIC("GRAPHIC"), + HARASSMENT_OR_ABUSE("HARASSMENT_OR_ABUSE"), + HATE_SPEECH("HATE_SPEECH"), + INSULT("INSULT"), + PROFANITY("PROFANITY"), + SEXUAL("SEXUAL"), + VIOLENCE_OR_THREAT("VIOLENCE_OR_THREAT"); + + private String value; + + private ToxicContentType(String value) { + this.value = value; + } + + @Override + public String toString() { + return value; + } + + private static final Map+ * Toxicity analysis result for one string. For more information about toxicity + * detection, see Toxicity detection in the Amazon Comprehend Developer Guide. + *
+ */ +public class ToxicLabels implements Serializable { + /** + *+ * Array of toxic content types identified in the string. + *
+ */ + private java.util.List+ * Overall toxicity score for the string. Value range is zero to one, where + * one is the highest confidence. + *
+ */ + private Float toxicity; + + /** + *+ * Array of toxic content types identified in the string. + *
+ * + * @return+ * Array of toxic content types identified in the string. + *
+ */ + public java.util.List+ * Array of toxic content types identified in the string. + *
+ * + * @param labels+ * Array of toxic content types identified in the string. + *
+ */ + public void setLabels(java.util.Collection+ * Array of toxic content types identified in the string. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + * + * @param labels
+ * Array of toxic content types identified in the string. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ToxicLabels withLabels(ToxicContent... labels) { + if (getLabels() == null) { + this.labels = new java.util.ArrayList+ * Array of toxic content types identified in the string. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + * + * @param labels
+ * Array of toxic content types identified in the string. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ToxicLabels withLabels(java.util.Collection+ * Overall toxicity score for the string. Value range is zero to one, where + * one is the highest confidence. + *
+ * + * @return+ * Overall toxicity score for the string. Value range is zero to + * one, where one is the highest confidence. + *
+ */ + public Float getToxicity() { + return toxicity; + } + + /** + *+ * Overall toxicity score for the string. Value range is zero to one, where + * one is the highest confidence. + *
+ * + * @param toxicity+ * Overall toxicity score for the string. Value range is zero to + * one, where one is the highest confidence. + *
+ */ + public void setToxicity(Float toxicity) { + this.toxicity = toxicity; + } + + /** + *+ * Overall toxicity score for the string. Value range is zero to one, where + * one is the highest confidence. + *
+ *+ * Returns a reference to this object so that method calls can be chained + * together. + * + * @param toxicity
+ * Overall toxicity score for the string. Value range is zero to + * one, where one is the highest confidence. + *
+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ToxicLabels withToxicity(Float toxicity) { + this.toxicity = toxicity; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getLabels() != null) + sb.append("Labels: " + getLabels() + ","); + if (getToxicity() != null) + sb.append("Toxicity: " + getToxicity()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getLabels() == null) ? 0 : getLabels().hashCode()); + hashCode = prime * hashCode + ((getToxicity() == null) ? 0 : getToxicity().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof ToxicLabels == false) + return false; + ToxicLabels other = (ToxicLabels) obj; + + if (other.getLabels() == null ^ this.getLabels() == null) + return false; + if (other.getLabels() != null && other.getLabels().equals(this.getLabels()) == false) + return false; + if (other.getToxicity() == null ^ this.getToxicity() == null) + return false; + if (other.getToxicity() != null && other.getToxicity().equals(this.getToxicity()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UnsupportedLanguageException.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UnsupportedLanguageException.java index 22901dc54d..b26999731d 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UnsupportedLanguageException.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UnsupportedLanguageException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -19,9 +19,8 @@ /** *- * Amazon Comprehend can't process the language of the input text. For custom - * entity recognition APIs, only English, Spanish, French, Italian, German, or - * Portuguese are accepted. For a list of supported languages, Supported languages in the Comprehend Developer Guide. *
diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UntagResourceRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UntagResourceRequest.java index 4e88f8f093..3c21c06667 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UntagResourceRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UntagResourceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UntagResourceResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UntagResourceResult.java index 74b84f7b69..ea48f76828 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UntagResourceResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UntagResourceResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateDataSecurityConfig.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateDataSecurityConfig.java index 461f8afe0f..0e9fcbcad0 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateDataSecurityConfig.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateDataSecurityConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateEndpointRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateEndpointRequest.java index 3f0ef4ac21..6aa3dd5cfd 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateEndpointRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateEndpointRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateEndpointResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateEndpointResult.java index 4b5b4cd27e..db36f010a7 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateEndpointResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateEndpointResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateFlywheelRequest.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateFlywheelRequest.java index 54b11c6db9..2c6081f9bc 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateFlywheelRequest.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateFlywheelRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateFlywheelResult.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateFlywheelResult.java index d342c01722..200b59baf7 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateFlywheelResult.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateFlywheelResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/VpcConfig.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/VpcConfig.java index d8d41b52d1..285e03bec5 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/VpcConfig.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/VpcConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/WarningsListItem.java b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/WarningsListItem.java index debade6a59..3629dc0018 100644 --- a/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/WarningsListItem.java +++ b/aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/WarningsListItem.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -25,7 +25,8 @@ *- * The document to classify is plain text, but the classifier is a native model. + * The document to classify is plain text, but the classifier is a native + * document model. *
*