AWS SDK Version 4 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 GetAccountSettings operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.Lambda.Model.GetAccountSettingsResponse

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

Syntax

C#
public class GetAccountSettingsResponse : AmazonWebServiceResponse

The GetAccountSettingsResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AccountLimit Amazon.Lambda.Model.AccountLimit

Gets and sets the property AccountLimit.

Limits that are related to concurrency and code storage.

Public Property AccountUsage Amazon.Lambda.Model.AccountUsage

Gets and sets the property AccountUsage.

The number of functions and amount of storage in use.

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

This operation takes no parameters and returns details about storage and concurrency quotas in the current Region.

To get account settings


var client = new AmazonLambdaClient();
var response = client.AddLayerVersionPermission(new AddLayerVersionPermissionRequest 
{
    Action = "lambda:GetLayerVersion",
    LayerName = "my-layer",
    Principal = "223456789012",
    StatementId = "xaccount",
    VersionNumber = 1
});

string revisionId = response.RevisionId;
string statement = response.Statement;

            

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer