import { AccessLevelList } from '../shared/access-level' ; import { PolicyStatement } from '../shared' ; param sid export class Mgn extends PolicyStatement { public servicePrefix = 'mgn' ; param sid constructor ( sid ? ) { super ( sid ) ; } /**
     * Grants permission to create volume snapshot group
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toBatchCreateVolumeSnapshotGroupForMgn ( ) { return this . to ( 'BatchCreateVolumeSnapshotGroupForMgn' ) ; } /**
     * Grants permission to batch delete snapshot request
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toBatchDeleteSnapshotRequestForMgn ( ) { return this . to ( 'BatchDeleteSnapshotRequestForMgn' ) ; } /**
     * Grants permission to change source server life cycle state
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_ChangeServerLifeCycleState.html
     */ public toChangeServerLifeCycleState ( ) { return this . to ( 'ChangeServerLifeCycleState' ) ; } /**
     * Grants permission to create replication configuration template
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_CreateReplicationConfigurationTemplate.html
     */ public toCreateReplicationConfigurationTemplate ( ) { return this . to ( 'CreateReplicationConfigurationTemplate' ) ; } /**
     * Grants permission to create vcenter client
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toCreateVcenterClientForMgn ( ) { return this . to ( 'CreateVcenterClientForMgn' ) ; } /**
     * Grants permission to delete job
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_DeleteJob.html
     */ public toDeleteJob ( ) { return this . to ( 'DeleteJob' ) ; } /**
     * Grants permission to delete replication configuration template
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_DeleteReplicationConfigurationTemplate.html
     */ public toDeleteReplicationConfigurationTemplate ( ) { return this . to ( 'DeleteReplicationConfigurationTemplate' ) ; } /**
     * Grants permission to delete source server
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_DeleteSourceServer.html
     */ public toDeleteSourceServer ( ) { return this . to ( 'DeleteSourceServer' ) ; } /**
     * Grants permission to delete vcenter client
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_DeleteVcenterClient.html
     */ public toDeleteVcenterClient ( ) { return this . to ( 'DeleteVcenterClient' ) ; } /**
     * Grants permission to describe job log items
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_DescribeJobLogItems.html
     */ public toDescribeJobLogItems ( ) { return this . to ( 'DescribeJobLogItems' ) ; } /**
     * Grants permission to describe jobs
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_DescribeJobs.html
     */ public toDescribeJobs ( ) { return this . to ( 'DescribeJobs' ) ; } /**
     * Grants permission to describe replication configuration template
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_DescribeReplicationConfigurationTemplates.html
     */ public toDescribeReplicationConfigurationTemplates ( ) { return this . to ( 'DescribeReplicationConfigurationTemplates' ) ; } /**
     * Grants permission to describe replication server associations
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toDescribeReplicationServerAssociationsForMgn ( ) { return this . to ( 'DescribeReplicationServerAssociationsForMgn' ) ; } /**
     * Grants permission to describe snapshots requests
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toDescribeSnapshotRequestsForMgn ( ) { return this . to ( 'DescribeSnapshotRequestsForMgn' ) ; } /**
     * Grants permission to describe source servers
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_DescribeSourceServers.html
     */ public toDescribeSourceServers ( ) { return this . to ( 'DescribeSourceServers' ) ; } /**
     * Grants permission to describe vcenter clients
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_DescribeVcenterClients.html
     */ public toDescribeVcenterClients ( ) { return this . to ( 'DescribeVcenterClients' ) ; } /**
     * Grants permission to disconnect source server from service
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_DisconnectFromService.html
     */ public toDisconnectFromService ( ) { return this . to ( 'DisconnectFromService' ) ; } /**
     * Grants permission to finalize cutover
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_FinalizeCutover.html
     */ public toFinalizeCutover ( ) { return this . to ( 'FinalizeCutover' ) ; } /**
     * Grants permission to get agent command
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toGetAgentCommandForMgn ( ) { return this . to ( 'GetAgentCommandForMgn' ) ; } /**
     * Grants permission to get agent confirmed resume info
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toGetAgentConfirmedResumeInfoForMgn ( ) { return this . to ( 'GetAgentConfirmedResumeInfoForMgn' ) ; } /**
     * Grants permission to get agent installation assets
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toGetAgentInstallationAssetsForMgn ( ) { return this . to ( 'GetAgentInstallationAssetsForMgn' ) ; } /**
     * Grants permission to get agent replication info
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toGetAgentReplicationInfoForMgn ( ) { return this . to ( 'GetAgentReplicationInfoForMgn' ) ; } /**
     * Grants permission to get agent runtime configuration
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toGetAgentRuntimeConfigurationForMgn ( ) { return this . to ( 'GetAgentRuntimeConfigurationForMgn' ) ; } /**
     * Grants permission to get agent snapshots credits
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toGetAgentSnapshotCreditsForMgn ( ) { return this . to ( 'GetAgentSnapshotCreditsForMgn' ) ; } /**
     * Grants permission to get channel commands
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toGetChannelCommandsForMgn ( ) { return this . to ( 'GetChannelCommandsForMgn' ) ; } /**
     * Grants permission to get launch configuration
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_GetLaunchConfiguration.html
     */ public toGetLaunchConfiguration ( ) { return this . to ( 'GetLaunchConfiguration' ) ; } /**
     * Grants permission to get replication configuration
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_GetReplicationConfiguration.html
     */ public toGetReplicationConfiguration ( ) { return this . to ( 'GetReplicationConfiguration' ) ; } /**
     * Grants permission to get vcenter client commands
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toGetVcenterClientCommandsForMgn ( ) { return this . to ( 'GetVcenterClientCommandsForMgn' ) ; } /**
     * Grants permission to initialize service
     *
     * Access Level: Write
     *
     * Dependent actions:
     * - iam:AddRoleToInstanceProfile
     * - iam:CreateInstanceProfile
     * - iam:CreateServiceLinkedRole
     * - iam:GetInstanceProfile
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_InitializeService.html
     */ public toInitializeService ( ) { return this . to ( 'InitializeService' ) ; } /**
     * Grants permission to list tags for a resource
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_ListTagsForResource.html
     */ public toListTagsForResource ( ) { return this . to ( 'ListTagsForResource' ) ; } /**
     * Grants permission to mark source server as archived
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_MarkAsArchived.html
     */ public toMarkAsArchived ( ) { return this . to ( 'MarkAsArchived' ) ; } /**
     * Grants permission to notify agent authentication
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toNotifyAgentAuthenticationForMgn ( ) { return this . to ( 'NotifyAgentAuthenticationForMgn' ) ; } /**
     * Grants permission to notify agent is connected
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toNotifyAgentConnectedForMgn ( ) { return this . to ( 'NotifyAgentConnectedForMgn' ) ; } /**
     * Grants permission to notify agent is disconnected
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toNotifyAgentDisconnectedForMgn ( ) { return this . to ( 'NotifyAgentDisconnectedForMgn' ) ; } /**
     * Grants permission to notify agent replication progress
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toNotifyAgentReplicationProgressForMgn ( ) { return this . to ( 'NotifyAgentReplicationProgressForMgn' ) ; } /**
     * Grants permission to notify vcenter client started
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toNotifyVcenterClientStartedForMgn ( ) { return this . to ( 'NotifyVcenterClientStartedForMgn' ) ; } /**
     * Grants permission to register agent
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toRegisterAgentForMgn ( ) { return this . to ( 'RegisterAgentForMgn' ) ; } /**
     * Grants permission to retry replication
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_RetryDataReplication.html
     */ public toRetryDataReplication ( ) { return this . to ( 'RetryDataReplication' ) ; } /**
     * Grants permission to send agent logs
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toSendAgentLogsForMgn ( ) { return this . to ( 'SendAgentLogsForMgn' ) ; } /**
     * Grants permission to send agent metrics
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toSendAgentMetricsForMgn ( ) { return this . to ( 'SendAgentMetricsForMgn' ) ; } /**
     * Grants permission to send channel command result
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toSendChannelCommandResultForMgn ( ) { return this . to ( 'SendChannelCommandResultForMgn' ) ; } /**
     * Grants permission to send client logs
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toSendClientLogsForMgn ( ) { return this . to ( 'SendClientLogsForMgn' ) ; } /**
     * Grants permission to send client metrics
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toSendClientMetricsForMgn ( ) { return this . to ( 'SendClientMetricsForMgn' ) ; } /**
     * Grants permission to send vcenter client command result
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toSendVcenterClientCommandResultForMgn ( ) { return this . to ( 'SendVcenterClientCommandResultForMgn' ) ; } /**
     * Grants permission to send vcenter client logs
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toSendVcenterClientLogsForMgn ( ) { return this . to ( 'SendVcenterClientLogsForMgn' ) ; } /**
     * Grants permission to send vcenter client metrics
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toSendVcenterClientMetricsForMgn ( ) { return this . to ( 'SendVcenterClientMetricsForMgn' ) ; } /**
     * Grants permission to start cutover
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * Dependent actions:
     * - ec2:AttachVolume
     * - ec2:AuthorizeSecurityGroupEgress
     * - ec2:AuthorizeSecurityGroupIngress
     * - ec2:CreateLaunchTemplate
     * - ec2:CreateLaunchTemplateVersion
     * - ec2:CreateSecurityGroup
     * - ec2:CreateSnapshot
     * - ec2:CreateTags
     * - ec2:CreateVolume
     * - ec2:DeleteLaunchTemplateVersions
     * - ec2:DeleteSnapshot
     * - ec2:DeleteVolume
     * - ec2:DescribeAccountAttributes
     * - ec2:DescribeAvailabilityZones
     * - ec2:DescribeImages
     * - ec2:DescribeInstanceAttribute
     * - ec2:DescribeInstanceStatus
     * - ec2:DescribeInstanceTypes
     * - ec2:DescribeInstances
     * - ec2:DescribeLaunchTemplateVersions
     * - ec2:DescribeLaunchTemplates
     * - ec2:DescribeSecurityGroups
     * - ec2:DescribeSnapshots
     * - ec2:DescribeSubnets
     * - ec2:DescribeVolumes
     * - ec2:DetachVolume
     * - ec2:ModifyInstanceAttribute
     * - ec2:ModifyLaunchTemplate
     * - ec2:ReportInstanceStatus
     * - ec2:RevokeSecurityGroupEgress
     * - ec2:RunInstances
     * - ec2:StartInstances
     * - ec2:StopInstances
     * - ec2:TerminateInstances
     * - iam:PassRole
     * - mgn:ListTagsForResource
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_StartCutover.html
     */ public toStartCutover ( ) { return this . to ( 'StartCutover' ) ; } /**
     * Grants permission to start replication
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_StartReplication.html
     */ public toStartReplication ( ) { return this . to ( 'StartReplication' ) ; } /**
     * Grants permission to start test
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * Dependent actions:
     * - ec2:AttachVolume
     * - ec2:AuthorizeSecurityGroupEgress
     * - ec2:AuthorizeSecurityGroupIngress
     * - ec2:CreateLaunchTemplate
     * - ec2:CreateLaunchTemplateVersion
     * - ec2:CreateSecurityGroup
     * - ec2:CreateSnapshot
     * - ec2:CreateTags
     * - ec2:CreateVolume
     * - ec2:DeleteLaunchTemplateVersions
     * - ec2:DeleteSnapshot
     * - ec2:DeleteVolume
     * - ec2:DescribeAccountAttributes
     * - ec2:DescribeAvailabilityZones
     * - ec2:DescribeImages
     * - ec2:DescribeInstanceAttribute
     * - ec2:DescribeInstanceStatus
     * - ec2:DescribeInstanceTypes
     * - ec2:DescribeInstances
     * - ec2:DescribeLaunchTemplateVersions
     * - ec2:DescribeLaunchTemplates
     * - ec2:DescribeSecurityGroups
     * - ec2:DescribeSnapshots
     * - ec2:DescribeSubnets
     * - ec2:DescribeVolumes
     * - ec2:DetachVolume
     * - ec2:ModifyInstanceAttribute
     * - ec2:ModifyLaunchTemplate
     * - ec2:ReportInstanceStatus
     * - ec2:RevokeSecurityGroupEgress
     * - ec2:RunInstances
     * - ec2:StartInstances
     * - ec2:StopInstances
     * - ec2:TerminateInstances
     * - iam:PassRole
     * - mgn:ListTagsForResource
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_StartTest.html
     */ public toStartTest ( ) { return this . to ( 'StartTest' ) ; } /**
     * Grants permission to assign a resource tag
     *
     * Access Level: Tagging
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_TagResource.html
     */ public toTagResource ( ) { return this . to ( 'TagResource' ) ; } /**
     * Grants permission to terminate target instances
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * Dependent actions:
     * - ec2:DeleteVolume
     * - ec2:DescribeInstances
     * - ec2:DescribeVolumes
     * - ec2:TerminateInstances
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_TerminateTargetInstances.html
     */ public toTerminateTargetInstances ( ) { return this . to ( 'TerminateTargetInstances' ) ; } /**
     * Grants permission to untag a resource
     *
     * Access Level: Tagging
     *
     * Possible conditions:
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_UntagResource.html
     */ public toUntagResource ( ) { return this . to ( 'UntagResource' ) ; } /**
     * Grants permission to update agent backlog
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toUpdateAgentBacklogForMgn ( ) { return this . to ( 'UpdateAgentBacklogForMgn' ) ; } /**
     * Grants permission to update agent conversion info
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toUpdateAgentConversionInfoForMgn ( ) { return this . to ( 'UpdateAgentConversionInfoForMgn' ) ; } /**
     * Grants permission to update agent replication info
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toUpdateAgentReplicationInfoForMgn ( ) { return this . to ( 'UpdateAgentReplicationInfoForMgn' ) ; } /**
     * Grants permission to update agent replication process state
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toUpdateAgentReplicationProcessStateForMgn ( ) { return this . to ( 'UpdateAgentReplicationProcessStateForMgn' ) ; } /**
     * Grants permission to update agent source properties
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/ug/mgn-apis.html
     */ public toUpdateAgentSourcePropertiesForMgn ( ) { return this . to ( 'UpdateAgentSourcePropertiesForMgn' ) ; } /**
     * Grants permission to update launch configuration
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_UpdateLaunchConfiguration.html
     */ public toUpdateLaunchConfiguration ( ) { return this . to ( 'UpdateLaunchConfiguration' ) ; } /**
     * Grants permission to update replication configuration
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_UpdateReplicationConfiguration.html
     */ public toUpdateReplicationConfiguration ( ) { return this . to ( 'UpdateReplicationConfiguration' ) ; } /**
     * Grants permission to update replication configuration template
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_UpdateReplicationConfigurationTemplate.html
     */ public toUpdateReplicationConfigurationTemplate ( ) { return this . to ( 'UpdateReplicationConfigurationTemplate' ) ; } /**
     * Grants permission to update source server replication type
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/mgn/latest/APIReference/API_UpdateSourceServerReplicationType.html
     */ public toUpdateSourceServerReplicationType ( ) { return this . to ( 'UpdateSourceServerReplicationType' ) ; } protected accessLevelList : AccessLevelList = { Write : [ 'BatchCreateVolumeSnapshotGroupForMgn' , 'BatchDeleteSnapshotRequestForMgn' , 'ChangeServerLifeCycleState' , 'CreateReplicationConfigurationTemplate' , 'CreateVcenterClientForMgn' , 'DeleteJob' , 'DeleteReplicationConfigurationTemplate' , 'DeleteSourceServer' , 'DeleteVcenterClient' , 'DisconnectFromService' , 'FinalizeCutover' , 'InitializeService' , 'MarkAsArchived' , 'NotifyAgentAuthenticationForMgn' , 'NotifyAgentConnectedForMgn' , 'NotifyAgentDisconnectedForMgn' , 'NotifyAgentReplicationProgressForMgn' , 'NotifyVcenterClientStartedForMgn' , 'RegisterAgentForMgn' , 'RetryDataReplication' , 'SendAgentLogsForMgn' , 'SendAgentMetricsForMgn' , 'SendChannelCommandResultForMgn' , 'SendClientLogsForMgn' , 'SendClientMetricsForMgn' , 'SendVcenterClientCommandResultForMgn' , 'SendVcenterClientLogsForMgn' , 'SendVcenterClientMetricsForMgn' , 'StartCutover' , 'StartReplication' , 'StartTest' , 'TerminateTargetInstances' , 'UpdateAgentBacklogForMgn' , 'UpdateAgentConversionInfoForMgn' , 'UpdateAgentReplicationInfoForMgn' , 'UpdateAgentReplicationProcessStateForMgn' , 'UpdateAgentSourcePropertiesForMgn' , 'UpdateLaunchConfiguration' , 'UpdateReplicationConfiguration' , 'UpdateReplicationConfigurationTemplate' , 'UpdateSourceServerReplicationType' ] , Read : [ 'DescribeJobLogItems' , 'DescribeReplicationServerAssociationsForMgn' , 'DescribeSnapshotRequestsForMgn' , 'GetAgentCommandForMgn' , 'GetAgentConfirmedResumeInfoForMgn' , 'GetAgentInstallationAssetsForMgn' , 'GetAgentReplicationInfoForMgn' , 'GetAgentRuntimeConfigurationForMgn' , 'GetAgentSnapshotCreditsForMgn' , 'GetChannelCommandsForMgn' , 'GetLaunchConfiguration' , 'GetReplicationConfiguration' , 'GetVcenterClientCommandsForMgn' , 'ListTagsForResource' ] , List : [ 'DescribeJobs' , 'DescribeReplicationConfigurationTemplates' , 'DescribeSourceServers' , 'DescribeVcenterClients' ] , Tagging : [ 'TagResource' , 'UntagResource' ] } ; param jobID param account param region param partition public onJobResource ( jobID , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:mgn:${ region || '*' }:${ account || '*' }:job/${ jobID }` ) ; } param replicationConfigurationTemplateID param account param region param partition public onReplicationConfigurationTemplateResource ( replicationConfigurationTemplateID , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:mgn:${ region || '*' }:${ account || '*' }:replication-configuration-template/${ replicationConfigurationTemplateID }` ) ; } param vcenterClientID param account param region param partition public onVcenterClientResource ( vcenterClientID , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:mgn:${ region || '*' }:${ account || '*' }:vcenter-client/${ vcenterClientID }` ) ; } param sourceServerID param account param region param partition public onSourceServerResource ( sourceServerID , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:mgn:${ region || '*' }:${ account || '*' }:source-server/${ sourceServerID }` ) ; } }