Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class BatchGetMembershipDatasourcesCommandProtected

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.

import { DetectiveClient, BatchGetMembershipDatasourcesCommand } from "@aws-sdk/client-detective"; // ES Modules import
// const { DetectiveClient, BatchGetMembershipDatasourcesCommand } = require("@aws-sdk/client-detective"); // CommonJS import
const 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",
// },
// ],
// };

Param

BatchGetMembershipDatasourcesCommandInput

Returns

BatchGetMembershipDatasourcesCommandOutput

See

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.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods