TelcoNetworkBuilder / Client / get_sol_network_operation

get_sol_network_operation#

TelcoNetworkBuilder.Client.get_sol_network_operation(**kwargs)#

Gets the details of a network operation, including the tasks involved in the network operation and the status of the tasks.

A network operation is any operation that is done to your network, such as network instance instantiation or termination.

See also: AWS API Documentation

Request Syntax

response = client.get_sol_network_operation(
    nsLcmOpOccId='string'
)
Parameters:

nsLcmOpOccId (string) –

[REQUIRED]

The identifier of the network operation.

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string',
    'error': {
        'detail': 'string',
        'title': 'string'
    },
    'id': 'string',
    'lcmOperationType': 'INSTANTIATE'|'UPDATE'|'TERMINATE',
    'metadata': {
        'createdAt': datetime(2015, 1, 1),
        'lastModified': datetime(2015, 1, 1)
    },
    'nsInstanceId': 'string',
    'operationState': 'PROCESSING'|'COMPLETED'|'FAILED'|'CANCELLING'|'CANCELLED',
    'tags': {
        'string': 'string'
    },
    'tasks': [
        {
            'taskContext': {
                'string': 'string'
            },
            'taskEndTime': datetime(2015, 1, 1),
            'taskErrorDetails': {
                'cause': 'string',
                'details': 'string'
            },
            'taskName': 'string',
            'taskStartTime': datetime(2015, 1, 1),
            'taskStatus': 'SCHEDULED'|'STARTED'|'IN_PROGRESS'|'COMPLETED'|'ERROR'|'SKIPPED'|'CANCELLED'
        },
    ]
}

Response Structure

  • (dict) –

    • arn (string) –

      Network operation ARN.

    • error (dict) –

      Error related to this specific network operation occurrence.

      • detail (string) –

        A human-readable explanation specific to this occurrence of the problem.

      • title (string) –

        A human-readable title of the problem type.

    • id (string) –

      ID of this network operation occurrence.

    • lcmOperationType (string) –

      Type of the operation represented by this occurrence.

    • metadata (dict) –

      Metadata of this network operation occurrence.

      • createdAt (datetime) –

        The date that the resource was created.

      • lastModified (datetime) –

        The date that the resource was last modified.

    • nsInstanceId (string) –

      ID of the network operation instance.

    • operationState (string) –

      The state of the network operation.

    • tags (dict) –

      A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.

      • (string) –

        • (string) –

    • tasks (list) –

      All tasks associated with this operation occurrence.

      • (dict) –

        Gets the details of a network operation.

        A network operation is any operation that is done to your network, such as network instance instantiation or termination.

        • taskContext (dict) –

          Context for the network operation task.

          • (string) –

            • (string) –

        • taskEndTime (datetime) –

          Task end time.

        • taskErrorDetails (dict) –

          Task error details.

          • cause (string) –

            Error cause.

          • details (string) –

            Error details.

        • taskName (string) –

          Task name.

        • taskStartTime (datetime) –

          Task start time.

        • taskStatus (string) –

          Task status.

Exceptions