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

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.Billing.Model.AssociateSourceViewsResponse

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

Syntax

C#
public class AssociateSourceViewsResponse : AmazonWebServiceResponse

The AssociateSourceViewsResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Arn System.String

Gets and sets the property Arn.

The ARN of the billing view that the source views were associated with.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.

Examples

Invoke AssociateSourceViews


var client = new AmazonBillingClient();
var response = client.AssociateSourceViews(new AssociateSourceViewsRequest 
{
    Arn = "arn:aws:billing::123456789012:billingview/custom-46f47cb2-a11d-43f3-983d-470b5708a899",
    SourceViews = new List<string> {
        "arn:aws:billing::123456789012:billingview/primary",
        "arn:aws:billing::123456789012:billingview/custom-d3f9c7e4-8b2f-4a6e-9d3b-2f7c8a1e5f6d"
    }
});

string arn = response.Arn;

            

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