/*
* 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 snowball-2016-06-30.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.Snowball.Model
{
///
/// Contains job logs. Whenever a Snow device is used to import data into or export data
/// out of Amazon S3, you'll have the option of downloading a PDF job report. Job logs
/// are returned as a part of the response syntax of the DescribeJob
action
/// in the JobMetadata
data type. The job logs can be accessed for up to
/// 60 minutes after this request has been made. To access any of the job logs after 60
/// minutes have passed, you'll have to make another call to the DescribeJob
/// action.
///
///
///
/// For import jobs, the PDF job report becomes available at the end of the import process.
/// For export jobs, your job report typically becomes available while the Snow device
/// for your job part is being delivered to you.
///
///
///
/// The job report provides you insight into the state of your Amazon S3 data transfer.
/// The report includes details about your job or job part for your records.
///
///
///
/// For deeper visibility into the status of your transferred objects, you can look at
/// the two associated logs: a success log and a failure log. The logs are saved in comma-separated
/// value (CSV) format, and the name of each log includes the ID of the job or job part
/// that the log describes.
///
///
public partial class JobLogs
{
private string _jobCompletionReportURI;
private string _jobFailureLogURI;
private string _jobSuccessLogURI;
///
/// Gets and sets the property JobCompletionReportURI.
///
/// A link to an Amazon S3 presigned URL where the job completion report is located.
///
///
[AWSProperty(Min=1, Max=1024)]
public string JobCompletionReportURI
{
get { return this._jobCompletionReportURI; }
set { this._jobCompletionReportURI = value; }
}
// Check to see if JobCompletionReportURI property is set
internal bool IsSetJobCompletionReportURI()
{
return this._jobCompletionReportURI != null;
}
///
/// Gets and sets the property JobFailureLogURI.
///
/// A link to an Amazon S3 presigned URL where the job failure log is located.
///
///
[AWSProperty(Min=1, Max=1024)]
public string JobFailureLogURI
{
get { return this._jobFailureLogURI; }
set { this._jobFailureLogURI = value; }
}
// Check to see if JobFailureLogURI property is set
internal bool IsSetJobFailureLogURI()
{
return this._jobFailureLogURI != null;
}
///
/// Gets and sets the property JobSuccessLogURI.
///
/// A link to an Amazon S3 presigned URL where the job success log is located.
///
///
[AWSProperty(Min=1, Max=1024)]
public string JobSuccessLogURI
{
get { return this._jobSuccessLogURI; }
set { this._jobSuccessLogURI = value; }
}
// Check to see if JobSuccessLogURI property is set
internal bool IsSetJobSuccessLogURI()
{
return this._jobSuccessLogURI != null;
}
}
}