Class AwsApiCallRequest
(experimental) A AWS JavaScript SDK V2 request.
Inheritance
Implements
Namespace: Amazon.CDK.IntegTests
Assembly: Amazon.CDK.IntegTests.dll
Syntax (csharp)
public class AwsApiCallRequest : Object, IAwsApiCallRequest
Syntax (vb)
Public Class AwsApiCallRequest
Inherits Object
Implements IAwsApiCallRequest
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.IntegTests;
var parameters;
var awsApiCallRequest = new AwsApiCallRequest {
Api = "api",
Service = "service",
// the properties below are optional
FlattenResponse = "flattenResponse",
Parameters = parameters
};
Synopsis
Constructors
AwsApiCallRequest() |
Properties
Api | (experimental) The AWS api call to make i.e. getBucketLifecycle. |
FlattenResponse | (experimental) Whether or not to flatten the response from the api call. |
Parameters | (experimental) Any parameters to pass to the api call. |
Service | (experimental) The AWS service i.e. S3. |
Constructors
AwsApiCallRequest()
public AwsApiCallRequest()
Properties
Api
(experimental) The AWS api call to make i.e. getBucketLifecycle.
public string Api { get; set; }
Property Value
System.String
Remarks
Stability: Experimental
FlattenResponse
(experimental) Whether or not to flatten the response from the api call.
public string FlattenResponse { get; set; }
Property Value
System.String
Remarks
Valid values are 'true' or 'false' as strings
Typically when using an SdkRequest you will be passing it as the
actual
value to an assertion provider so this would be set
to 'false' (you want the actual response).
If you are using the SdkRequest to perform more of a query to return
a single value to use, then this should be set to 'true'. For example,
you could make a StepFunctions.startExecution api call and retreive the
executionArn
from the response.
Default: 'false'
Stability: Experimental
Parameters
(experimental) Any parameters to pass to the api call.
public object Parameters { get; set; }
Property Value
System.Object
Remarks
Default: - no parameters
Stability: Experimental
Service
(experimental) The AWS service i.e. S3.
public string Service { get; set; }
Property Value
System.String
Remarks
Stability: Experimental