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

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.CloudFormation.Model.ListResourceScansResponse

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

Syntax

C#
public class ListResourceScansResponse : AmazonWebServiceResponse

The ListResourceScansResponse type exposes the following members

Constructors

NameDescription
Public Method ListResourceScansResponse()

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property NextToken System.String

Gets and sets the property NextToken.

If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListResourceScans again and use that value for the NextToken parameter. If the request returns all results, NextToken is set to an empty string.

Public Property ResourceScanSummaries System.Collections.Generic.List<Amazon.CloudFormation.Model.ResourceScanSummary>

Gets and sets the property ResourceScanSummaries.

The list of scans returned.

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

Examples

This example shows how to list resource scans

Listing Resource Scans


var client = new AmazonCloudFormationClient();
var response = client.ListResourceScans(new ListResourceScansRequest 
{
});

List<ResourceScanSummary> resourceScanSummaries = response.ResourceScanSummaries;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5