appconfig

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 8 Imported by: 26

Documentation

Overview

Package appconfig provides the client and types for making API requests to AppConfig.

Use AWS AppConfig, a capability of AWS Systems Manager, to create, manage, and quickly deploy application configurations. AppConfig supports controlled deployments to applications of any size and includes built-in validation checks and monitoring. You can use AppConfig with applications hosted on Amazon EC2 instances, AWS Lambda, containers, mobile applications, or IoT devices.

To prevent errors when deploying application configurations, especially for production systems where a simple typo could cause an unexpected outage, AppConfig includes validators. A validator provides a syntactic or semantic check to ensure that the configuration you want to deploy works as intended. To validate your application configuration data, you provide a schema or a Lambda function that runs against the configuration. The configuration deployment or update can only proceed when the configuration data is valid.

During a configuration deployment, AppConfig monitors the application to ensure that the deployment is successful. If the system encounters an error, AppConfig rolls back the change to minimize impact for your application users. You can configure a deployment strategy for each application or environment that includes deployment criteria, including velocity, bake time, and alarms to monitor. Similar to error monitoring, if a deployment triggers an alarm, AppConfig automatically rolls back to the previous version.

AppConfig supports multiple use cases. Here are some examples.

  • Application tuning: Use AppConfig to carefully introduce changes to your application that can only be tested with production traffic.

  • Feature toggle: Use AppConfig to turn on new features that require a timely deployment, such as a product launch or announcement.

  • User membership: Use AppConfig to allow premium subscribers to access paid content.

  • Operational issues: Use AppConfig to reduce stress on your application when a dependency or other external factor impacts the system.

This reference is intended to be used with the AWS AppConfig User Guide (http://docs.aws.amazon.com/systems-manager/latest/userguide/appconfig.html).

See https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09 for more information on this service.

See appconfig package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/appconfig/

Using the Client

To use AppConfig with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AppConfig client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/appconfig/#New

Index

Constants

View Source
const (
	ServiceName = "AppConfig" // Service's name
	ServiceID   = "AppConfig" // Service's identifier
	EndpointsID = "appconfig" // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// The input fails to satisfy the constraints specified by an AWS service.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// The request could not be processed because of conflict in the current state
	// of the resource.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// There was an internal failure in the AppConfig service.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The requested resource could not be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {

	// The description of the application.
	Description *string `type:"string"`

	// The application ID.
	Id *string `type:"string"`

	// The application name.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (Application) MarshalFields

func (s Application) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Application) String

func (s Application) String() string

String returns the string representation

type Client

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to AppConfig. See this package's package overview docs for details on the service.

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := appconfig.New(myConfig)

func (*Client) CreateApplicationRequest

func (c *Client) CreateApplicationRequest(input *CreateApplicationInput) CreateApplicationRequest

CreateApplicationRequest returns a request value for making API operation for Amazon AppConfig.

An application in AppConfig is a logical unit of code that provides capabilities for your customers. For example, an application can be a microservice that runs on Amazon EC2 instances, a mobile application installed by your users, a serverless application using Amazon API Gateway and AWS Lambda, or any system you run on behalf of others.

// Example sending a request using CreateApplicationRequest.
req := client.CreateApplicationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication

func (*Client) CreateConfigurationProfileRequest

func (c *Client) CreateConfigurationProfileRequest(input *CreateConfigurationProfileInput) CreateConfigurationProfileRequest

CreateConfigurationProfileRequest returns a request value for making API operation for Amazon AppConfig.

Information that enables AppConfig to access the configuration source. Valid configuration sources include Systems Manager (SSM) documents and SSM Parameter Store parameters. A configuration profile includes the following information.

  • The Uri location of the configuration data.

  • The AWS Identity and Access Management (IAM) role that provides access to the configuration data.

  • A validator for the configuration data. Available validators include either a JSON Schema or an AWS Lambda function.

    // Example sending a request using CreateConfigurationProfileRequest. req := client.CreateConfigurationProfileRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile

func (*Client) CreateDeploymentStrategyRequest

func (c *Client) CreateDeploymentStrategyRequest(input *CreateDeploymentStrategyInput) CreateDeploymentStrategyRequest

CreateDeploymentStrategyRequest returns a request value for making API operation for Amazon AppConfig.

A deployment strategy defines important criteria for rolling out your configuration to the designated targets. A deployment strategy includes: the overall duration required, a percentage of targets to receive the deployment during each interval, an algorithm that defines how percentage grows, and bake time.

// Example sending a request using CreateDeploymentStrategyRequest.
req := client.CreateDeploymentStrategyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy

func (*Client) CreateEnvironmentRequest

func (c *Client) CreateEnvironmentRequest(input *CreateEnvironmentInput) CreateEnvironmentRequest

CreateEnvironmentRequest returns a request value for making API operation for Amazon AppConfig.

For each application, you define one or more environments. An environment is a logical deployment group of AppConfig targets, such as applications in a Beta or Production environment. You can also define environments for application subcomponents such as the Web, Mobile and Back-end components for your application. You can configure Amazon CloudWatch alarms for each environment. The system monitors alarms during a configuration deployment. If an alarm is triggered, the system rolls back the configuration.

// Example sending a request using CreateEnvironmentRequest.
req := client.CreateEnvironmentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment

func (*Client) DeleteApplicationRequest

func (c *Client) DeleteApplicationRequest(input *DeleteApplicationInput) DeleteApplicationRequest

DeleteApplicationRequest returns a request value for making API operation for Amazon AppConfig.

Delete an application. Deleting an application does not delete a configuration from a host.

// Example sending a request using DeleteApplicationRequest.
req := client.DeleteApplicationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication

func (*Client) DeleteConfigurationProfileRequest

func (c *Client) DeleteConfigurationProfileRequest(input *DeleteConfigurationProfileInput) DeleteConfigurationProfileRequest

DeleteConfigurationProfileRequest returns a request value for making API operation for Amazon AppConfig.

Delete a configuration profile. Deleting a configuration profile does not delete a configuration from a host.

// Example sending a request using DeleteConfigurationProfileRequest.
req := client.DeleteConfigurationProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile

func (*Client) DeleteDeploymentStrategyRequest

func (c *Client) DeleteDeploymentStrategyRequest(input *DeleteDeploymentStrategyInput) DeleteDeploymentStrategyRequest

DeleteDeploymentStrategyRequest returns a request value for making API operation for Amazon AppConfig.

Delete a deployment strategy. Deleting a deployment strategy does not delete a configuration from a host.

// Example sending a request using DeleteDeploymentStrategyRequest.
req := client.DeleteDeploymentStrategyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy

func (*Client) DeleteEnvironmentRequest

func (c *Client) DeleteEnvironmentRequest(input *DeleteEnvironmentInput) DeleteEnvironmentRequest

DeleteEnvironmentRequest returns a request value for making API operation for Amazon AppConfig.

Delete an environment. Deleting an environment does not delete a configuration from a host.

// Example sending a request using DeleteEnvironmentRequest.
req := client.DeleteEnvironmentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment

func (*Client) GetApplicationRequest

func (c *Client) GetApplicationRequest(input *GetApplicationInput) GetApplicationRequest

GetApplicationRequest returns a request value for making API operation for Amazon AppConfig.

Retrieve information about an application.

// Example sending a request using GetApplicationRequest.
req := client.GetApplicationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication

func (*Client) GetConfigurationProfileRequest

func (c *Client) GetConfigurationProfileRequest(input *GetConfigurationProfileInput) GetConfigurationProfileRequest

GetConfigurationProfileRequest returns a request value for making API operation for Amazon AppConfig.

Retrieve information about a configuration profile.

// Example sending a request using GetConfigurationProfileRequest.
req := client.GetConfigurationProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile

func (*Client) GetConfigurationRequest

func (c *Client) GetConfigurationRequest(input *GetConfigurationInput) GetConfigurationRequest

GetConfigurationRequest returns a request value for making API operation for Amazon AppConfig.

Retrieve information about a configuration.

// Example sending a request using GetConfigurationRequest.
req := client.GetConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration

func (*Client) GetDeploymentRequest

func (c *Client) GetDeploymentRequest(input *GetDeploymentInput) GetDeploymentRequest

GetDeploymentRequest returns a request value for making API operation for Amazon AppConfig.

Retrieve information about a configuration deployment.

// Example sending a request using GetDeploymentRequest.
req := client.GetDeploymentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment

func (*Client) GetDeploymentStrategyRequest

func (c *Client) GetDeploymentStrategyRequest(input *GetDeploymentStrategyInput) GetDeploymentStrategyRequest

GetDeploymentStrategyRequest returns a request value for making API operation for Amazon AppConfig.

Retrieve information about a deployment strategy. A deployment strategy defines important criteria for rolling out your configuration to the designated targets. A deployment strategy includes: the overall duration required, a percentage of targets to receive the deployment during each interval, an algorithm that defines how percentage grows, and bake time.

// Example sending a request using GetDeploymentStrategyRequest.
req := client.GetDeploymentStrategyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy

func (*Client) GetEnvironmentRequest

func (c *Client) GetEnvironmentRequest(input *GetEnvironmentInput) GetEnvironmentRequest

GetEnvironmentRequest returns a request value for making API operation for Amazon AppConfig.

Retrieve information about an environment. An environment is a logical deployment group of AppConfig applications, such as applications in a Production environment or in an EU_Region environment. Each configuration deployment targets an environment. You can enable one or more Amazon CloudWatch alarms for an environment. If an alarm is triggered during a deployment, AppConfig roles back the configuration.

// Example sending a request using GetEnvironmentRequest.
req := client.GetEnvironmentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment

func (*Client) ListApplicationsRequest

func (c *Client) ListApplicationsRequest(input *ListApplicationsInput) ListApplicationsRequest

ListApplicationsRequest returns a request value for making API operation for Amazon AppConfig.

List all applications in your AWS account.

// Example sending a request using ListApplicationsRequest.
req := client.ListApplicationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications

func (*Client) ListConfigurationProfilesRequest

func (c *Client) ListConfigurationProfilesRequest(input *ListConfigurationProfilesInput) ListConfigurationProfilesRequest

ListConfigurationProfilesRequest returns a request value for making API operation for Amazon AppConfig.

Lists the configuration profiles for an application.

// Example sending a request using ListConfigurationProfilesRequest.
req := client.ListConfigurationProfilesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles

func (*Client) ListDeploymentStrategiesRequest

func (c *Client) ListDeploymentStrategiesRequest(input *ListDeploymentStrategiesInput) ListDeploymentStrategiesRequest

ListDeploymentStrategiesRequest returns a request value for making API operation for Amazon AppConfig.

List deployment strategies.

// Example sending a request using ListDeploymentStrategiesRequest.
req := client.ListDeploymentStrategiesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies

func (*Client) ListDeploymentsRequest

func (c *Client) ListDeploymentsRequest(input *ListDeploymentsInput) ListDeploymentsRequest

ListDeploymentsRequest returns a request value for making API operation for Amazon AppConfig.

Lists the deployments for an environment.

// Example sending a request using ListDeploymentsRequest.
req := client.ListDeploymentsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments

func (*Client) ListEnvironmentsRequest

func (c *Client) ListEnvironmentsRequest(input *ListEnvironmentsInput) ListEnvironmentsRequest

ListEnvironmentsRequest returns a request value for making API operation for Amazon AppConfig.

List the environments for an application.

// Example sending a request using ListEnvironmentsRequest.
req := client.ListEnvironmentsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments

func (*Client) ListTagsForResourceRequest

func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making API operation for Amazon AppConfig.

Retrieves the list of key-value tags assigned to the resource.

// Example sending a request using ListTagsForResourceRequest.
req := client.ListTagsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource

func (*Client) StartDeploymentRequest

func (c *Client) StartDeploymentRequest(input *StartDeploymentInput) StartDeploymentRequest

StartDeploymentRequest returns a request value for making API operation for Amazon AppConfig.

Starts a deployment.

// Example sending a request using StartDeploymentRequest.
req := client.StartDeploymentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment

func (*Client) StopDeploymentRequest

func (c *Client) StopDeploymentRequest(input *StopDeploymentInput) StopDeploymentRequest

StopDeploymentRequest returns a request value for making API operation for Amazon AppConfig.

Stops a deployment. This API action works only on deployments that have a status of DEPLOYING. This action moves the deployment to a status of ROLLED_BACK.

// Example sending a request using StopDeploymentRequest.
req := client.StopDeploymentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment

func (*Client) TagResourceRequest

func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making API operation for Amazon AppConfig.

Metadata to assign to an AppConfig resource. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define. You can specify a maximum of 50 tags for a resource.

// Example sending a request using TagResourceRequest.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource

func (*Client) UntagResourceRequest

func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making API operation for Amazon AppConfig.

Deletes a tag key and value from an AppConfig resource.

// Example sending a request using UntagResourceRequest.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource

func (*Client) UpdateApplicationRequest

func (c *Client) UpdateApplicationRequest(input *UpdateApplicationInput) UpdateApplicationRequest

UpdateApplicationRequest returns a request value for making API operation for Amazon AppConfig.

Updates an application.

// Example sending a request using UpdateApplicationRequest.
req := client.UpdateApplicationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication

func (*Client) UpdateConfigurationProfileRequest

func (c *Client) UpdateConfigurationProfileRequest(input *UpdateConfigurationProfileInput) UpdateConfigurationProfileRequest

UpdateConfigurationProfileRequest returns a request value for making API operation for Amazon AppConfig.

Updates a configuration profile.

// Example sending a request using UpdateConfigurationProfileRequest.
req := client.UpdateConfigurationProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile

func (*Client) UpdateDeploymentStrategyRequest

func (c *Client) UpdateDeploymentStrategyRequest(input *UpdateDeploymentStrategyInput) UpdateDeploymentStrategyRequest

UpdateDeploymentStrategyRequest returns a request value for making API operation for Amazon AppConfig.

Updates a deployment strategy.

// Example sending a request using UpdateDeploymentStrategyRequest.
req := client.UpdateDeploymentStrategyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy

func (*Client) UpdateEnvironmentRequest

func (c *Client) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) UpdateEnvironmentRequest

