Amazon.Glacier.AmazonGlacierClient.DescribeJob C# (CSharp) Method

DescribeJob() private method

private DescribeJob ( DescribeJobRequest request ) : DescribeJobResponse
request Amazon.Glacier.Model.DescribeJobRequest
return Amazon.Glacier.Model.DescribeJobResponse
        internal DescribeJobResponse DescribeJob(DescribeJobRequest request)
        {
            var marshaller = new DescribeJobRequestMarshaller();
            var unmarshaller = DescribeJobResponseUnmarshaller.Instance;

            return Invoke<DescribeJobRequest,DescribeJobResponse>(request, marshaller, unmarshaller);
        }

Usage Example

        public static DescribeJobResult describeJob(FolderVaultMapping mapping, string jobId)
        {
            using (AmazonGlacierClient client = new AmazonGlacierClient(mapping.AccessKey, mapping.SecretKey, mapping.Endpoint))
            {
                DescribeJobRequest req = new DescribeJobRequest();
                req.AccountId = "-";
                req.JobId = jobId;
                req.VaultName = mapping.VaultName;

                return client.DescribeJob(req).DescribeJobResult;
            }
        }
All Usage Examples Of Amazon.Glacier.AmazonGlacierClient::DescribeJob
AmazonGlacierClient