Module: aws_p

Capture module.
Source:

Methods

(static) captureAWS(awssdk) → {AWS}

Configures the AWS SDK to automatically capture information for the segment. All created clients will automatically be captured. See 'captureAWSClient' for additional details.
Parameters:
Name Type Description
awssdk AWS The Javascript AWS SDK.
Source:
See:
Returns:
Type
AWS

(static) captureAWSClient(service) → {AWS.Service}

Configures any AWS Client instance to automatically capture information for the segment. For manual mode, a param with key called 'Segment' is required as a part of the AWS call paramaters, and must reference a Segment or Subsegment object.
Parameters:
Name Type Description
service AWS.Service An instance of a AWS service to wrap.
Source:
See:
Returns:
Type
AWS.Service