UpdateEnvironmentRequest returns a request value for making API operation for Amazon AppConfig.

Updates an environment.

// Example sending a request using UpdateEnvironmentRequest.
req := client.UpdateEnvironmentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment

func (*Client) ValidateConfigurationRequest

func (c *Client) ValidateConfigurationRequest(input *ValidateConfigurationInput) ValidateConfigurationRequest

ValidateConfigurationRequest returns a request value for making API operation for Amazon AppConfig.

Uses the validators in a configuration profile to validate a configuration.

// Example sending a request using ValidateConfigurationRequest.
req := client.ValidateConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration

type ConfigurationProfileSummary

type ConfigurationProfileSummary struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The ID of the configuration profile.
	Id *string `type:"string"`

	// The URI location of the configuration.
	LocationUri *string `min:"1" type:"string"`

	// The name of the configuration profile.
	Name *string `min:"1" type:"string"`

	// The types of validators in the configuration profile.
	ValidatorTypes []ValidatorType `type:"list"`
	// contains filtered or unexported fields
}

A summary of a configuration profile.

func (ConfigurationProfileSummary) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ConfigurationProfileSummary) String

String returns the string representation

type CreateApplicationInput

type CreateApplicationInput struct {

	// A description of the application.
	Description *string `type:"string"`

	// A name for the application.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// Metadata to assign to the application. Tags help organize and categorize
	// your AppConfig resources. Each tag consists of a key and an optional value,
	// both of which you define.
	Tags map[string]string `type:"map"`
	// contains filtered or unexported fields
}

func (CreateApplicationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateApplicationInput) String

func (s CreateApplicationInput) String() string

String returns the string representation

func (*CreateApplicationInput) Validate

