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.
Namespace: Amazon.AppSync.Model
Assembly: AWSSDK.AppSync.dll
Version: 3.x.y.z
public class UpdateApiCacheRequest : AmazonAppSyncRequest IAmazonWebServiceRequest
The UpdateApiCacheRequest type exposes the following members
Name | Description | |
---|---|---|
UpdateApiCacheRequest() |
Name | Type | Description | |
---|---|---|---|
ApiCachingBehavior | Amazon.AppSync.ApiCachingBehavior |
Gets and sets the property ApiCachingBehavior. Caching behavior.
|
|
ApiId | System.String |
Gets and sets the property ApiId. The GraphQL API ID. |
|
HealthMetricsConfig | Amazon.AppSync.CacheHealthMetricsConfig |
Gets and sets the property HealthMetricsConfig. Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:
Metrics will be recorded by API ID. You can set the value to |
|
Ttl | System.Int64 |
Gets and sets the property Ttl. TTL in seconds for cache entries. Valid values are 1–3,600 seconds. |
|
Type | Amazon.AppSync.ApiCacheType |
Gets and sets the property Type. The cache instance type. Valid values are
Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used. The following legacy instance types are available, but their use is discouraged:
|
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5