5.0.0 • Published 7 years ago

@datafire/amazonaws_mgh v5.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

@datafire/amazonaws_mgh

Client library for AWS Migration Hub

Installation and Usage

npm install --save @datafire/amazonaws_mgh
let amazonaws_mgh = require('@datafire/amazonaws_mgh').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_mgh.AssociateCreatedArtifact({
  "ProgressUpdateStream": "",
  "MigrationTaskName": "",
  "CreatedArtifact": {
    "Name": ""
  }
}).then(data => {
  console.log(data);
});

Description

Actions

AssociateCreatedArtifact

amazonaws_mgh.AssociateCreatedArtifact({
  "ProgressUpdateStream": "",
  "MigrationTaskName": "",
  "CreatedArtifact": {
    "Name": ""
  }
}, context)

Input

Output

AssociateDiscoveredResource

amazonaws_mgh.AssociateDiscoveredResource({
  "ProgressUpdateStream": "",
  "MigrationTaskName": "",
  "DiscoveredResource": {
    "ConfigurationId": ""
  }
}, context)

Input

Output

CreateProgressUpdateStream

amazonaws_mgh.CreateProgressUpdateStream({
  "ProgressUpdateStreamName": ""
}, context)

Input

Output

DeleteProgressUpdateStream

amazonaws_mgh.DeleteProgressUpdateStream({
  "ProgressUpdateStreamName": ""
}, context)

Input

Output

DescribeApplicationState

amazonaws_mgh.DescribeApplicationState({
  "ApplicationId": ""
}, context)

Input

Output

DescribeMigrationTask

amazonaws_mgh.DescribeMigrationTask({
  "ProgressUpdateStream": "",
  "MigrationTaskName": ""
}, context)

Input

Output

DisassociateCreatedArtifact

amazonaws_mgh.DisassociateCreatedArtifact({
  "ProgressUpdateStream": "",
  "MigrationTaskName": "",
  "CreatedArtifactName": ""
}, context)

Input

Output

DisassociateDiscoveredResource

amazonaws_mgh.DisassociateDiscoveredResource({
  "ProgressUpdateStream": "",
  "MigrationTaskName": "",
  "ConfigurationId": ""
}, context)

Input

Output

ImportMigrationTask

amazonaws_mgh.ImportMigrationTask({
  "ProgressUpdateStream": "",
  "MigrationTaskName": ""
}, context)

Input

Output

ListCreatedArtifacts

amazonaws_mgh.ListCreatedArtifacts({
  "ProgressUpdateStream": "",
  "MigrationTaskName": ""
}, context)

Input

Output

ListDiscoveredResources

amazonaws_mgh.ListDiscoveredResources({
  "ProgressUpdateStream": "",
  "MigrationTaskName": ""
}, context)

Input

Output

ListMigrationTasks

amazonaws_mgh.ListMigrationTasks({}, context)

Input

Output

ListProgressUpdateStreams

amazonaws_mgh.ListProgressUpdateStreams({}, context)

Input

Output

NotifyApplicationState

amazonaws_mgh.NotifyApplicationState({
  "ApplicationId": "",
  "Status": ""
}, context)

Input

Output

NotifyMigrationTaskState

amazonaws_mgh.NotifyMigrationTaskState({
  "ProgressUpdateStream": "",
  "MigrationTaskName": "",
  "Task": {
    "Status": ""
  },
  "UpdateDateTime": "",
  "NextUpdateSeconds": 0
}, context)

Input

Output

PutResourceAttributes

amazonaws_mgh.PutResourceAttributes({
  "ProgressUpdateStream": "",
  "MigrationTaskName": "",
  "ResourceAttributeList": []
}, context)

Input

Output

Definitions

AccessDeniedException

  • AccessDeniedException object: Exception raised when the account making the call is not whitelisted or there are other authentication errors.

ApplicationId

  • ApplicationId string

ApplicationStatus

  • ApplicationStatus string (values: NOT_STARTED, IN_PROGRESS, COMPLETED)

AssociateCreatedArtifactRequest

AssociateCreatedArtifactResult

  • AssociateCreatedArtifactResult object

AssociateDiscoveredResourceRequest

AssociateDiscoveredResourceResult

  • AssociateDiscoveredResourceResult object

ConfigurationId

  • ConfigurationId string

CreateProgressUpdateStreamRequest

CreateProgressUpdateStreamResult

  • CreateProgressUpdateStreamResult object

CreatedArtifact

