import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient"; import type { ListDataSourcesInput, ListDataSourcesOutput } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListDataSourcesCommand}. */ export interface ListDataSourcesCommandInput extends ListDataSourcesInput { } /** * @public * * The output of {@link ListDataSourcesCommand}. */ export interface ListDataSourcesCommandOutput extends ListDataSourcesOutput, __MetadataBearer { } declare const ListDataSourcesCommand_base: { new (input: ListDataSourcesCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListDataSourcesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Lists data sources in Amazon DataZone.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataZoneClient, ListDataSourcesCommand } from "@aws-sdk/client-datazone"; // ES Modules import * // const { DataZoneClient, ListDataSourcesCommand } = require("@aws-sdk/client-datazone"); // CommonJS import * // import type { DataZoneClientConfig } from "@aws-sdk/client-datazone"; * const config = {}; // type is DataZoneClientConfig * const client = new DataZoneClient(config); * const input = { // ListDataSourcesInput * domainIdentifier: "STRING_VALUE", // required * projectIdentifier: "STRING_VALUE", // required * environmentIdentifier: "STRING_VALUE", * connectionIdentifier: "STRING_VALUE", * type: "STRING_VALUE", * status: "CREATING" || "FAILED_CREATION" || "READY" || "UPDATING" || "FAILED_UPDATE" || "RUNNING" || "DELETING" || "FAILED_DELETION", * name: "STRING_VALUE", * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; * const command = new ListDataSourcesCommand(input); * const response = await client.send(command); * // { // ListDataSourcesOutput * // items: [ // DataSourceSummaries // required * // { // DataSourceSummary * // domainId: "STRING_VALUE", // required * // environmentId: "STRING_VALUE", * // connectionId: "STRING_VALUE", * // dataSourceId: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // type: "STRING_VALUE", // required * // status: "CREATING" || "FAILED_CREATION" || "READY" || "UPDATING" || "FAILED_UPDATE" || "RUNNING" || "DELETING" || "FAILED_DELETION", // required * // enableSetting: "ENABLED" || "DISABLED", * // schedule: { // ScheduleConfiguration * // timezone: "UTC" || "AFRICA_JOHANNESBURG" || "AMERICA_MONTREAL" || "AMERICA_SAO_PAULO" || "ASIA_BAHRAIN" || "ASIA_BANGKOK" || "ASIA_CALCUTTA" || "ASIA_DUBAI" || "ASIA_HONG_KONG" || "ASIA_JAKARTA" || "ASIA_KUALA_LUMPUR" || "ASIA_SEOUL" || "ASIA_SHANGHAI" || "ASIA_SINGAPORE" || "ASIA_TAIPEI" || "ASIA_TOKYO" || "AUSTRALIA_MELBOURNE" || "AUSTRALIA_SYDNEY" || "CANADA_CENTRAL" || "CET" || "CST6CDT" || "ETC_GMT" || "ETC_GMT0" || "ETC_GMT_ADD_0" || "ETC_GMT_ADD_1" || "ETC_GMT_ADD_10" || "ETC_GMT_ADD_11" || "ETC_GMT_ADD_12" || "ETC_GMT_ADD_2" || "ETC_GMT_ADD_3" || "ETC_GMT_ADD_4" || "ETC_GMT_ADD_5" || "ETC_GMT_ADD_6" || "ETC_GMT_ADD_7" || "ETC_GMT_ADD_8" || "ETC_GMT_ADD_9" || "ETC_GMT_NEG_0" || "ETC_GMT_NEG_1" || "ETC_GMT_NEG_10" || "ETC_GMT_NEG_11" || "ETC_GMT_NEG_12" || "ETC_GMT_NEG_13" || "ETC_GMT_NEG_14" || "ETC_GMT_NEG_2" || "ETC_GMT_NEG_3" || "ETC_GMT_NEG_4" || "ETC_GMT_NEG_5" || "ETC_GMT_NEG_6" || "ETC_GMT_NEG_7" || "ETC_GMT_NEG_8" || "ETC_GMT_NEG_9" || "EUROPE_DUBLIN" || "EUROPE_LONDON" || "EUROPE_PARIS" || "EUROPE_STOCKHOLM" || "EUROPE_ZURICH" || "ISRAEL" || "MEXICO_GENERAL" || "MST7MDT" || "PACIFIC_AUCKLAND" || "US_CENTRAL" || "US_EASTERN" || "US_MOUNTAIN" || "US_PACIFIC", * // schedule: "STRING_VALUE", * // }, * // lastRunStatus: "REQUESTED" || "RUNNING" || "FAILED" || "PARTIALLY_SUCCEEDED" || "SUCCESS", * // lastRunAt: new Date("TIMESTAMP"), * // lastRunErrorMessage: { // DataSourceErrorMessage * // errorType: "ACCESS_DENIED_EXCEPTION" || "CONFLICT_EXCEPTION" || "INTERNAL_SERVER_EXCEPTION" || "RESOURCE_NOT_FOUND_EXCEPTION" || "SERVICE_QUOTA_EXCEEDED_EXCEPTION" || "THROTTLING_EXCEPTION" || "VALIDATION_EXCEPTION", // required * // errorDetail: "STRING_VALUE", * // }, * // lastRunAssetCount: Number("int"), * // createdAt: new Date("TIMESTAMP"), * // updatedAt: new Date("TIMESTAMP"), * // description: "STRING_VALUE", * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListDataSourcesCommandInput - {@link ListDataSourcesCommandInput} * @returns {@link ListDataSourcesCommandOutput} * @see {@link ListDataSourcesCommandInput} for command's `input` shape. * @see {@link ListDataSourcesCommandOutput} for command's `response` shape. * @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

* * @throws {@link ConflictException} (client fault) *

There is a conflict while performing this action.

* * @throws {@link InternalServerException} (server fault) *

The request has failed because of an unknown error, exception or failure.

* * @throws {@link ResourceNotFoundException} (client fault) *

The specified resource cannot be found.

* * @throws {@link ServiceQuotaExceededException} (client fault) *

The request has exceeded the specified service quota.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied due to request throttling.

* * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints specified by the Amazon Web Services service.

* * @throws {@link UnauthorizedException} (client fault) *

You do not have permission to perform this action.

* * @throws {@link DataZoneServiceException} *

Base exception class for all service exceptions from DataZone service.

* * * @public */ export declare class ListDataSourcesCommand extends ListDataSourcesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDataSourcesInput; output: ListDataSourcesOutput; }; sdk: { input: ListDataSourcesCommandInput; output: ListDataSourcesCommandOutput; }; }; }