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.

Container for the parameters to the UpdateApiCache operation. Updates the cache for the GraphQL API.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AppSync.AmazonAppSyncRequest
      Amazon.AppSync.Model.UpdateApiCacheRequest

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

Syntax

C#
public class UpdateApiCacheRequest : AmazonAppSyncRequest
         IAmazonWebServiceRequest

The UpdateApiCacheRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateApiCacheRequest()

Properties

NameTypeDescription
Public Property ApiCachingBehavior Amazon.AppSync.ApiCachingBehavior

Gets and sets the property ApiCachingBehavior.

Caching behavior.

  • FULL_REQUEST_CACHING: All requests are fully cached.

  • PER_RESOLVER_CACHING: Individual resovlers that you specify are cached.

Public Property ApiId System.String

Gets and sets the property ApiId.

The GraphQL API Id.

Public Property Ttl System.Int64

Gets and sets the property Ttl.

TTL in seconds for cache entries.

Valid values are between 1 and 3600 seconds.

Public Property Type Amazon.AppSync.ApiCacheType

Gets and sets the property Type.

The cache instance type.

  • T2_SMALL: A t2.small instance type.

  • T2_MEDIUM: A t2.medium instance type.

  • R4_LARGE: A r4.large instance type.

  • R4_XLARGE: A r4.xlarge instance type.

  • R4_2XLARGE: A r4.2xlarge instance type.

  • R4_4XLARGE: A r4.4xlarge instance type.

  • R4_8XLARGE: A r4.8xlarge instance type.

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms