StopContinuousExport
Important
AWS Application Discovery Service will discontinue onboarding new customers starting November 7, 2025. If you would like to use the service, please sign up prior to November 7, 2025. Existing customers can continue to use the service as normal. For more information, see AWS Application Discovery Service availability change.
Stop the continuous flow of agent's discovered data into Amazon Athena.
Request Syntax
{
"exportId": "string
"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- exportId
-
The unique ID assigned to this export.
Type: String
Length Constraints: Maximum length of 200.
Pattern:
\S*
Required: Yes
Response Syntax
{
"startTime": number,
"stopTime": number
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
Errors
For information about the errors that are common to all actions, see Common Errors.
- AuthorizationErrorException
-
The user does not have permission to perform the action. Check the IAM policy associated with this user.
HTTP Status Code: 400
- HomeRegionNotSetException
-
Important
AWS Application Discovery Service will discontinue onboarding new customers starting November 7, 2025. If you would like to use the service, please sign up prior to November 7, 2025. Existing customers can continue to use the service as normal. For more information, see AWS Application Discovery Service availability change.
The home Region is not set. Set the home Region to continue.
HTTP Status Code: 400
- InvalidParameterException
-
One or more parameters are not valid. Verify the parameters and try again.
HTTP Status Code: 400
- InvalidParameterValueException
-
The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.
HTTP Status Code: 400
- OperationNotPermittedException
-
This operation is not permitted.
HTTP Status Code: 400
- ResourceInUseException
-
This issue occurs when the same
clientRequestToken
is used with theStartImportTask
action, but with different parameters. For example, you use the same request token but have two different import URLs, you can encounter this issue. If the import tasks are meant to be different, use a differentclientRequestToken
, and try again.HTTP Status Code: 400
- ResourceNotFoundException
-
The specified configuration ID was not located. Verify the configuration ID and try again.
HTTP Status Code: 400
- ServerInternalErrorException
-
The server experienced an internal error. Try again.
HTTP Status Code: 500
Examples
Stop a continuous export.
The following example shows the request and response of stopping a particular
continuous export specified by passing in a value to exportId
.
Sample Request
{
"exportId": "continuous-export-181b77c3-7jf3-4610-924e-7acafe5bbc59"
}
Sample Response
{
"ApplicationStatus": "IN_PROGRESS",
"LastUpdatedTime": 1493405005.639
}
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: