Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geo Update models to latest #3020

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,54 @@ GetMapStyleDescriptorResult getMapStyleDescriptor(
GetMapTileResult getMapTile(GetMapTileRequest getMapTileRequest) throws AmazonClientException,
AmazonServiceException;

/**
* <p>
* Finds a place by its unique ID. A <code>PlaceId</code> is returned by
* other search operations.
* </p>
* <note>
* <p>
* A PlaceId is valid only if all of the following are the same in the
* original search request and the call to <code>GetPlace</code>.
* </p>
* <ul>
* <li>
* <p>
* Customer AWS account
* </p>
* </li>
* <li>
* <p>
* AWS Region
* </p>
* </li>
* <li>
* <p>
* Data provider specified in the place index resource
* </p>
* </li>
* </ul>
* </note>
*
* @param getPlaceRequest
* @return getPlaceResult The response from the GetPlace service method, as
* returned by AWS Location service.
* @throws InternalServerException
* @throws ResourceNotFoundException
* @throws AccessDeniedException
* @throws ValidationException
* @throws ThrottlingException
* @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 AWS
* Location service indicating either a problem with the data in
* the request, or a server side issue.
*/
GetPlaceResult getPlace(GetPlaceRequest getPlaceRequest) throws AmazonClientException,
AmazonServiceException;

/**
* <p>
* A batch request to retrieve all device positions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2305,6 +2305,80 @@ public GetMapTileResult getMapTile(GetMapTileRequest getMapTileRequest)
}
}

/**
* <p>
* Finds a place by its unique ID. A <code>PlaceId</code> is returned by
* other search operations.
* </p>
* <note>
* <p>
* A PlaceId is valid only if all of the following are the same in the
* original search request and the call to <code>GetPlace</code>.
* </p>
* <ul>
* <li>
* <p>
* Customer AWS account
* </p>
* </li>
* <li>
* <p>
* AWS Region
* </p>
* </li>
* <li>
* <p>
* Data provider specified in the place index resource
* </p>
* </li>
* </ul>
* </note>
*
* @param getPlaceRequest
* @return getPlaceResult The response from the GetPlace service method, as
* returned by AWS Location service.
* @throws InternalServerException
* @throws ResourceNotFoundException
* @throws AccessDeniedException
* @throws ValidationException
* @throws ThrottlingException
* @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 AWS
* Location service indicating either a problem with the data in
* the request, or a server side issue.
*/
public GetPlaceResult getPlace(GetPlaceRequest getPlaceRequest)
throws AmazonServiceException, AmazonClientException {
ExecutionContext executionContext = createExecutionContext(getPlaceRequest);
AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
awsRequestMetrics.startEvent(Field.ClientExecuteTime);
Request<GetPlaceRequest> request = null;
Response<GetPlaceResult> response = null;
try {
awsRequestMetrics.startEvent(Field.RequestMarshallTime);
try {
request = new GetPlaceRequestMarshaller().marshall(getPlaceRequest);
// Binds the request metrics to the current request.
request.setAWSRequestMetrics(awsRequestMetrics);
} finally {
awsRequestMetrics.endEvent(Field.RequestMarshallTime);
}
Unmarshaller<GetPlaceResult, JsonUnmarshallerContext> unmarshaller = new GetPlaceResultJsonUnmarshaller();
JsonResponseHandler<GetPlaceResult> responseHandler = new JsonResponseHandler<GetPlaceResult>(
unmarshaller);

response = invoke(request, responseHandler, executionContext);

return response.getAwsResponse();
} finally {
awsRequestMetrics.endEvent(Field.ClientExecuteTime);
endClientExecution(awsRequestMetrics, request, response, LOGGING_AWS_REQUEST_METRIC);
}
}

/**
* <p>
* A batch request to retrieve all device positions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ public class CreateMapResult implements Serializable {
* <b>Constraints:</b><br/>
* <b>Length: </b>0 - 1600<br/>
* <b>Pattern:
* </b>^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-
* 9]+)*)?){2}:([^/].*)?$<br/>
* </b>^arn(:[a-z0-9]+([.-][a-z0-9]+)*):geo(:([a-z0-9]+([.-][a-z0
* -9]+)*))(:[0-9]+):((\*)|([-a-z]+[/][*-._\w]+))$<br/>
*/
private String mapArn;

Expand Down Expand Up @@ -136,8 +136,8 @@ public CreateMapResult withCreateTime(java.util.Date createTime) {
* <b>Constraints:</b><br/>
* <b>Length: </b>0 - 1600<br/>
* <b>Pattern:
* </b>^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-
* 9]+)*)?){2}:([^/].*)?$<br/>
* </b>^arn(:[a-z0-9]+([.-][a-z0-9]+)*):geo(:([a-z0-9]+([.-][a-z0
* -9]+)*))(:[0-9]+):((\*)|([-a-z]+[/][*-._\w]+))$<br/>
*
* @return <p>
* The Amazon Resource Name (ARN) for the map resource. Used to
Expand Down Expand Up @@ -173,8 +173,8 @@ public String getMapArn() {
* <b>Constraints:</b><br/>
* <b>Length: </b>0 - 1600<br/>
* <b>Pattern:
* </b>^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-
* 9]+)*)?){2}:([^/].*)?$<br/>
* </b>^arn(:[a-z0-9]+([.-][a-z0-9]+)*):geo(:([a-z0-9]+([.-][a-z0
* -9]+)*))(:[0-9]+):((\*)|([-a-z]+[/][*-._\w]+))$<br/>
*
* @param mapArn <p>
* The Amazon Resource Name (ARN) for the map resource. Used to
Expand Down Expand Up @@ -213,8 +213,8 @@ public void setMapArn(String mapArn) {
* <b>Constraints:</b><br/>
* <b>Length: </b>0 - 1600<br/>
* <b>Pattern:
* </b>^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-
* 9]+)*)?){2}:([^/].*)?$<br/>
* </b>^arn(:[a-z0-9]+([.-][a-z0-9]+)*):geo(:([a-z0-9]+([.-][a-z0
* -9]+)*))(:[0-9]+):((\*)|([-a-z]+[/][*-._\w]+))$<br/>
*
* @param mapArn <p>
* The Amazon Resource Name (ARN) for the map resource. Used to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ public class DescribeMapResult implements Serializable {
* <b>Constraints:</b><br/>
* <b>Length: </b>0 - 1600<br/>
* <b>Pattern:
* </b>^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-
* 9]+)*)?){2}:([^/].*)?$<br/>
* </b>^arn(:[a-z0-9]+([.-][a-z0-9]+)*):geo(:([a-z0-9]+([.-][a-z0
* -9]+)*))(:[0-9]+):((\*)|([-a-z]+[/][*-._\w]+))$<br/>
*/
private String mapArn;