func (s *CreateApplicationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateApplicationOutput

type CreateApplicationOutput struct {

	// The description of the application.
	Description *string `type:"string"`

	// The application ID.
	Id *string `type:"string"`

	// The application name.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateApplicationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateApplicationOutput) String

func (s CreateApplicationOutput) String() string

String returns the string representation

type CreateApplicationRequest

type CreateApplicationRequest struct {
	*aws.Request
	Input *CreateApplicationInput
	Copy  func(*CreateApplicationInput) CreateApplicationRequest
}

CreateApplicationRequest is the request type for the CreateApplication API operation.

func (CreateApplicationRequest) Send

Send marshals and sends the CreateApplication API request.

type CreateApplicationResponse

type CreateApplicationResponse struct {
	*CreateApplicationOutput
	// contains filtered or unexported fields
}

CreateApplicationResponse is the response type for the CreateApplication API operation.

func (*CreateApplicationResponse) SDKResponseMetdata

func (r *CreateApplicationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateApplication request.

type CreateConfigurationProfileInput

type CreateConfigurationProfileInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// A description of the configuration profile.
	Description *string `type:"string"`

	// A URI to locate the configuration. You can specify either a Systems Manager
	// (SSM) document or an SSM Parameter Store parameter. For an SSM document,
	// specify either the document name in the format ssm-document://<Document name>
	// or the Amazon Resource Name (ARN). For a parameter, specify either the parameter
	// name in the format ssm-parameter://<Parameter name> or the ARN.
	//
	// LocationUri is a required field
	LocationUri *string `min:"1" type:"string" required:"true"`

	// A name for the configuration profile.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// The ARN of an IAM role with permission to access the configuration at the
	// specified LocationUri.
	//
	// RetrievalRoleArn is a required field
	RetrievalRoleArn *string `min:"20" type:"string" required:"true"`

	// Metadata to assign to the configuration profile. Tags help organize and categorize
	// your AppConfig resources. Each tag consists of a key and an optional value,
	// both of which you define.
	Tags map[string]string `type:"map"`

	// A list of methods for validating the configuration.
	Validators []Validator `type:"list"`
	// contains filtered or unexported fields
}

func (CreateConfigurationProfileInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateConfigurationProfileInput) String

String returns the string representation

func (*CreateConfigurationProfileInput) Validate

func (s *CreateConfigurationProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateConfigurationProfileOutput

type CreateConfigurationProfileOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The configuration profile description.
	Description *string `type:"string"`

	// The configuration profile ID.
	Id *string `type:"string"`

	// The URI location of the configuration.
	LocationUri *string `min:"1" type:"string"`

	// The name of the configuration profile.
	Name *string `min:"1" type:"string"`

	// The ARN of an IAM role with permission to access the configuration at the
	// specified LocationUri.
	RetrievalRoleArn *string `min:"20" type:"string"`

	// A list of methods for validating the configuration.
	Validators []Validator `type:"list"`
	// contains filtered or unexported fields
}

func (CreateConfigurationProfileOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateConfigurationProfileOutput) String

String returns the string representation

type CreateConfigurationProfileRequest

type CreateConfigurationProfileRequest struct {
	*aws.Request
	Input *CreateConfigurationProfileInput
	Copy  func(*CreateConfigurationProfileInput) CreateConfigurationProfileRequest
}

CreateConfigurationProfileRequest is the request type for the CreateConfigurationProfile API operation.

func (CreateConfigurationProfileRequest) Send

Send marshals and sends the CreateConfigurationProfile API request.

type CreateConfigurationProfileResponse

type CreateConfigurationProfileResponse struct {
	*CreateConfigurationProfileOutput
	// contains filtered or unexported fields
}

CreateConfigurationProfileResponse is the response type for the CreateConfigurationProfile API operation.

func (*CreateConfigurationProfileResponse) SDKResponseMetdata

func (r *CreateConfigurationProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateConfigurationProfile request.

type CreateDeploymentStrategyInput

type CreateDeploymentStrategyInput struct {

	// Total amount of time for a deployment to last.
	//
	// DeploymentDurationInMinutes is a required field
	DeploymentDurationInMinutes *int64 `type:"integer" required:"true"`

	// A description of the deployment strategy.
	Description *string `type:"string"`

	// The amount of time AppConfig monitors for alarms before considering the deployment
	// to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	//
	// GrowthFactor is a required field
	GrowthFactor *float64 `min:"1" type:"float" required:"true"`

	// The algorithm used to define how percentage grows over time.
	GrowthType GrowthType `type:"string" enum:"true"`

	// A name for the deployment strategy.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// Save the deployment strategy to a Systems Manager (SSM) document.
	//
	// ReplicateTo is a required field
	ReplicateTo ReplicateTo `type:"string" required:"true" enum:"true"`

	// Metadata to assign to the deployment strategy. Tags help organize and categorize
	// your AppConfig resources. Each tag consists of a key and an optional value,
	// both of which you define.
	Tags map[string]string `type:"map"`
	// contains filtered or unexported fields
}

func (CreateDeploymentStrategyInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDeploymentStrategyInput) String

String returns the string representation

func (*CreateDeploymentStrategyInput) Validate

func (s *CreateDeploymentStrategyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDeploymentStrategyOutput

type CreateDeploymentStrategyOutput struct {

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The description of the deployment strategy.
	Description *string `type:"string"`

	// The amount of time AppConfig monitored for alarms before considering the
	// deployment to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets that received a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType GrowthType `type:"string" enum:"true"`

	// The deployment strategy ID.
	Id *string `type:"string"`

	// The name of the deployment strategy.
	Name *string `min:"1" type:"string"`

	// Save the deployment strategy to a Systems Manager (SSM) document.
	ReplicateTo ReplicateTo `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (CreateDeploymentStrategyOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDeploymentStrategyOutput) String

String returns the string representation

type CreateDeploymentStrategyRequest

type CreateDeploymentStrategyRequest struct {
	*aws.Request
	Input *CreateDeploymentStrategyInput
	Copy  func(*CreateDeploymentStrategyInput) CreateDeploymentStrategyRequest
}

CreateDeploymentStrategyRequest is the request type for the CreateDeploymentStrategy API operation.

func (CreateDeploymentStrategyRequest) Send

Send marshals and sends the CreateDeploymentStrategy API request.

type CreateDeploymentStrategyResponse

type CreateDeploymentStrategyResponse struct {
	*CreateDeploymentStrategyOutput
	// contains filtered or unexported fields
}

CreateDeploymentStrategyResponse is the response type for the CreateDeploymentStrategy API operation.

func (*CreateDeploymentStrategyResponse) SDKResponseMetdata

func (r *CreateDeploymentStrategyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateDeploymentStrategy request.

type CreateEnvironmentInput

type CreateEnvironmentInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// A description of the environment.
	Description *string `type:"string"`

	// Amazon CloudWatch alarms to monitor during the deployment process.
	Monitors []Monitor `type:"list"`

	// A name for the environment.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// Metadata to assign to the environment. Tags help organize and categorize
	// your AppConfig resources. Each tag consists of a key and an optional value,
	// both of which you define.
	Tags map[string]string `type:"map"`
	// contains filtered or unexported fields
}

func (CreateEnvironmentInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateEnvironmentInput) String

func (s CreateEnvironmentInput) String() string

String returns the string representation

func (*CreateEnvironmentInput) Validate

func (s *CreateEnvironmentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateEnvironmentOutput

type CreateEnvironmentOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The description of the environment.
	Description *string `type:"string"`

	// The environment ID.
	Id *string `type:"string"`

	// Amazon CloudWatch alarms monitored during the deployment.
	Monitors []Monitor `type:"list"`

	// The name of the environment.
	Name *string `min:"1" type:"string"`

	// The state of the environment. An environment can be in one of the following
	// states: READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or ROLLED_BACK
	State EnvironmentState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (CreateEnvironmentOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateEnvironmentOutput) String

func (s CreateEnvironmentOutput) String() string

String returns the string representation

type CreateEnvironmentRequest

type CreateEnvironmentRequest struct {
	*aws.Request
	Input *CreateEnvironmentInput
	Copy  func(*CreateEnvironmentInput) CreateEnvironmentRequest
}

CreateEnvironmentRequest is the request type for the CreateEnvironment API operation.

func (CreateEnvironmentRequest) Send

Send marshals and sends the CreateEnvironment API request.

type CreateEnvironmentResponse

type CreateEnvironmentResponse struct {
	*CreateEnvironmentOutput
	// contains filtered or unexported fields
}

CreateEnvironmentResponse is the response type for the CreateEnvironment API operation.

func (*CreateEnvironmentResponse) SDKResponseMetdata

func (r *CreateEnvironmentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateEnvironment request.

type DeleteApplicationInput

type DeleteApplicationInput struct {

	// The ID of the application to delete.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteApplicationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApplicationInput) String

func (s DeleteApplicationInput) String() string

String returns the string representation

func (*DeleteApplicationInput) Validate

func (s *DeleteApplicationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteApplicationOutput

type DeleteApplicationOutput struct {
	// contains filtered or unexported fields
}

func (DeleteApplicationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApplicationOutput) String

func (s DeleteApplicationOutput) String() string

String returns the string representation

type DeleteApplicationRequest

type DeleteApplicationRequest struct {
	*aws.Request
	Input *DeleteApplicationInput
	Copy  func(*DeleteApplicationInput) DeleteApplicationRequest
}

DeleteApplicationRequest is the request type for the DeleteApplication API operation.

func (DeleteApplicationRequest) Send

Send marshals and sends the DeleteApplication API request.

type DeleteApplicationResponse

type DeleteApplicationResponse struct {
	*DeleteApplicationOutput
	// contains filtered or unexported fields
}

DeleteApplicationResponse is the response type for the DeleteApplication API operation.

func (*DeleteApplicationResponse) SDKResponseMetdata

func (r *DeleteApplicationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteApplication request.

type DeleteConfigurationProfileInput

type DeleteConfigurationProfileInput struct {

	// The application ID that includes the configuration profile you want to delete.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The ID of the configuration profile you want to delete.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteConfigurationProfileInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteConfigurationProfileInput) String

String returns the string representation

func (*DeleteConfigurationProfileInput) Validate

func (s *DeleteConfigurationProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteConfigurationProfileOutput

type DeleteConfigurationProfileOutput struct {
	// contains filtered or unexported fields
}

func (DeleteConfigurationProfileOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteConfigurationProfileOutput) String

String returns the string representation

type DeleteConfigurationProfileRequest

type DeleteConfigurationProfileRequest struct {
	*aws.Request
	Input *DeleteConfigurationProfileInput
	Copy  func(*DeleteConfigurationProfileInput) DeleteConfigurationProfileRequest
}

DeleteConfigurationProfileRequest is the request type for the DeleteConfigurationProfile API operation.

func (DeleteConfigurationProfileRequest) Send

Send marshals and sends the DeleteConfigurationProfile API request.

type DeleteConfigurationProfileResponse

type DeleteConfigurationProfileResponse struct {
	*DeleteConfigurationProfileOutput
	// contains filtered or unexported fields
}

DeleteConfigurationProfileResponse is the response type for the DeleteConfigurationProfile API operation.

func (*DeleteConfigurationProfileResponse) SDKResponseMetdata

func (r *DeleteConfigurationProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteConfigurationProfile request.

type DeleteDeploymentStrategyInput

type DeleteDeploymentStrategyInput struct {

	// The ID of the deployment strategy you want to delete.
	//
	// DeploymentStrategyId is a required field
	DeploymentStrategyId *string `location:"uri" locationName:"DeploymentStrategyId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDeploymentStrategyInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteDeploymentStrategyInput) String

String returns the string representation

func (*DeleteDeploymentStrategyInput) Validate

func (s *DeleteDeploymentStrategyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDeploymentStrategyOutput

type DeleteDeploymentStrategyOutput struct {
	// contains filtered or unexported fields
}

func (DeleteDeploymentStrategyOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteDeploymentStrategyOutput) String

String returns the string representation

type DeleteDeploymentStrategyRequest

type DeleteDeploymentStrategyRequest struct {
	*aws.Request
	Input *DeleteDeploymentStrategyInput
	Copy  func(*DeleteDeploymentStrategyInput) DeleteDeploymentStrategyRequest
}

DeleteDeploymentStrategyRequest is the request type for the DeleteDeploymentStrategy API operation.

func (DeleteDeploymentStrategyRequest) Send

Send marshals and sends the DeleteDeploymentStrategy API request.

type DeleteDeploymentStrategyResponse

type DeleteDeploymentStrategyResponse struct {
	*DeleteDeploymentStrategyOutput
	// contains filtered or unexported fields
}

DeleteDeploymentStrategyResponse is the response type for the DeleteDeploymentStrategy API operation.

func (*DeleteDeploymentStrategyResponse) SDKResponseMetdata

func (r *DeleteDeploymentStrategyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteDeploymentStrategy request.

type DeleteEnvironmentInput

type DeleteEnvironmentInput struct {

	// The application ID that includes the environment you want to delete.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The ID of the environment you want to delete.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteEnvironmentInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteEnvironmentInput) String

func (s DeleteEnvironmentInput) String() string

String returns the string representation

func (*DeleteEnvironmentInput) Validate

func (s *DeleteEnvironmentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteEnvironmentOutput

type DeleteEnvironmentOutput struct {
	// contains filtered or unexported fields
}

func (DeleteEnvironmentOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteEnvironmentOutput) String

func (s DeleteEnvironmentOutput) String() string

String returns the string representation

type DeleteEnvironmentRequest

type DeleteEnvironmentRequest struct {
	*aws.Request
	Input *DeleteEnvironmentInput
	Copy  func(*DeleteEnvironmentInput) DeleteEnvironmentRequest
}

DeleteEnvironmentRequest is the request type for the DeleteEnvironment API operation.

func (DeleteEnvironmentRequest) Send

Send marshals and sends the DeleteEnvironment API request.

type DeleteEnvironmentResponse

type DeleteEnvironmentResponse struct {
	*DeleteEnvironmentOutput
	// contains filtered or unexported fields
}

DeleteEnvironmentResponse is the response type for the DeleteEnvironment API operation.

func (*DeleteEnvironmentResponse) SDKResponseMetdata

func (r *DeleteEnvironmentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteEnvironment request.

type DeploymentState

type DeploymentState string
const (
	DeploymentStateBaking      DeploymentState = "BAKING"
	DeploymentStateValidating  DeploymentState = "VALIDATING"
	DeploymentStateDeploying   DeploymentState = "DEPLOYING"
	DeploymentStateComplete    DeploymentState = "COMPLETE"
	DeploymentStateRollingBack DeploymentState = "ROLLING_BACK"
	DeploymentStateRolledBack  DeploymentState = "ROLLED_BACK"
)

Enum values for DeploymentState

func (DeploymentState) MarshalValue

func (enum DeploymentState) MarshalValue() (string, error)

func (DeploymentState) MarshalValueBuf

func (enum DeploymentState) MarshalValueBuf(b []byte) ([]byte, error)

type DeploymentStrategy

type DeploymentStrategy struct {

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The description of the deployment strategy.
	Description *string `type:"string"`

	// The amount of time AppConfig monitored for alarms before considering the
	// deployment to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets that received a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType GrowthType `type:"string" enum:"true"`

	// The deployment strategy ID.
	Id *string `type:"string"`

	// The name of the deployment strategy.
	Name *string `min:"1" type:"string"`

	// Save the deployment strategy to a Systems Manager (SSM) document.
	ReplicateTo ReplicateTo `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (DeploymentStrategy) MarshalFields

func (s DeploymentStrategy) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeploymentStrategy) String

func (s DeploymentStrategy) String() string

String returns the string representation

type DeploymentSummary

type DeploymentSummary struct {

	// Time the deployment completed.
	CompletedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The name of the configuration.
	ConfigurationName *string `min:"1" type:"string"`

	// The version of the configuration.
	ConfigurationVersion *string `min:"1" type:"string"`

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The sequence number of the deployment.
	DeploymentNumber *int64 `type:"integer"`

	// The amount of time AppConfig monitors for alarms before considering the deployment
	// to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grows over time.
	GrowthType GrowthType `type:"string" enum:"true"`

	// The percentage of targets for which the deployment is available.
	PercentageComplete *float64 `min:"1" type:"float"`

	// Time the deployment started.
	StartedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The state of the deployment.
	State DeploymentState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Information about the deployment.

func (DeploymentSummary) MarshalFields

func (s DeploymentSummary) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeploymentSummary) String

func (s DeploymentSummary) String() string

String returns the string representation

type Environment

type Environment struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The description of the environment.
	Description *string `type:"string"`

	// The environment ID.
	Id *string `type:"string"`

	// Amazon CloudWatch alarms monitored during the deployment.
	Monitors []Monitor `type:"list"`

	// The name of the environment.
	Name *string `min:"1" type:"string"`

	// The state of the environment. An environment can be in one of the following
	// states: READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or ROLLED_BACK
	State EnvironmentState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (Environment) MarshalFields

func (s Environment) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Environment) String

func (s Environment) String() string

String returns the string representation

type EnvironmentState

type EnvironmentState string
const (
	EnvironmentStateReadyForDeployment EnvironmentState = "READY_FOR_DEPLOYMENT"
	EnvironmentStateDeploying          EnvironmentState = "DEPLOYING"
	EnvironmentStateRollingBack        EnvironmentState = "ROLLING_BACK"
	EnvironmentStateRolledBack         EnvironmentState = "ROLLED_BACK"
)

Enum values for EnvironmentState

func (EnvironmentState) MarshalValue

func (enum EnvironmentState) MarshalValue() (string, error)

func (EnvironmentState) MarshalValueBuf

func (enum EnvironmentState) MarshalValueBuf(b []byte) ([]byte, error)

type GetApplicationInput

type GetApplicationInput struct {

	// The ID of the application you want to get.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetApplicationInput) MarshalFields

func (s GetApplicationInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApplicationInput) String

func (s GetApplicationInput) String() string

String returns the string representation

func (*GetApplicationInput) Validate

func (s *GetApplicationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetApplicationOutput

type GetApplicationOutput struct {

	// The description of the application.
	Description *string `type:"string"`

	// The application ID.
	Id *string `type:"string"`

	// The application name.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetApplicationOutput) MarshalFields

func (s GetApplicationOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApplicationOutput) String

func (s GetApplicationOutput) String() string

String returns the string representation

type GetApplicationRequest

type GetApplicationRequest struct {
	*aws.Request
	Input *GetApplicationInput
	Copy  func(*GetApplicationInput) GetApplicationRequest
}

GetApplicationRequest is the request type for the GetApplication API operation.

func (GetApplicationRequest) Send

Send marshals and sends the GetApplication API request.

type GetApplicationResponse

type GetApplicationResponse struct {
	*GetApplicationOutput
	// contains filtered or unexported fields
}

GetApplicationResponse is the response type for the GetApplication API operation.

func (*GetApplicationResponse) SDKResponseMetdata

func (r *GetApplicationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetApplication request.

type GetConfigurationInput

type GetConfigurationInput struct {

	// The application to get.
	//
	// Application is a required field
	Application *string `location:"uri" locationName:"Application" min:"1" type:"string" required:"true"`

	// The configuration version returned in the most recent GetConfiguration response.
	ClientConfigurationVersion *string `location:"querystring" locationName:"client_configuration_version" min:"1" type:"string"`

	// A unique ID to identify the client for the configuration. This ID enables
	// AppConfig to deploy the configuration in intervals, as defined in the deployment
	// strategy.
	//
	// ClientId is a required field
	ClientId *string `location:"querystring" locationName:"client_id" min:"1" type:"string" required:"true"`

	// The configuration to get.
	//
	// Configuration is a required field
	Configuration *string `location:"uri" locationName:"Configuration" min:"1" type:"string" required:"true"`

	// The environment to get.
	//
	// Environment is a required field
	Environment *string `location:"uri" locationName:"Environment" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetConfigurationInput) MarshalFields

func (s GetConfigurationInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetConfigurationInput) String

func (s GetConfigurationInput) String() string

String returns the string representation

func (*GetConfigurationInput) Validate

func (s *GetConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetConfigurationOutput

type GetConfigurationOutput struct {

	// The configuration version.
	ConfigurationVersion *string `location:"header" locationName:"Configuration-Version" min:"1" type:"string"`

	// The content of the configuration or the configuration data.
	Content []byte `type:"blob"`

	// A standard MIME type describing the format of the configuration content.
	// For more information, see Content-Type (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17).
	ContentType *string `location:"header" locationName:"Content-Type" type:"string"`
	// contains filtered or unexported fields
}

func (GetConfigurationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetConfigurationOutput) String

func (s GetConfigurationOutput) String() string

String returns the string representation

type GetConfigurationProfileInput

type GetConfigurationProfileInput struct {

	// The ID of the application that includes the configuration profile you want
	// to get.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The ID of the configuration profile you want to get.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetConfigurationProfileInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetConfigurationProfileInput) String

String returns the string representation

func (*GetConfigurationProfileInput) Validate

func (s *GetConfigurationProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetConfigurationProfileOutput

type GetConfigurationProfileOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The configuration profile description.
	Description *string `type:"string"`

	// The configuration profile ID.
	Id *string `type:"string"`

	// The URI location of the configuration.
	LocationUri *string `min:"1" type:"string"`

	// The name of the configuration profile.
	Name *string `min:"1" type:"string"`

	// The ARN of an IAM role with permission to access the configuration at the
	// specified LocationUri.
	RetrievalRoleArn *string `min:"20" type:"string"`

	// A list of methods for validating the configuration.
	Validators []Validator `type:"list"`
	// contains filtered or unexported fields
}

func (GetConfigurationProfileOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetConfigurationProfileOutput) String

String returns the string representation

type GetConfigurationProfileRequest

type GetConfigurationProfileRequest struct {
	*aws.Request
	Input *GetConfigurationProfileInput
	Copy  func(*GetConfigurationProfileInput) GetConfigurationProfileRequest
}

GetConfigurationProfileRequest is the request type for the GetConfigurationProfile API operation.

func (GetConfigurationProfileRequest) Send

Send marshals and sends the GetConfigurationProfile API request.

type GetConfigurationProfileResponse

type GetConfigurationProfileResponse struct {
	*GetConfigurationProfileOutput
	// contains filtered or unexported fields
}

GetConfigurationProfileResponse is the response type for the GetConfigurationProfile API operation.

func (*GetConfigurationProfileResponse) SDKResponseMetdata

func (r *GetConfigurationProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetConfigurationProfile request.

type GetConfigurationRequest

type GetConfigurationRequest struct {
	*aws.Request
	Input *GetConfigurationInput
	Copy  func(*GetConfigurationInput) GetConfigurationRequest
}

GetConfigurationRequest is the request type for the GetConfiguration API operation.

func (GetConfigurationRequest) Send

Send marshals and sends the GetConfiguration API request.

type GetConfigurationResponse

type GetConfigurationResponse struct {
	*GetConfigurationOutput
	// contains filtered or unexported fields
}

GetConfigurationResponse is the response type for the GetConfiguration API operation.

func (*GetConfigurationResponse) SDKResponseMetdata

func (r *GetConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetConfiguration request.

type GetDeploymentInput

type GetDeploymentInput struct {

	// The ID of the application that includes the deployment you want to get.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The sequence number of the deployment.
	//
	// DeploymentNumber is a required field
	DeploymentNumber *int64 `location:"uri" locationName:"DeploymentNumber" type:"integer" required:"true"`

	// The ID of the environment that includes the deployment you want to get.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetDeploymentInput) MarshalFields

func (s GetDeploymentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDeploymentInput) String

func (s GetDeploymentInput) String() string

String returns the string representation

func (*GetDeploymentInput) Validate

func (s *GetDeploymentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDeploymentOutput

type GetDeploymentOutput struct {

	// The ID of the application that was deployed.
	ApplicationId *string `type:"string"`

	// The time the deployment completed.
	CompletedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// Information about the source location of the configuration.
	ConfigurationLocationUri *string `min:"1" type:"string"`

	// The name of the configuration.
	ConfigurationName *string `min:"1" type:"string"`

	// The ID of the configuration profile that was deployed.
	ConfigurationProfileId *string `type:"string"`

	// The configuration version that was deployed.
	ConfigurationVersion *string `min:"1" type:"string"`

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The sequence number of the deployment.
	DeploymentNumber *int64 `type:"integer"`

	// The ID of the deployment strategy that was deployed.
	DeploymentStrategyId *string `type:"string"`

	// The description of the deployment.
	Description *string `type:"string"`

	// The ID of the environment that was deployed.
	EnvironmentId *string `type:"string"`

	// The amount of time AppConfig monitored for alarms before considering the
	// deployment to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType GrowthType `type:"string" enum:"true"`

	// The percentage of targets for which the deployment is available.
	PercentageComplete *float64 `min:"1" type:"float"`

	// The time the deployment started.
	StartedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The state of the deployment.
	State DeploymentState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (GetDeploymentOutput) MarshalFields

func (s GetDeploymentOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDeploymentOutput) String

func (s GetDeploymentOutput) String() string

String returns the string representation

type GetDeploymentRequest

type GetDeploymentRequest struct {
	*aws.Request
	Input *GetDeploymentInput
	Copy  func(*GetDeploymentInput) GetDeploymentRequest
}

GetDeploymentRequest is the request type for the GetDeployment API operation.

func (GetDeploymentRequest) Send

Send marshals and sends the GetDeployment API request.

type GetDeploymentResponse

type GetDeploymentResponse struct {
	*GetDeploymentOutput
	// contains filtered or unexported fields
}

GetDeploymentResponse is the response type for the GetDeployment API operation.

func (*GetDeploymentResponse) SDKResponseMetdata

func (r *GetDeploymentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetDeployment request.

type GetDeploymentStrategyInput

type GetDeploymentStrategyInput struct {

	// The ID of the deployment strategy to get.
	//
	// DeploymentStrategyId is a required field
	DeploymentStrategyId *string `location:"uri" locationName:"DeploymentStrategyId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetDeploymentStrategyInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDeploymentStrategyInput) String

String returns the string representation

func (*GetDeploymentStrategyInput) Validate

func (s *GetDeploymentStrategyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDeploymentStrategyOutput

type GetDeploymentStrategyOutput struct {

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The description of the deployment strategy.
	Description *string `type:"string"`

	// The amount of time AppConfig monitored for alarms before considering the
	// deployment to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets that received a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType GrowthType `type:"string" enum:"true"`

	// The deployment strategy ID.
	Id *string `type:"string"`

	// The name of the deployment strategy.
	Name *string `min:"1" type:"string"`

	// Save the deployment strategy to a Systems Manager (SSM) document.
	ReplicateTo ReplicateTo `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (GetDeploymentStrategyOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDeploymentStrategyOutput) String

String returns the string representation

type GetDeploymentStrategyRequest

type GetDeploymentStrategyRequest struct {
	*aws.Request
	Input *GetDeploymentStrategyInput
	Copy  func(*GetDeploymentStrategyInput) GetDeploymentStrategyRequest
}

GetDeploymentStrategyRequest is the request type for the GetDeploymentStrategy API operation.

func (GetDeploymentStrategyRequest) Send

Send marshals and sends the GetDeploymentStrategy API request.

type GetDeploymentStrategyResponse

type GetDeploymentStrategyResponse struct {
	*GetDeploymentStrategyOutput
	// contains filtered or unexported fields
}

GetDeploymentStrategyResponse is the response type for the GetDeploymentStrategy API operation.

func (*GetDeploymentStrategyResponse) SDKResponseMetdata

func (r *GetDeploymentStrategyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetDeploymentStrategy request.

type GetEnvironmentInput

type GetEnvironmentInput struct {

	// The ID of the application that includes the environment you want to get.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The ID of the environment you wnat to get.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetEnvironmentInput) MarshalFields

func (s GetEnvironmentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetEnvironmentInput) String

func (s GetEnvironmentInput) String() string

String returns the string representation

func (*GetEnvironmentInput) Validate

func (s *GetEnvironmentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetEnvironmentOutput

type GetEnvironmentOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The description of the environment.
	Description *string `type:"string"`

	// The environment ID.
	Id *string `type:"string"`

	// Amazon CloudWatch alarms monitored during the deployment.
	Monitors []Monitor `type:"list"`

	// The name of the environment.
	Name *string `min:"1" type:"string"`

	// The state of the environment. An environment can be in one of the following
	// states: READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or ROLLED_BACK
	State EnvironmentState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (GetEnvironmentOutput) MarshalFields

func (s GetEnvironmentOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetEnvironmentOutput) String

func (s GetEnvironmentOutput) String() string

String returns the string representation

type GetEnvironmentRequest

type GetEnvironmentRequest struct {
	*aws.Request
	Input *GetEnvironmentInput
	Copy  func(*GetEnvironmentInput) GetEnvironmentRequest
}

GetEnvironmentRequest is the request type for the GetEnvironment API operation.

func (GetEnvironmentRequest) Send

Send marshals and sends the GetEnvironment API request.

type GetEnvironmentResponse

type GetEnvironmentResponse struct {
	*GetEnvironmentOutput
	// contains filtered or unexported fields
}

GetEnvironmentResponse is the response type for the GetEnvironment API operation.

func (*GetEnvironmentResponse) SDKResponseMetdata

func (r *GetEnvironmentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetEnvironment request.

type GrowthType

type GrowthType string
const (
	GrowthTypeLinear GrowthType = "LINEAR"
)

Enum values for GrowthType

func (GrowthType) MarshalValue

func (enum GrowthType) MarshalValue() (string, error)

func (GrowthType) MarshalValueBuf

func (enum GrowthType) MarshalValueBuf(b []byte) ([]byte, error)

type ListApplicationsInput

type ListApplicationsInput struct {

	// The maximum number of items to return for this call. The call also returns
	// a token that you can specify in a subsequent call to get the next set of
	// results.
	MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// A token to start the list. Use this token to get the next set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListApplicationsInput) MarshalFields

func (s ListApplicationsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListApplicationsInput) String

func (s ListApplicationsInput) String() string

String returns the string representation

func (*ListApplicationsInput) Validate

func (s *ListApplicationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListApplicationsOutput

type ListApplicationsOutput struct {

	// The elements from this collection.
	Items []Application `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListApplicationsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListApplicationsOutput) String

func (s ListApplicationsOutput) String() string

String returns the string representation

type ListApplicationsPaginator

type ListApplicationsPaginator struct {
	aws.Pager
}

ListApplicationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListApplicationsPaginator

func NewListApplicationsPaginator(req ListApplicationsRequest) ListApplicationsPaginator

NewListApplicationsRequestPaginator returns a paginator for ListApplications. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListApplicationsRequest(input)
p := appconfig.NewListApplicationsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListApplicationsPaginator) CurrentPage

type ListApplicationsRequest

type ListApplicationsRequest struct {
	*aws.Request
	Input *ListApplicationsInput
	Copy  func(*ListApplicationsInput) ListApplicationsRequest
}

ListApplicationsRequest is the request type for the ListApplications API operation.

func (ListApplicationsRequest) Send

Send marshals and sends the ListApplications API request.

type ListApplicationsResponse

type ListApplicationsResponse struct {
	*ListApplicationsOutput
	// contains filtered or unexported fields
}

ListApplicationsResponse is the response type for the ListApplications API operation.

func (*ListApplicationsResponse) SDKResponseMetdata

func (r *ListApplicationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListApplications request.

type ListConfigurationProfilesInput

type ListConfigurationProfilesInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The maximum number of items to return for this call. The call also returns
	// a token that you can specify in a subsequent call to get the next set of
	// results.
	MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// A token to start the list. Use this token to get the next set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListConfigurationProfilesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListConfigurationProfilesInput) String

String returns the string representation

func (*ListConfigurationProfilesInput) Validate

func (s *ListConfigurationProfilesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListConfigurationProfilesOutput

type ListConfigurationProfilesOutput struct {

	// The elements from this collection.
	Items []ConfigurationProfileSummary `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListConfigurationProfilesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListConfigurationProfilesOutput) String

String returns the string representation

type ListConfigurationProfilesPaginator

type ListConfigurationProfilesPaginator struct {
	aws.Pager
}

ListConfigurationProfilesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListConfigurationProfilesPaginator

func NewListConfigurationProfilesPaginator(req ListConfigurationProfilesRequest) ListConfigurationProfilesPaginator

NewListConfigurationProfilesRequestPaginator returns a paginator for ListConfigurationProfiles. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListConfigurationProfilesRequest(input)
p := appconfig.NewListConfigurationProfilesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListConfigurationProfilesPaginator) CurrentPage

type ListConfigurationProfilesRequest

type ListConfigurationProfilesRequest struct {
	*aws.Request
	Input *ListConfigurationProfilesInput
	Copy  func(*ListConfigurationProfilesInput) ListConfigurationProfilesRequest
}

ListConfigurationProfilesRequest is the request type for the ListConfigurationProfiles API operation.

func (ListConfigurationProfilesRequest) Send

Send marshals and sends the ListConfigurationProfiles API request.

type ListConfigurationProfilesResponse

type ListConfigurationProfilesResponse struct {
	*ListConfigurationProfilesOutput
	// contains filtered or unexported fields
}

ListConfigurationProfilesResponse is the response type for the ListConfigurationProfiles API operation.

func (*ListConfigurationProfilesResponse) SDKResponseMetdata

func (r *ListConfigurationProfilesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListConfigurationProfiles request.

type ListDeploymentStrategiesInput

type ListDeploymentStrategiesInput struct {

	// The maximum number of items to return for this call. The call also returns
	// a token that you can specify in a subsequent call to get the next set of
	// results.
	MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// A token to start the list. Use this token to get the next set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListDeploymentStrategiesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListDeploymentStrategiesInput) String

String returns the string representation

func (*ListDeploymentStrategiesInput) Validate

func (s *ListDeploymentStrategiesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListDeploymentStrategiesOutput

type ListDeploymentStrategiesOutput struct {

	// The elements from this collection.
	Items []DeploymentStrategy `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListDeploymentStrategiesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListDeploymentStrategiesOutput) String

String returns the string representation

type ListDeploymentStrategiesPaginator

type ListDeploymentStrategiesPaginator struct {
	aws.Pager
}

ListDeploymentStrategiesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListDeploymentStrategiesPaginator

func NewListDeploymentStrategiesPaginator(req ListDeploymentStrategiesRequest) ListDeploymentStrategiesPaginator

NewListDeploymentStrategiesRequestPaginator returns a paginator for ListDeploymentStrategies. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListDeploymentStrategiesRequest(input)
p := appconfig.NewListDeploymentStrategiesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListDeploymentStrategiesPaginator) CurrentPage

type ListDeploymentStrategiesRequest

type ListDeploymentStrategiesRequest struct {
	*aws.Request
	Input *ListDeploymentStrategiesInput
	Copy  func(*ListDeploymentStrategiesInput) ListDeploymentStrategiesRequest
}

ListDeploymentStrategiesRequest is the request type for the ListDeploymentStrategies API operation.

func (ListDeploymentStrategiesRequest) Send

Send marshals and sends the ListDeploymentStrategies API request.

type ListDeploymentStrategiesResponse

type ListDeploymentStrategiesResponse struct {
	*ListDeploymentStrategiesOutput
	// contains filtered or unexported fields
}

ListDeploymentStrategiesResponse is the response type for the ListDeploymentStrategies API operation.

func (*ListDeploymentStrategiesResponse) SDKResponseMetdata

func (r *ListDeploymentStrategiesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListDeploymentStrategies request.

type ListDeploymentsInput

type ListDeploymentsInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The environment ID.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`

	// The maximum number of items to return for this call. The call also returns
	// a token that you can specify in a subsequent call to get the next set of
	// results.
	MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// A token to start the list. Use this token to get the next set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListDeploymentsInput) MarshalFields

func (s ListDeploymentsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListDeploymentsInput) String

func (s ListDeploymentsInput) String() string

String returns the string representation

func (*ListDeploymentsInput) Validate

func (s *ListDeploymentsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListDeploymentsOutput

type ListDeploymentsOutput struct {

	// The elements from this collection.
	Items []DeploymentSummary `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListDeploymentsOutput) MarshalFields

func (s ListDeploymentsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListDeploymentsOutput) String

func (s ListDeploymentsOutput) String() string

String returns the string representation

type ListDeploymentsPaginator

type ListDeploymentsPaginator struct {
	aws.Pager
}

ListDeploymentsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListDeploymentsPaginator

func NewListDeploymentsPaginator(req ListDeploymentsRequest) ListDeploymentsPaginator

NewListDeploymentsRequestPaginator returns a paginator for ListDeployments. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListDeploymentsRequest(input)
p := appconfig.NewListDeploymentsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListDeploymentsPaginator) CurrentPage

type ListDeploymentsRequest

type ListDeploymentsRequest struct {
	*aws.Request
	Input *ListDeploymentsInput
	Copy  func(*ListDeploymentsInput) ListDeploymentsRequest
}

ListDeploymentsRequest is the request type for the ListDeployments API operation.

func (ListDeploymentsRequest) Send

Send marshals and sends the ListDeployments API request.

type ListDeploymentsResponse

type ListDeploymentsResponse struct {
	*ListDeploymentsOutput
	// contains filtered or unexported fields
}

ListDeploymentsResponse is the response type for the ListDeployments API operation.

func (*ListDeploymentsResponse) SDKResponseMetdata

func (r *ListDeploymentsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListDeployments request.

type ListEnvironmentsInput

type ListEnvironmentsInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The maximum number of items to return for this call. The call also returns
	// a token that you can specify in a subsequent call to get the next set of
	// results.
	MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// A token to start the list. Use this token to get the next set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListEnvironmentsInput) MarshalFields

func (s ListEnvironmentsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListEnvironmentsInput) String

func (s ListEnvironmentsInput) String() string

String returns the string representation

func (*ListEnvironmentsInput) Validate

func (s *ListEnvironmentsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListEnvironmentsOutput

type ListEnvironmentsOutput struct {

	// The elements from this collection.
	Items []Environment `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListEnvironmentsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListEnvironmentsOutput) String

func (s ListEnvironmentsOutput) String() string

String returns the string representation

type ListEnvironmentsPaginator

type ListEnvironmentsPaginator struct {
	aws.Pager
}

ListEnvironmentsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListEnvironmentsPaginator

func NewListEnvironmentsPaginator(req ListEnvironmentsRequest) ListEnvironmentsPaginator

NewListEnvironmentsRequestPaginator returns a paginator for ListEnvironments. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListEnvironmentsRequest(input)
p := appconfig.NewListEnvironmentsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListEnvironmentsPaginator) CurrentPage

type ListEnvironmentsRequest

type ListEnvironmentsRequest struct {
	*aws.Request
	Input *ListEnvironmentsInput
	Copy  func(*ListEnvironmentsInput) ListEnvironmentsRequest
}

ListEnvironmentsRequest is the request type for the ListEnvironments API operation.

func (ListEnvironmentsRequest) Send

Send marshals and sends the ListEnvironments API request.

type ListEnvironmentsResponse

type ListEnvironmentsResponse struct {
	*ListEnvironmentsOutput
	// contains filtered or unexported fields
}

ListEnvironmentsResponse is the response type for the ListEnvironments API operation.

func (*ListEnvironmentsResponse) SDKResponseMetdata

func (r *ListEnvironmentsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListEnvironments request.

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The resource ARN.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// Metadata to assign to AppConfig resources. Tags help organize and categorize
	// your AppConfig resources. Each tag consists of a key and an optional value,
	// both of which you define.
	Tags map[string]string `type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata

func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

type Monitor

type Monitor struct {

	// ARN of the Amazon CloudWatch alarm.
	AlarmArn *string `min:"20" type:"string"`

	// ARN of an IAM role for AppConfig to monitor AlarmArn.
	AlarmRoleArn *string `min:"20" type:"string"`
	// contains filtered or unexported fields
}

Amazon CloudWatch alarms to monitor during the deployment process.

func (Monitor) MarshalFields

func (s Monitor) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Monitor) String

func (s Monitor) String() string

String returns the string representation

func (*Monitor) Validate

func (s *Monitor) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReplicateTo

type ReplicateTo string
const (
	ReplicateToNone        ReplicateTo = "NONE"
	ReplicateToSsmDocument ReplicateTo = "SSM_DOCUMENT"
)

Enum values for ReplicateTo

func (ReplicateTo) MarshalValue

func (enum ReplicateTo) MarshalValue() (string, error)

func (ReplicateTo) MarshalValueBuf

func (enum ReplicateTo) MarshalValueBuf(b []byte) ([]byte, error)

type StartDeploymentInput

type StartDeploymentInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The configuration profile ID.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `type:"string" required:"true"`

	// The configuration version to deploy.
	//
	// ConfigurationVersion is a required field
	ConfigurationVersion *string `min:"1" type:"string" required:"true"`

	// The deployment strategy ID.
	//
	// DeploymentStrategyId is a required field
	DeploymentStrategyId *string `type:"string" required:"true"`

	// A description of the deployment.
	Description *string `type:"string"`

	// The environment ID.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`

	// Metadata to assign to the deployment. Tags help organize and categorize your
	// AppConfig resources. Each tag consists of a key and an optional value, both
	// of which you define.
	Tags map[string]string `type:"map"`
	// contains filtered or unexported fields
}

func (StartDeploymentInput) MarshalFields

func (s StartDeploymentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartDeploymentInput) String

func (s StartDeploymentInput) String() string

String returns the string representation

func (*StartDeploymentInput) Validate

func (s *StartDeploymentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartDeploymentOutput

type StartDeploymentOutput struct {

	// The ID of the application that was deployed.
	ApplicationId *string `type:"string"`

	// The time the deployment completed.
	CompletedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// Information about the source location of the configuration.
	ConfigurationLocationUri *string `min:"1" type:"string"`

	// The name of the configuration.
	ConfigurationName *string `min:"1" type:"string"`

	// The ID of the configuration profile that was deployed.
	ConfigurationProfileId *string `type:"string"`

	// The configuration version that was deployed.
	ConfigurationVersion *string `min:"1" type:"string"`

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The sequence number of the deployment.
	DeploymentNumber *int64 `type:"integer"`

	// The ID of the deployment strategy that was deployed.
	DeploymentStrategyId *string `type:"string"`

	// The description of the deployment.
	Description *string `type:"string"`

	// The ID of the environment that was deployed.
	EnvironmentId *string `type:"string"`

	// The amount of time AppConfig monitored for alarms before considering the
	// deployment to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType GrowthType `type:"string" enum:"true"`

	// The percentage of targets for which the deployment is available.
	PercentageComplete *float64 `min:"1" type:"float"`

	// The time the deployment started.
	StartedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The state of the deployment.
	State DeploymentState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (StartDeploymentOutput) MarshalFields

func (s StartDeploymentOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartDeploymentOutput) String

func (s StartDeploymentOutput) String() string

String returns the string representation

type StartDeploymentRequest

type StartDeploymentRequest struct {
	*aws.Request
	Input *StartDeploymentInput
	Copy  func(*StartDeploymentInput) StartDeploymentRequest
}

StartDeploymentRequest is the request type for the StartDeployment API operation.

func (StartDeploymentRequest) Send

Send marshals and sends the StartDeployment API request.

type StartDeploymentResponse

type StartDeploymentResponse struct {
	*StartDeploymentOutput
	// contains filtered or unexported fields
}

StartDeploymentResponse is the response type for the StartDeployment API operation.

func (*StartDeploymentResponse) SDKResponseMetdata

func (r *StartDeploymentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartDeployment request.

type StopDeploymentInput

type StopDeploymentInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The sequence number of the deployment.
	//
	// DeploymentNumber is a required field
	DeploymentNumber *int64 `location:"uri" locationName:"DeploymentNumber" type:"integer" required:"true"`

	// The environment ID.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StopDeploymentInput) MarshalFields

func (s StopDeploymentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StopDeploymentInput) String

func (s StopDeploymentInput) String() string

String returns the string representation

func (*StopDeploymentInput) Validate

func (s *StopDeploymentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StopDeploymentOutput

type StopDeploymentOutput struct {

	// The ID of the application that was deployed.
	ApplicationId *string `type:"string"`

	// The time the deployment completed.
	CompletedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// Information about the source location of the configuration.
	ConfigurationLocationUri *string `min:"1" type:"string"`

	// The name of the configuration.
	ConfigurationName *string `min:"1" type:"string"`

	// The ID of the configuration profile that was deployed.
	ConfigurationProfileId *string `type:"string"`

	// The configuration version that was deployed.
	ConfigurationVersion *string `min:"1" type:"string"`

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The sequence number of the deployment.
	DeploymentNumber *int64 `type:"integer"`

	// The ID of the deployment strategy that was deployed.
	DeploymentStrategyId *string `type:"string"`

	// The description of the deployment.
	Description *string `type:"string"`

	// The ID of the environment that was deployed.
	EnvironmentId *string `type:"string"`

	// The amount of time AppConfig monitored for alarms before considering the
	// deployment to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType GrowthType `type:"string" enum:"true"`

	// The percentage of targets for which the deployment is available.
	PercentageComplete *float64 `min:"1" type:"float"`

	// The time the deployment started.
	StartedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The state of the deployment.
	State DeploymentState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (StopDeploymentOutput) MarshalFields

func (s StopDeploymentOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StopDeploymentOutput) String

func (s StopDeploymentOutput) String() string

String returns the string representation

type StopDeploymentRequest

type StopDeploymentRequest struct {
	*aws.Request
	Input *StopDeploymentInput
	Copy  func(*StopDeploymentInput) StopDeploymentRequest
}

StopDeploymentRequest is the request type for the StopDeployment API operation.

func (StopDeploymentRequest) Send

Send marshals and sends the StopDeployment API request.

type StopDeploymentResponse

type StopDeploymentResponse struct {
	*StopDeploymentOutput
	// contains filtered or unexported fields
}

StopDeploymentResponse is the response type for the StopDeployment API operation.

func (*StopDeploymentResponse) SDKResponseMetdata

func (r *StopDeploymentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StopDeployment request.

type TagResourceInput

type TagResourceInput struct {

	// The ARN of the resource for which to retrieve tags.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" min:"20" type:"string" required:"true"`

	// The key-value string map. The valid character set is [a-zA-Z+-=._:/]. The
	// tag key can be up to 128 characters and must not start with aws:. The tag
	// value can be up to 256 characters.
	//
	// Tags is a required field
	Tags map[string]string `type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) MarshalFields

func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) MarshalFields

func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send

Send marshals and sends the TagResource API request.

type TagResourceResponse

type TagResourceResponse struct {
	*TagResourceOutput
	// contains filtered or unexported fields
}

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource request.

type UntagResourceInput

type UntagResourceInput struct {

	// The ARN of the resource for which to remove tags.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" min:"20" type:"string" required:"true"`

	// The tag keys to delete.
	//
	// TagKeys is a required field
	TagKeys []string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) MarshalFields

func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) MarshalFields

func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send

Send marshals and sends the UntagResource API request.

type UntagResourceResponse

type UntagResourceResponse struct {
	*UntagResourceOutput
	// contains filtered or unexported fields
}

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource request.

type UpdateApplicationInput

type UpdateApplicationInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// A description of the application.
	Description *string `type:"string"`

	// The name of the application.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateApplicationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApplicationInput) String

func (s UpdateApplicationInput) String() string

String returns the string representation

func (*UpdateApplicationInput) Validate

func (s *UpdateApplicationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateApplicationOutput

type UpdateApplicationOutput struct {

	// The description of the application.
	Description *string `type:"string"`

	// The application ID.
	Id *string `type:"string"`

	// The application name.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateApplicationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApplicationOutput) String

func (s UpdateApplicationOutput) String() string

String returns the string representation

type UpdateApplicationRequest

type UpdateApplicationRequest struct {
	*aws.Request
	Input *UpdateApplicationInput
	Copy  func(*UpdateApplicationInput) UpdateApplicationRequest
}

UpdateApplicationRequest is the request type for the UpdateApplication API operation.

func (UpdateApplicationRequest) Send

Send marshals and sends the UpdateApplication API request.

type UpdateApplicationResponse

type UpdateApplicationResponse struct {
	*UpdateApplicationOutput
	// contains filtered or unexported fields
}

UpdateApplicationResponse is the response type for the UpdateApplication API operation.

func (*UpdateApplicationResponse) SDKResponseMetdata

func (r *UpdateApplicationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateApplication request.

type UpdateConfigurationProfileInput

type UpdateConfigurationProfileInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The ID of the configuration profile.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`

	// A description of the configuration profile.
	Description *string `type:"string"`

	// The name of the configuration profile.
	Name *string `min:"1" type:"string"`

	// The ARN of an IAM role with permission to access the configuration at the
	// specified LocationUri.
	RetrievalRoleArn *string `min:"20" type:"string"`

	// A list of methods for validating the configuration.
	Validators []Validator `type:"list"`
	// contains filtered or unexported fields
}

func (UpdateConfigurationProfileInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateConfigurationProfileInput) String

String returns the string representation

func (*UpdateConfigurationProfileInput) Validate

func (s *UpdateConfigurationProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateConfigurationProfileOutput

type UpdateConfigurationProfileOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The configuration profile description.
	Description *string `type:"string"`

	// The configuration profile ID.
	Id *string `type:"string"`

	// The URI location of the configuration.
	LocationUri *string `min:"1" type:"string"`

	// The name of the configuration profile.
	Name *string `min:"1" type:"string"`

	// The ARN of an IAM role with permission to access the configuration at the
	// specified LocationUri.
	RetrievalRoleArn *string `min:"20" type:"string"`

	// A list of methods for validating the configuration.
	Validators []Validator `type:"list"`
	// contains filtered or unexported fields
}

func (UpdateConfigurationProfileOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateConfigurationProfileOutput) String

String returns the string representation

type UpdateConfigurationProfileRequest

type UpdateConfigurationProfileRequest struct {
	*aws.Request
	Input *UpdateConfigurationProfileInput
	Copy  func(*UpdateConfigurationProfileInput) UpdateConfigurationProfileRequest
}

UpdateConfigurationProfileRequest is the request type for the UpdateConfigurationProfile API operation.

func (UpdateConfigurationProfileRequest) Send

Send marshals and sends the UpdateConfigurationProfile API request.

type UpdateConfigurationProfileResponse

type UpdateConfigurationProfileResponse struct {
	*UpdateConfigurationProfileOutput
	// contains filtered or unexported fields
}

UpdateConfigurationProfileResponse is the response type for the UpdateConfigurationProfile API operation.

func (*UpdateConfigurationProfileResponse) SDKResponseMetdata

func (r *UpdateConfigurationProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateConfigurationProfile request.

type UpdateDeploymentStrategyInput

type UpdateDeploymentStrategyInput struct {

	// Total amount of time for a deployment to last.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The deployment strategy ID.
	//
	// DeploymentStrategyId is a required field
	DeploymentStrategyId *string `location:"uri" locationName:"DeploymentStrategyId" type:"string" required:"true"`

	// A description of the deployment strategy.
	Description *string `type:"string"`

	// The amount of time AppConfig monitors for alarms before considering the deployment
	// to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grows over time.
	GrowthType GrowthType `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (UpdateDeploymentStrategyInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateDeploymentStrategyInput) String

String returns the string representation

func (*UpdateDeploymentStrategyInput) Validate

func (s *UpdateDeploymentStrategyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateDeploymentStrategyOutput

type UpdateDeploymentStrategyOutput struct {

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The description of the deployment strategy.
	Description *string `type:"string"`

	// The amount of time AppConfig monitored for alarms before considering the
	// deployment to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets that received a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType GrowthType `type:"string" enum:"true"`

	// The deployment strategy ID.
	Id *string `type:"string"`

	// The name of the deployment strategy.
	Name *string `min:"1" type:"string"`

	// Save the deployment strategy to a Systems Manager (SSM) document.
	ReplicateTo ReplicateTo `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (UpdateDeploymentStrategyOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateDeploymentStrategyOutput) String

String returns the string representation

type UpdateDeploymentStrategyRequest

type UpdateDeploymentStrategyRequest struct {
	*aws.Request
	Input *UpdateDeploymentStrategyInput
	Copy  func(*UpdateDeploymentStrategyInput) UpdateDeploymentStrategyRequest
}

UpdateDeploymentStrategyRequest is the request type for the UpdateDeploymentStrategy API operation.

func (UpdateDeploymentStrategyRequest) Send

Send marshals and sends the UpdateDeploymentStrategy API request.

type UpdateDeploymentStrategyResponse

type UpdateDeploymentStrategyResponse struct {
	*UpdateDeploymentStrategyOutput
	// contains filtered or unexported fields
}

UpdateDeploymentStrategyResponse is the response type for the UpdateDeploymentStrategy API operation.

func (*UpdateDeploymentStrategyResponse) SDKResponseMetdata

func (r *UpdateDeploymentStrategyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateDeploymentStrategy request.

type UpdateEnvironmentInput

type UpdateEnvironmentInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// A description of the environment.
	Description *string `type:"string"`

	// The environment ID.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`

	// Amazon CloudWatch alarms to monitor during the deployment process.
	Monitors []Monitor `type:"list"`

	// The name of the environment.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateEnvironmentInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateEnvironmentInput) String

func (s UpdateEnvironmentInput) String() string

String returns the string representation

func (*UpdateEnvironmentInput) Validate

func (s *UpdateEnvironmentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateEnvironmentOutput

type UpdateEnvironmentOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The description of the environment.
	Description *string `type:"string"`

	// The environment ID.
	Id *string `type:"string"`

	// Amazon CloudWatch alarms monitored during the deployment.
	Monitors []Monitor `type:"list"`

	// The name of the environment.
	Name *string `min:"1" type:"string"`

	// The state of the environment. An environment can be in one of the following
	// states: READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or ROLLED_BACK
	State EnvironmentState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (UpdateEnvironmentOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateEnvironmentOutput) String

func (s UpdateEnvironmentOutput) String() string

String returns the string representation

type UpdateEnvironmentRequest

type UpdateEnvironmentRequest struct {
	*aws.Request
	Input *UpdateEnvironmentInput
	Copy  func(*UpdateEnvironmentInput) UpdateEnvironmentRequest
}

UpdateEnvironmentRequest is the request type for the UpdateEnvironment API operation.

func (UpdateEnvironmentRequest) Send

Send marshals and sends the UpdateEnvironment API request.

type UpdateEnvironmentResponse

type UpdateEnvironmentResponse struct {
	*UpdateEnvironmentOutput
	// contains filtered or unexported fields
}

UpdateEnvironmentResponse is the response type for the UpdateEnvironment API operation.

func (*UpdateEnvironmentResponse) SDKResponseMetdata

func (r *UpdateEnvironmentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateEnvironment request.

type ValidateConfigurationInput

type ValidateConfigurationInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The configuration profile ID.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`

	// The version of the configuration to validate.
	//
	// ConfigurationVersion is a required field
	ConfigurationVersion *string `location:"querystring" locationName:"configuration_version" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ValidateConfigurationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ValidateConfigurationInput) String

String returns the string representation

func (*ValidateConfigurationInput) Validate

func (s *ValidateConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ValidateConfigurationOutput

type ValidateConfigurationOutput struct {
	// contains filtered or unexported fields
}

func (ValidateConfigurationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ValidateConfigurationOutput) String

String returns the string representation

type ValidateConfigurationRequest

type ValidateConfigurationRequest struct {
	*aws.Request
	Input *ValidateConfigurationInput
	Copy  func(*ValidateConfigurationInput) ValidateConfigurationRequest
}

ValidateConfigurationRequest is the request type for the ValidateConfiguration API operation.

func (ValidateConfigurationRequest) Send

Send marshals and sends the ValidateConfiguration API request.

type ValidateConfigurationResponse

type ValidateConfigurationResponse struct {
	*ValidateConfigurationOutput
	// contains filtered or unexported fields
}

ValidateConfigurationResponse is the response type for the ValidateConfiguration API operation.

func (*ValidateConfigurationResponse) SDKResponseMetdata

func (r *ValidateConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ValidateConfiguration request.

type Validator

type Validator struct {

	// Either the JSON Schema content or an AWS Lambda function name.
	//
	// Content is a required field
	Content *string `type:"string" required:"true"`

	// AppConfig supports validators of type JSON_SCHEMA and LAMBDA
	//
	// Type is a required field
	Type ValidatorType `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

A validator provides a syntactic or semantic check to ensure the configuration you want to deploy functions as intended. To validate your application configuration data, you provide a schema or a Lambda function that runs against the configuration. The configuration deployment or update can only proceed when the configuration data is valid.

func (Validator) MarshalFields

func (s Validator) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Validator) String

func (s Validator) String() string

String returns the string representation

func (*Validator) Validate

func (s *Validator) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ValidatorType

type ValidatorType string
const (
	ValidatorTypeJsonSchema ValidatorType = "JSON_SCHEMA"
	ValidatorTypeLambda     ValidatorType = "LAMBDA"
)

Enum values for ValidatorType

func (ValidatorType) MarshalValue

func (enum ValidatorType) MarshalValue() (string, error)

func (ValidatorType) MarshalValueBuf

func (enum ValidatorType) MarshalValueBuf(b []byte) ([]byte, error)

Directories

Path Synopsis
Package appconfigiface provides an interface to enable mocking the Amazon AppConfig service client for testing your code.
Package appconfigiface provides an interface to enable mocking the Amazon AppConfig service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL