/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the xray-2016-04-12.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.XRay.Model { /// /// Container for the parameters to the PutTraceSegments operation. /// Uploads segment documents to Amazon Web Services X-Ray. The X-Ray /// SDK generates segment documents and sends them to the X-Ray daemon, which uploads /// them in batches. A segment document can be a completed segment, an in-progress segment, /// or an array of subsegments. /// /// /// /// Segments must include the following fields. For the full segment document schema, /// see Amazon /// Web Services X-Ray Segment Documents in the Amazon Web Services X-Ray Developer /// Guide. /// ///

Required segment document fields /// ///

/// /// A trace_id consists of three numbers separated by hyphens. For example, /// 1-58406520-a006649127e371903a2de979. This includes: /// ///

Trace ID Format /// ///

///
public partial class PutTraceSegmentsRequest : AmazonXRayRequest { private List _traceSegmentDocuments = new List(); /// /// Gets and sets the property TraceSegmentDocuments. /// /// A string containing a JSON document defining one or more segments or subsegments. /// /// [AWSProperty(Required=true)] public List TraceSegmentDocuments { get { return this._traceSegmentDocuments; } set { this._traceSegmentDocuments = value; } } // Check to see if TraceSegmentDocuments property is set internal bool IsSetTraceSegmentDocuments() { return this._traceSegmentDocuments != null && this._traceSegmentDocuments.Count > 0; } } }