Expand Down Expand Up @@ -334,8 +334,8 @@ public DescribeMapResult withDescription(String description) {
* <b>Constraints:</b><br/>
* <b>Length: </b>0 - 1600<br/>
* <b>Pattern:
* </b>^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-
* 9]+)*)?){2}:([^/].*)?$<br/>
* </b>^arn(:[a-z0-9]+([.-][a-z0-9]+)*):geo(:([a-z0-9]+([.-][a-z0
* -9]+)*))(:[0-9]+):((\*)|([-a-z]+[/][*-._\w]+))$<br/>
*
* @return <p>
* The Amazon Resource Name (ARN) for the map resource. Used to
Expand Down Expand Up @@ -371,8 +371,8 @@ public String getMapArn() {
* <b>Constraints:</b><br/>
* <b>Length: </b>0 - 1600<br/>
* <b>Pattern:
* </b>^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-
* 9]+)*)?){2}:([^/].*)?$<br/>
* </b>^arn(:[a-z0-9]+([.-][a-z0-9]+)*):geo(:([a-z0-9]+([.-][a-z0
* -9]+)*))(:[0-9]+):((\*)|([-a-z]+[/][*-._\w]+))$<br/>
*
* @param mapArn <p>
* The Amazon Resource Name (ARN) for the map resource. Used to
Expand Down Expand Up @@ -411,8 +411,8 @@ public void setMapArn(String mapArn) {
* <b>Constraints:</b><br/>
* <b>Length: </b>0 - 1600<br/>
* <b>Pattern:
* </b>^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-
* 9]+)*)?){2}:([^/].*)?$<br/>
* </b>^arn(:[a-z0-9]+([.-][a-z0-9]+)*):geo(:([a-z0-9]+([.-][a-z0
* -9]+)*))(:[0-9]+):((\*)|([-a-z]+[/][*-._\w]+))$<br/>
*
* @param mapArn <p>
* The Amazon Resource Name (ARN) for the map resource. Used to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public class GetMapSpritesRequest extends AmazonWebServiceRequest implements Ser
* </li>
* </ul>
* <p>
* For the JSON document contain image offsets. Use the following file names:
* For the JSON document containing image offsets. Use the following file
* names:
* </p>
* <ul>
* <li>
Expand Down Expand Up @@ -94,7 +95,8 @@ public class GetMapSpritesRequest extends AmazonWebServiceRequest implements Ser
* </li>
* </ul>
* <p>
* For the JSON document contain image offsets. Use the following file names:
* For the JSON document containing image offsets. Use the following file
* names:
* </p>
* <ul>
* <li>
Expand Down Expand Up @@ -129,7 +131,7 @@ public class GetMapSpritesRequest extends AmazonWebServiceRequest implements Ser
* </li>
* </ul>
* <p>
* For the JSON document contain image offsets. Use the following
* For the JSON document containing image offsets. Use the following
* file names:
* </p>
* <ul>
Expand Down Expand Up @@ -167,7 +169,8 @@ public String getFileName() {
* </li>
* </ul>
* <p>
* For the JSON document contain image offsets. Use the following file names:
* For the JSON document containing image offsets. Use the following file
* names:
* </p>
* <ul>
* <li>
Expand Down Expand Up @@ -202,8 +205,8 @@ public String getFileName() {
* </li>
* </ul>
* <p>
* For the JSON document contain image offsets. Use the following
* file names:
* For the JSON document containing image offsets. Use the
* following file names:
* </p>
* <ul>
* <li>
Expand Down Expand Up @@ -240,7 +243,8 @@ public void setFileName(String fileName) {
* </li>
* </ul>
* <p>
* For the JSON document contain image offsets. Use the following file names:
* For the JSON document containing image offsets. Use the following file
* names:
* </p>
* <ul>
* <li>
Expand Down Expand Up @@ -278,8 +282,8 @@ public void setFileName(String fileName) {
* </li>
* </ul>
* <p>
* For the JSON document contain image offsets. Use the following
* file names:
* For the JSON document containing image offsets. Use the
* following file names:
* </p>
* <ul>
* <li>
Expand Down
Loading