AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This is the response object from the GetCapability operation.
Namespace: Amazon.B2bi.Model
Assembly: AWSSDK.B2bi.dll
Version: 3.x.y.z
public class GetCapabilityResponse : AmazonWebServiceResponse
The GetCapabilityResponse type exposes the following members
Name | Description | |
---|---|---|
GetCapabilityResponse() |
Name | Type | Description | |
---|---|---|---|
CapabilityArn | System.String |
Gets and sets the property CapabilityArn. Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer. |
|
CapabilityId | System.String |
Gets and sets the property CapabilityId. Returns a system-assigned unique identifier for the capability. |
|
Configuration | Amazon.B2bi.Model.CapabilityConfiguration |
Gets and sets the property Configuration. Returns a structure that contains the details for a capability. |
|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
CreatedAt | System.DateTime |
Gets and sets the property CreatedAt. Returns a timestamp for creation date and time of the capability. |
|
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
InstructionsDocuments | System.Collections.Generic.List<Amazon.B2bi.Model.S3Location> |
Gets and sets the property InstructionsDocuments. Returns one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location. |
|
ModifiedAt | System.DateTime |
Gets and sets the property ModifiedAt. Returns a timestamp for last time the capability was modified. |
|
Name | System.String |
Gets and sets the property Name. Returns the name of the capability, used to identify it. |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
Type | Amazon.B2bi.CapabilityType |
Gets and sets the property Type.
Returns the type of the capability. Currently, only |
var client = new AmazonB2biClient(); var response = client.CreateCapability(new CreateCapabilityRequest { Name = "b2biexample", Type = "edi", ClientToken = "foo", Configuration = new CapabilityConfiguration { Edi = new EdiConfiguration { Type = new EdiType { X12Details = new X12Details { Version = "VERSION_4010", TransactionSet = "X12_110" } }, InputLocation = new S3Location { Key = "input/", BucketName = "test-bucket" }, OutputLocation = new S3Location { Key = "output/", BucketName = "test-bucket" }, TransformerId = "tr-9a893cf536df4658b" } }, InstructionsDocuments = new List<S3Location> { new S3Location { Key = "instructiondoc.txt", BucketName = "test-bucket" } }, Tags = new List<Tag> { new Tag { Key = "capabilityKey1", Value = "capabilityValue1" } } }); string name = response.Name; string type = response.Type; string capabilityArn = response.CapabilityArn; string capabilityId = response.CapabilityId; CapabilityConfiguration configuration = response.Configuration; DateTime createdAt = response.CreatedAt; List<S3Location> instructionsDocuments = response.InstructionsDocuments;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5