AWS SDK Version 3 for .NET
API Reference

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 CreateProfile operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.B2bi.Model.CreateProfileResponse

Namespace: Amazon.B2bi.Model
Assembly: AWSSDK.B2bi.dll
Version: 3.x.y.z

Syntax

C#
public class CreateProfileResponse : AmazonWebServiceResponse

The CreateProfileResponse type exposes the following members

Constructors

NameDescription
Public Method CreateProfileResponse()

Properties

NameTypeDescription
Public Property BusinessName System.String

Gets and sets the property BusinessName.

Returns the name for the business associated with this profile.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property CreatedAt System.DateTime

Gets and sets the property CreatedAt.

Returns a timestamp representing the time the profile was created.

Public Property Email System.String

Gets and sets the property Email.

Returns the email address associated with this customer profile.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Logging Amazon.B2bi.Logging

Gets and sets the property Logging.

Returns whether or not logging is turned on for this profile.

Public Property LogGroupName System.String

Gets and sets the property LogGroupName.

Returns the name of the logging group.

Public Property Name System.String

Gets and sets the property Name.

Returns the name of the profile, used to identify it.

Public Property Phone System.String

Gets and sets the property Phone.

Returns the phone number associated with the profile.

Public Property ProfileArn System.String

Gets and sets the property ProfileArn.

Returns an Amazon Resource Name (ARN) for the profile.

Public Property ProfileId System.String

Gets and sets the property ProfileId.

Returns the unique, system-generated identifier for the profile.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.

Examples

Sample CreateProfile call


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;

            

Version Information

.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