import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Provides details about an AWS ElastiCache Service Update Actions for a given Cache Cluster or Replication Group. * * When creating a new Cache Cluster or Replication Group, it takes approximately 10 minutes for Update Actions to be listed. * * ## Example Usage * * ### Basic Usage * * The following example will list all Update Actions for the Cache Cluster with a service update status of `available`. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.elasticache.getServiceUpdateActions({ * cacheClusterId: exampleAwsElasticacheCluster.clusterId, * serviceUpdateStatuses: ["available"], * }); * ``` */ export declare function getServiceUpdateActions(args?: GetServiceUpdateActionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getServiceUpdateActions. */ export interface GetServiceUpdateActionsArgs { /** * ID of Cache Cluster to list updates for. If neither `cacheClusterId` nor `replicationGroupId` are specified, all service update actions will be listed. */ cacheClusterId?: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; /** * ID of Replication Group to list updates for. If neither `replicationGroupId` nor `cacheClusterId` are specified, all service update actions will be listed. */ replicationGroupId?: string; /** * Service update statuses to include in list. Valid values are `available`, `cancelled`, and `expired`. If no value is specified, service updates in all statuses will be listed. */ serviceUpdateStatuses?: string[]; } /** * A collection of values returned by getServiceUpdateActions. */ export interface GetServiceUpdateActionsResult { /** * ID of Cache Cluster this update action applies to. */ readonly cacheClusterId?: string; readonly region: string; /** * ID of Replication Group this update action applies to. */ readonly replicationGroupId?: string; /** * Availability of the update. One of `available`, `cancelled`, or `expired`. */ readonly serviceUpdateStatuses?: string[]; /** * Set of Service Update Actions. Each element has the following attributes: */ readonly updateActions: outputs.elasticache.GetServiceUpdateActionsUpdateAction[]; } /** * Provides details about an AWS ElastiCache Service Update Actions for a given Cache Cluster or Replication Group. * * When creating a new Cache Cluster or Replication Group, it takes approximately 10 minutes for Update Actions to be listed. * * ## Example Usage * * ### Basic Usage * * The following example will list all Update Actions for the Cache Cluster with a service update status of `available`. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.elasticache.getServiceUpdateActions({ * cacheClusterId: exampleAwsElasticacheCluster.clusterId, * serviceUpdateStatuses: ["available"], * }); * ``` */ export declare function getServiceUpdateActionsOutput(args?: GetServiceUpdateActionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getServiceUpdateActions. */ export interface GetServiceUpdateActionsOutputArgs { /** * ID of Cache Cluster to list updates for. If neither `cacheClusterId` nor `replicationGroupId` are specified, all service update actions will be listed. */ cacheClusterId?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * ID of Replication Group to list updates for. If neither `replicationGroupId` nor `cacheClusterId` are specified, all service update actions will be listed. */ replicationGroupId?: pulumi.Input; /** * Service update statuses to include in list. Valid values are `available`, `cancelled`, and `expired`. If no value is specified, service updates in all statuses will be listed. */ serviceUpdateStatuses?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getServiceUpdateActions.d.ts.map