123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- import {Request} from '../lib/request';
- import {Response} from '../lib/response';
- import {AWSError} from '../lib/error';
- import {Service} from '../lib/service';
- import {ServiceConfigurationOptions} from '../lib/service';
- import {ConfigBase as Config} from '../lib/config-base';
- interface Blob {}
- declare class SupplyChain extends Service {
- /**
- * Constructs a service object. This object has one method for each API operation.
- */
- constructor(options?: SupplyChain.Types.ClientConfiguration)
- config: Config & SupplyChain.Types.ClientConfiguration;
- /**
- * CreateBillOfMaterialsImportJob creates an import job for the Product Bill Of Materials (BOM) entity. For information on the product_bom entity, see the AWS Supply Chain User Guide. The CSV file must be located in an Amazon S3 location accessible to AWS Supply Chain. It is recommended to use the same Amazon S3 bucket created during your AWS Supply Chain instance creation.
- */
- createBillOfMaterialsImportJob(params: SupplyChain.Types.CreateBillOfMaterialsImportJobRequest, callback?: (err: AWSError, data: SupplyChain.Types.CreateBillOfMaterialsImportJobResponse) => void): Request<SupplyChain.Types.CreateBillOfMaterialsImportJobResponse, AWSError>;
- /**
- * CreateBillOfMaterialsImportJob creates an import job for the Product Bill Of Materials (BOM) entity. For information on the product_bom entity, see the AWS Supply Chain User Guide. The CSV file must be located in an Amazon S3 location accessible to AWS Supply Chain. It is recommended to use the same Amazon S3 bucket created during your AWS Supply Chain instance creation.
- */
- createBillOfMaterialsImportJob(callback?: (err: AWSError, data: SupplyChain.Types.CreateBillOfMaterialsImportJobResponse) => void): Request<SupplyChain.Types.CreateBillOfMaterialsImportJobResponse, AWSError>;
- /**
- * Get status and details of a BillOfMaterialsImportJob.
- */
- getBillOfMaterialsImportJob(params: SupplyChain.Types.GetBillOfMaterialsImportJobRequest, callback?: (err: AWSError, data: SupplyChain.Types.GetBillOfMaterialsImportJobResponse) => void): Request<SupplyChain.Types.GetBillOfMaterialsImportJobResponse, AWSError>;
- /**
- * Get status and details of a BillOfMaterialsImportJob.
- */
- getBillOfMaterialsImportJob(callback?: (err: AWSError, data: SupplyChain.Types.GetBillOfMaterialsImportJobResponse) => void): Request<SupplyChain.Types.GetBillOfMaterialsImportJobResponse, AWSError>;
- /**
- * Send transactional data events with real-time data for analysis or monitoring.
- */
- sendDataIntegrationEvent(params: SupplyChain.Types.SendDataIntegrationEventRequest, callback?: (err: AWSError, data: SupplyChain.Types.SendDataIntegrationEventResponse) => void): Request<SupplyChain.Types.SendDataIntegrationEventResponse, AWSError>;
- /**
- * Send transactional data events with real-time data for analysis or monitoring.
- */
- sendDataIntegrationEvent(callback?: (err: AWSError, data: SupplyChain.Types.SendDataIntegrationEventResponse) => void): Request<SupplyChain.Types.SendDataIntegrationEventResponse, AWSError>;
- }
- declare namespace SupplyChain {
- export interface BillOfMaterialsImportJob {
- /**
- * The BillOfMaterialsImportJob instanceId.
- */
- instanceId: UUID;
- /**
- * The BillOfMaterialsImportJob jobId.
- */
- jobId: UUID;
- /**
- * The BillOfMaterialsImportJob ConfigurationJobStatus.
- */
- status: ConfigurationJobStatus;
- /**
- * The S3 URI from which the CSV is read.
- */
- s3uri: ConfigurationS3Uri;
- /**
- * When the BillOfMaterialsImportJob has reached a terminal state, there will be a message.
- */
- message?: String;
- }
- export type ClientToken = string;
- export type ConfigurationJobStatus = "NEW"|"FAILED"|"IN_PROGRESS"|"QUEUED"|"SUCCESS"|string;
- export type ConfigurationS3Uri = string;
- export interface CreateBillOfMaterialsImportJobRequest {
- /**
- * The AWS Supply Chain instance identifier.
- */
- instanceId: UUID;
- /**
- * The S3 URI of the CSV file to be imported. The bucket must grant permissions for AWS Supply Chain to read the file.
- */
- s3uri: ConfigurationS3Uri;
- /**
- * An idempotency token.
- */
- clientToken?: ClientToken;
- }
- export interface CreateBillOfMaterialsImportJobResponse {
- /**
- * The new BillOfMaterialsImportJob identifier.
- */
- jobId: UUID;
- }
- export type DataIntegrationEventData = string;
- export type DataIntegrationEventGroupId = string;
- export type DataIntegrationEventType = "scn.data.forecast"|"scn.data.inventorylevel"|"scn.data.inboundorder"|"scn.data.inboundorderline"|"scn.data.inboundorderlineschedule"|"scn.data.outboundorderline"|"scn.data.outboundshipment"|"scn.data.processheader"|"scn.data.processoperation"|"scn.data.processproduct"|"scn.data.reservation"|"scn.data.shipment"|"scn.data.shipmentstop"|"scn.data.shipmentstoporder"|"scn.data.supplyplan"|string;
- export interface GetBillOfMaterialsImportJobRequest {
- /**
- * The AWS Supply Chain instance identifier.
- */
- instanceId: UUID;
- /**
- * The BillOfMaterialsImportJob identifier.
- */
- jobId: UUID;
- }
- export interface GetBillOfMaterialsImportJobResponse {
- /**
- * The BillOfMaterialsImportJob.
- */
- job: BillOfMaterialsImportJob;
- }
- export interface SendDataIntegrationEventRequest {
- /**
- * The AWS Supply Chain instance identifier.
- */
- instanceId: UUID;
- /**
- * The data event type.
- */
- eventType: DataIntegrationEventType;
- /**
- * The data payload of the event.
- */
- data: DataIntegrationEventData;
- /**
- * Event identifier (for example, orderId for InboundOrder) used for data sharing or partitioning.
- */
- eventGroupId: DataIntegrationEventGroupId;
- /**
- * The event timestamp (in epoch seconds).
- */
- eventTimestamp?: SyntheticTimestamp_epoch_seconds;
- /**
- * The idempotent client token.
- */
- clientToken?: ClientToken;
- }
- export interface SendDataIntegrationEventResponse {
- /**
- * The unique event identifier.
- */
- eventId: UUID;
- }
- export type String = string;
- export type SyntheticTimestamp_epoch_seconds = Date;
- export type UUID = string;
- /**
- * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
- */
- export type apiVersion = "2024-01-01"|"latest"|string;
- export interface ClientApiVersions {
- /**
- * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
- */
- apiVersion?: apiVersion;
- }
- export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
- /**
- * Contains interfaces for use with the SupplyChain client.
- */
- export import Types = SupplyChain;
- }
- export = SupplyChain;
|