CreatedArtifactDescription

  • CreatedArtifactDescription string

CreatedArtifactList

CreatedArtifactName

  • CreatedArtifactName string

DeleteProgressUpdateStreamRequest

DeleteProgressUpdateStreamResult

  • DeleteProgressUpdateStreamResult object

DescribeApplicationStateRequest

  • DescribeApplicationStateRequest object

DescribeApplicationStateResult

DescribeMigrationTaskRequest

DescribeMigrationTaskResult

DisassociateCreatedArtifactRequest

DisassociateCreatedArtifactResult

  • DisassociateCreatedArtifactResult object

DisassociateDiscoveredResourceRequest

DisassociateDiscoveredResourceResult

  • DisassociateDiscoveredResourceResult object

DiscoveredResource

DiscoveredResourceDescription

  • DiscoveredResourceDescription string

DiscoveredResourceList

DryRun

  • DryRun boolean

DryRunOperation

  • DryRunOperation object: Exception raised to indicate a successfully authorized action when the DryRun flag is set to "true".

ErrorMessage

  • ErrorMessage string

ImportMigrationTaskRequest

ImportMigrationTaskResult

  • ImportMigrationTaskResult object

InternalServerError

  • InternalServerError object: Exception raised when there is an internal, configuration, or dependency error encountered.

InvalidInputException

  • InvalidInputException object: Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.

LatestResourceAttributeList

ListCreatedArtifactsRequest

ListCreatedArtifactsResult

ListDiscoveredResourcesRequest

ListDiscoveredResourcesResult

ListMigrationTasksRequest

ListMigrationTasksResult

ListProgressUpdateStreamsRequest

  • ListProgressUpdateStreamsRequest object

ListProgressUpdateStreamsResult

MaxResults

  • MaxResults integer

MaxResultsCreatedArtifacts

  • MaxResultsCreatedArtifacts integer

MaxResultsResources

  • MaxResultsResources integer

MigrationTask

MigrationTaskName

  • MigrationTaskName string

MigrationTaskSummary

MigrationTaskSummaryList

NextUpdateSeconds

  • NextUpdateSeconds integer

NotifyApplicationStateRequest

NotifyApplicationStateResult

  • NotifyApplicationStateResult object

NotifyMigrationTaskStateRequest

NotifyMigrationTaskStateResult

  • NotifyMigrationTaskStateResult object

PolicyErrorException

  • PolicyErrorException object: Exception raised when there are problems accessing ADS (Application Discovery Service); most likely due to a misconfigured policy or the ADSCaller role is missing or not configured correctly.

ProgressPercent

  • ProgressPercent integer

ProgressUpdateStream

  • ProgressUpdateStream string

ProgressUpdateStreamSummary

  • ProgressUpdateStreamSummary object: Summary of the AWS resource used for access control that is implicitly linked to your AWS account.

ProgressUpdateStreamSummaryList

PutResourceAttributesRequest

PutResourceAttributesResult

  • PutResourceAttributesResult object

ResourceAttribute

ResourceAttributeList

ResourceAttributeType

  • ResourceAttributeType string (values: IPV4_ADDRESS, IPV6_ADDRESS, MAC_ADDRESS, FQDN, VM_MANAGER_ID, VM_MANAGED_OBJECT_REFERENCE, VM_NAME, VM_PATH, BIOS_ID, MOTHERBOARD_SERIAL_NUMBER, LABEL)

ResourceAttributeValue

  • ResourceAttributeValue string

ResourceName

  • ResourceName string

ResourceNotFoundException

  • ResourceNotFoundException object: Exception raised when the request references a resource (ADS configuration, update stream, migration task, etc.) that does not exist in ADS (Application Discovery Service) or in Migration Hub's repository.

ServiceUnavailableException

  • ServiceUnavailableException object: Exception raised when the service encounters throttled communication with upstream dependencies or is overloaded with requests.

Status

  • Status string (values: NOT_STARTED, IN_PROGRESS, FAILED, COMPLETED)

StatusDetail

  • StatusDetail string

Task

Token

  • Token string

UnauthorizedOperation

  • UnauthorizedOperation object: Exception raised to indicate a request was not authorized when the DryRun flag is set to "true".

UpdateDateTime

  • UpdateDateTime string
5.0.0

7 years ago

4.0.0

8 years ago

3.0.4

8 years ago

3.0.3

8 years ago

3.0.2

8 years ago

2.0.0

8 years ago