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.

Returns lists Amazon Web Services resources that are of the specified resource collection type. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to GetResourceCollectionAsync.

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

Syntax

C#
public abstract GetResourceCollectionResponse GetResourceCollection(
         GetResourceCollectionRequest request
)

Parameters

request
Type: Amazon.DevOpsGuru.Model.GetResourceCollectionRequest

Container for the necessary parameters to execute the GetResourceCollection service method.

Return Value


The response from the GetResourceCollection service method, as returned by DevOpsGuru.

Exceptions

ExceptionCondition
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
InternalServerException An internal failure in an Amazon service occurred.
ResourceNotFoundException A requested resource could not be found
ThrottlingException The request was denied due to a request throttling.
ValidationException Contains information about data passed in to a field during a request that is not valid.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also