List deployments¶
Description¶
List deployments. You can filter the result list by environment, service, or a single service instance.
Usage¶
proton_list_deployments(componentName, environmentName, maxResults,
nextToken, serviceInstanceName, serviceName)
Arguments¶
-
componentNameThe name of a component for result list filtering. Proton returns deployments associated with that component.
-
environmentNameThe name of an environment for result list filtering. Proton returns deployments associated with the environment.
-
maxResultsThe maximum number of deployments to list.
-
nextTokenA token that indicates the location of the next deployment in the array of deployment, after the list of deployment that was previously requested.
-
serviceInstanceNameThe name of a service instance for result list filtering. Proton returns the deployments associated with the service instance.
-
serviceNameThe name of a service for result list filtering. Proton returns deployments associated with service instances of the service.
Value¶
A list with the following syntax:
list(
deployments = list(
list(
arn = "string",
completedAt = as.POSIXct(
"2015-01-01"
),
componentName = "string",
createdAt = as.POSIXct(
"2015-01-01"
),
deploymentStatus = "IN_PROGRESS"|"FAILED"|"SUCCEEDED"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|"DELETE_COMPLETE"|"CANCELLING"|"CANCELLED",
environmentName = "string",
id = "string",
lastAttemptedDeploymentId = "string",
lastModifiedAt = as.POSIXct(
"2015-01-01"
),
lastSucceededDeploymentId = "string",
serviceInstanceName = "string",
serviceName = "string",
targetArn = "string",
targetResourceCreatedAt = as.POSIXct(
"2015-01-01"
),
targetResourceType = "ENVIRONMENT"|"SERVICE_PIPELINE"|"SERVICE_INSTANCE"|"COMPONENT"
)
),
nextToken = "string"
)