We are excited to announce our new API Documentation.
Protected
Gets information on the data source package history for an account.
Use a bare-bones client and the command you need to make an API call.
import { DetectiveClient, BatchGetMembershipDatasourcesCommand } from "@aws-sdk/client-detective"; // ES Modules import// const { DetectiveClient, BatchGetMembershipDatasourcesCommand } = require("@aws-sdk/client-detective"); // CommonJS importconst client = new DetectiveClient(config);const input = { // BatchGetMembershipDatasourcesRequest GraphArns: [ // GraphArnList // required "STRING_VALUE", ],};const command = new BatchGetMembershipDatasourcesCommand(input);const response = await client.send(command);// { // BatchGetMembershipDatasourcesResponse// MembershipDatasources: [ // MembershipDatasourcesList// { // MembershipDatasources// AccountId: "STRING_VALUE",// GraphArn: "STRING_VALUE",// DatasourcePackageIngestHistory: { // DatasourcePackageIngestHistory// "<keys>": { // LastIngestStateChangeDates// "<keys>": { // TimestampForCollection// Timestamp: new Date("TIMESTAMP"),// },// },// },// },// ],// UnprocessedGraphs: [ // UnprocessedGraphList// { // UnprocessedGraph// GraphArn: "STRING_VALUE",// Reason: "STRING_VALUE",// },// ],// };
BatchGetMembershipDatasourcesCommandInput
BatchGetMembershipDatasourcesCommandOutput
input
response
config
AccessDeniedException (client fault)
The request issuer does not have permission to access this resource or perform this operation.
InternalServerException (server fault)
The request was valid but failed because of a problem with the service.
ResourceNotFoundException (client fault)
The request refers to a nonexistent resource.
ValidationException (client fault)
The request parameters are invalid.
DetectiveServiceException
Base exception class for all service exceptions from Detective service.
Readonly
Static
Gets information on the data source package history for an account.
Example
Use a bare-bones client and the command you need to make an API call.
Param
BatchGetMembershipDatasourcesCommandInput
Returns
BatchGetMembershipDatasourcesCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault)
The request issuer does not have permission to access this resource or perform this operation.
Throws
InternalServerException (server fault)
The request was valid but failed because of a problem with the service.
Throws
ResourceNotFoundException (client fault)
The request refers to a nonexistent resource.
Throws
ValidationException (client fault)
The request parameters are invalid.
Throws
DetectiveServiceException
Base exception class for all service exceptions from Detective service.