mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-30 04:20:53 +00:00
Update vendored deps, including AWS SDK, openpgp, ftp, ...
This commit is contained in:
+174
-146
@@ -14,7 +14,7 @@ const opAssociateNode = "AssociateNode"
|
||||
|
||||
// AssociateNodeRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the AssociateNode operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
@@ -35,7 +35,7 @@ const opAssociateNode = "AssociateNode"
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/AssociateNode
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/AssociateNode
|
||||
func (c *OpsWorksCM) AssociateNodeRequest(input *AssociateNodeInput) (req *request.Request, output *AssociateNodeOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opAssociateNode,
|
||||
@@ -54,9 +54,20 @@ func (c *OpsWorksCM) AssociateNodeRequest(input *AssociateNodeInput) (req *reque
|
||||
|
||||
// AssociateNode API operation for AWS OpsWorks for Chef Automate.
|
||||
//
|
||||
// Associates a new node with the Chef server. This command is an alternative
|
||||
// to knife bootstrap. For more information about how to disassociate a node,
|
||||
// see DisassociateNode.
|
||||
// Associates a new node with the server. For more information about how to
|
||||
// disassociate a node, see DisassociateNode.
|
||||
//
|
||||
// On a Chef server: This command is an alternative to knife bootstrap.
|
||||
//
|
||||
// Example (Chef): aws opsworks-cm associate-node --server-name MyServer --node-name
|
||||
// MyManagedNode --engine-attributes "Name=CHEF_ORGANIZATION,Value=default"
|
||||
// "Name=CHEF_NODE_PUBLIC_KEY,Value=public-key-pem"
|
||||
//
|
||||
// On a Puppet server, this command is an alternative to the puppet cert sign
|
||||
// command that signs a Puppet node CSR.
|
||||
//
|
||||
// Example (Chef): aws opsworks-cm associate-node --server-name MyServer --node-name
|
||||
// MyManagedNode --engine-attributes "Name=PUPPET_NODE_CSR,Value=csr-pem"
|
||||
//
|
||||
// A node can can only be associated with servers that are in a HEALTHY state.
|
||||
// Otherwise, an InvalidStateException is thrown. A ResourceNotFoundException
|
||||
@@ -65,9 +76,6 @@ func (c *OpsWorksCM) AssociateNodeRequest(input *AssociateNodeInput) (req *reque
|
||||
// can be integrated into Auto Scaling configurations, AWS Cloudformation templates,
|
||||
// or the user data of a server's instance.
|
||||
//
|
||||
// Example: aws opsworks-cm associate-node --server-name MyServer --node-name
|
||||
// MyManagedNode --engine-attributes "Name=MyOrganization,Value=default" "Name=Chef_node_public_key,Value=Public_key_contents"
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
// the error.
|
||||
@@ -86,7 +94,7 @@ func (c *OpsWorksCM) AssociateNodeRequest(input *AssociateNodeInput) (req *reque
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// One or more of the provided request parameters are not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/AssociateNode
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/AssociateNode
|
||||
func (c *OpsWorksCM) AssociateNode(input *AssociateNodeInput) (*AssociateNodeOutput, error) {
|
||||
req, out := c.AssociateNodeRequest(input)
|
||||
return out, req.Send()
|
||||
@@ -112,7 +120,7 @@ const opCreateBackup = "CreateBackup"
|
||||
|
||||
// CreateBackupRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateBackup operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
@@ -133,7 +141,7 @@ const opCreateBackup = "CreateBackup"
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateBackup
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateBackup
|
||||
func (c *OpsWorksCM) CreateBackupRequest(input *CreateBackupInput) (req *request.Request, output *CreateBackupOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateBackup,
|
||||
@@ -188,7 +196,7 @@ func (c *OpsWorksCM) CreateBackupRequest(input *CreateBackupInput) (req *request
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// One or more of the provided request parameters are not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateBackup
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateBackup
|
||||
func (c *OpsWorksCM) CreateBackup(input *CreateBackupInput) (*CreateBackupOutput, error) {
|
||||
req, out := c.CreateBackupRequest(input)
|
||||
return out, req.Send()
|
||||
@@ -214,7 +222,7 @@ const opCreateServer = "CreateServer"
|
||||
|
||||
// CreateServerRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateServer operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
@@ -235,7 +243,7 @@ const opCreateServer = "CreateServer"
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateServer
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateServer
|
||||
func (c *OpsWorksCM) CreateServerRequest(input *CreateServerInput) (req *request.Request, output *CreateServerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opCreateServer,
|
||||
@@ -267,12 +275,18 @@ func (c *OpsWorksCM) CreateServerRequest(input *CreateServerInput) (req *request
|
||||
// request are not valid.
|
||||
//
|
||||
// If you do not specify a security group by adding the SecurityGroupIds parameter,
|
||||
// AWS OpsWorks creates a new security group. The default security group opens
|
||||
// the Chef server to the world on TCP port 443. If a KeyName is present, AWS
|
||||
// OpsWorks enables SSH access. SSH is also open to the world on TCP port 22.
|
||||
// AWS OpsWorks creates a new security group.
|
||||
//
|
||||
// By default, the Chef Server is accessible from any IP address. We recommend
|
||||
// that you update your security group rules to allow access from known IP addresses
|
||||
// Chef Automate: The default security group opens the Chef server to the world
|
||||
// on TCP port 443. If a KeyName is present, AWS OpsWorks enables SSH access.
|
||||
// SSH is also open to the world on TCP port 22.
|
||||
//
|
||||
// Puppet Enterprise: The default security group opens TCP ports 22, 443, 4433,
|
||||
// 8140, 8142, 8143, and 8170. If a KeyName is present, AWS OpsWorks enables
|
||||
// SSH access. SSH is also open to the world on TCP port 22.
|
||||
//
|
||||
// By default, your server is accessible from any IP address. We recommend that
|
||||
// you update your security group rules to allow access from known IP addresses
|
||||
// and address ranges only. To edit security group rules, open Security Groups
|
||||
// in the navigation pane of the EC2 management console.
|
||||
//
|
||||
@@ -296,7 +310,7 @@ func (c *OpsWorksCM) CreateServerRequest(input *CreateServerInput) (req *request
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// One or more of the provided request parameters are not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateServer
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateServer
|
||||
func (c *OpsWorksCM) CreateServer(input *CreateServerInput) (*CreateServerOutput, error) {
|
||||
req, out := c.CreateServerRequest(input)
|
||||
return out, req.Send()
|
||||
@@ -322,7 +336,7 @@ const opDeleteBackup = "DeleteBackup"
|
||||
|
||||
// DeleteBackupRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteBackup operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
@@ -343,7 +357,7 @@ const opDeleteBackup = "DeleteBackup"
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteBackup
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteBackup
|
||||
func (c *OpsWorksCM) DeleteBackupRequest(input *DeleteBackupInput) (req *request.Request, output *DeleteBackupOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteBackup,
|
||||
@@ -387,7 +401,7 @@ func (c *OpsWorksCM) DeleteBackupRequest(input *DeleteBackupInput) (req *request
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// One or more of the provided request parameters are not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteBackup
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteBackup
|
||||
func (c *OpsWorksCM) DeleteBackup(input *DeleteBackupInput) (*DeleteBackupOutput, error) {
|
||||
req, out := c.DeleteBackupRequest(input)
|
||||
return out, req.Send()
|
||||
@@ -413,7 +427,7 @@ const opDeleteServer = "DeleteServer"
|
||||
|
||||
// DeleteServerRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteServer operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
@@ -434,7 +448,7 @@ const opDeleteServer = "DeleteServer"
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteServer
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteServer
|
||||
func (c *OpsWorksCM) DeleteServerRequest(input *DeleteServerInput) (req *request.Request, output *DeleteServerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDeleteServer,
|
||||
@@ -453,7 +467,7 @@ func (c *OpsWorksCM) DeleteServerRequest(input *DeleteServerInput) (req *request
|
||||
|
||||
// DeleteServer API operation for AWS OpsWorks for Chef Automate.
|
||||
//
|
||||
// Deletes the server and the underlying AWS CloudFormation stack (including
|
||||
// Deletes the server and the underlying AWS CloudFormation stacks (including
|
||||
// the server's EC2 instance). When you run this command, the server state is
|
||||
// updated to DELETING. After the server is deleted, it is no longer returned
|
||||
// by DescribeServer requests. If the AWS CloudFormation stack cannot be deleted,
|
||||
@@ -483,7 +497,7 @@ func (c *OpsWorksCM) DeleteServerRequest(input *DeleteServerInput) (req *request
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// One or more of the provided request parameters are not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteServer
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteServer
|
||||
func (c *OpsWorksCM) DeleteServer(input *DeleteServerInput) (*DeleteServerOutput, error) {
|
||||
req, out := c.DeleteServerRequest(input)
|
||||
return out, req.Send()
|
||||
@@ -509,7 +523,7 @@ const opDescribeAccountAttributes = "DescribeAccountAttributes"
|
||||
|
||||
// DescribeAccountAttributesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeAccountAttributes operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
@@ -530,7 +544,7 @@ const opDescribeAccountAttributes = "DescribeAccountAttributes"
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeAccountAttributes
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeAccountAttributes
|
||||
func (c *OpsWorksCM) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeAccountAttributes,
|
||||
@@ -560,7 +574,7 @@ func (c *OpsWorksCM) DescribeAccountAttributesRequest(input *DescribeAccountAttr
|
||||
//
|
||||
// See the AWS API reference guide for AWS OpsWorks for Chef Automate's
|
||||
// API operation DescribeAccountAttributes for usage and error information.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeAccountAttributes
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeAccountAttributes
|
||||
func (c *OpsWorksCM) DescribeAccountAttributes(input *DescribeAccountAttributesInput) (*DescribeAccountAttributesOutput, error) {
|
||||
req, out := c.DescribeAccountAttributesRequest(input)
|
||||
return out, req.Send()
|
||||
@@ -586,7 +600,7 @@ const opDescribeBackups = "DescribeBackups"
|
||||
|
||||
// DescribeBackupsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeBackups operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
@@ -607,7 +621,7 @@ const opDescribeBackups = "DescribeBackups"
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeBackups
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeBackups
|
||||
func (c *OpsWorksCM) DescribeBackupsRequest(input *DescribeBackupsInput) (req *request.Request, output *DescribeBackupsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeBackups,
|
||||
@@ -651,7 +665,7 @@ func (c *OpsWorksCM) DescribeBackupsRequest(input *DescribeBackupsInput) (req *r
|
||||
// * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
|
||||
// This occurs when the provided nextToken is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeBackups
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeBackups
|
||||
func (c *OpsWorksCM) DescribeBackups(input *DescribeBackupsInput) (*DescribeBackupsOutput, error) {
|
||||
req, out := c.DescribeBackupsRequest(input)
|
||||
return out, req.Send()
|
||||
@@ -677,7 +691,7 @@ const opDescribeEvents = "DescribeEvents"
|
||||
|
||||
// DescribeEventsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeEvents operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
@@ -698,7 +712,7 @@ const opDescribeEvents = "DescribeEvents"
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeEvents
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeEvents
|
||||
func (c *OpsWorksCM) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeEvents,
|
||||
@@ -742,7 +756,7 @@ func (c *OpsWorksCM) DescribeEventsRequest(input *DescribeEventsInput) (req *req
|
||||
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
|
||||
// The requested resource does not exist, or access was denied.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeEvents
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeEvents
|
||||
func (c *OpsWorksCM) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error) {
|
||||
req, out := c.DescribeEventsRequest(input)
|
||||
return out, req.Send()
|
||||
@@ -768,7 +782,7 @@ const opDescribeNodeAssociationStatus = "DescribeNodeAssociationStatus"
|
||||
|
||||
// DescribeNodeAssociationStatusRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeNodeAssociationStatus operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
@@ -789,7 +803,7 @@ const opDescribeNodeAssociationStatus = "DescribeNodeAssociationStatus"
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeNodeAssociationStatus
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeNodeAssociationStatus
|
||||
func (c *OpsWorksCM) DescribeNodeAssociationStatusRequest(input *DescribeNodeAssociationStatusInput) (req *request.Request, output *DescribeNodeAssociationStatusOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeNodeAssociationStatus,
|
||||
@@ -828,7 +842,7 @@ func (c *OpsWorksCM) DescribeNodeAssociationStatusRequest(input *DescribeNodeAss
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// One or more of the provided request parameters are not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeNodeAssociationStatus
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeNodeAssociationStatus
|
||||
func (c *OpsWorksCM) DescribeNodeAssociationStatus(input *DescribeNodeAssociationStatusInput) (*DescribeNodeAssociationStatusOutput, error) {
|
||||
req, out := c.DescribeNodeAssociationStatusRequest(input)
|
||||
return out, req.Send()
|
||||
@@ -854,7 +868,7 @@ const opDescribeServers = "DescribeServers"
|
||||
|
||||
// DescribeServersRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeServers operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
@@ -875,7 +889,7 @@ const opDescribeServers = "DescribeServers"
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeServers
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeServers
|
||||
func (c *OpsWorksCM) DescribeServersRequest(input *DescribeServersInput) (req *request.Request, output *DescribeServersOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeServers,
|
||||
@@ -896,7 +910,7 @@ func (c *OpsWorksCM) DescribeServersRequest(input *DescribeServersInput) (req *r
|
||||
//
|
||||
// Lists all configuration management servers that are identified with your
|
||||
// account. Only the stored results from Amazon DynamoDB are returned. AWS OpsWorks
|
||||
// for Chef Automate does not query other services.
|
||||
// CM does not query other services.
|
||||
//
|
||||
// This operation is synchronous.
|
||||
//
|
||||
@@ -920,7 +934,7 @@ func (c *OpsWorksCM) DescribeServersRequest(input *DescribeServersInput) (req *r
|
||||
// * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
|
||||
// This occurs when the provided nextToken is not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeServers
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeServers
|
||||
func (c *OpsWorksCM) DescribeServers(input *DescribeServersInput) (*DescribeServersOutput, error) {
|
||||
req, out := c.DescribeServersRequest(input)
|
||||
return out, req.Send()
|
||||
@@ -946,7 +960,7 @@ const opDisassociateNode = "DisassociateNode"
|
||||
|
||||
// DisassociateNodeRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DisassociateNode operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
@@ -967,7 +981,7 @@ const opDisassociateNode = "DisassociateNode"
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DisassociateNode
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DisassociateNode
|
||||
func (c *OpsWorksCM) DisassociateNodeRequest(input *DisassociateNodeInput) (req *request.Request, output *DisassociateNodeOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDisassociateNode,
|
||||
@@ -986,10 +1000,10 @@ func (c *OpsWorksCM) DisassociateNodeRequest(input *DisassociateNodeInput) (req
|
||||
|
||||
// DisassociateNode API operation for AWS OpsWorks for Chef Automate.
|
||||
//
|
||||
// Disassociates a node from a Chef server, and removes the node from the Chef
|
||||
// server's managed nodes. After a node is disassociated, the node key pair
|
||||
// is no longer valid for accessing the Chef API. For more information about
|
||||
// how to associate a node, see AssociateNode.
|
||||
// Disassociates a node from an AWS OpsWorks CM server, and removes the node
|
||||
// from the server's managed nodes. After a node is disassociated, the node
|
||||
// key pair is no longer valid for accessing the configuration manager's API.
|
||||
// For more information about how to associate a node, see AssociateNode.
|
||||
//
|
||||
// A node can can only be disassociated from a server that is in a HEALTHY state.
|
||||
// Otherwise, an InvalidStateException is thrown. A ResourceNotFoundException
|
||||
@@ -1014,7 +1028,7 @@ func (c *OpsWorksCM) DisassociateNodeRequest(input *DisassociateNodeInput) (req
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// One or more of the provided request parameters are not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DisassociateNode
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DisassociateNode
|
||||
func (c *OpsWorksCM) DisassociateNode(input *DisassociateNodeInput) (*DisassociateNodeOutput, error) {
|
||||
req, out := c.DisassociateNodeRequest(input)
|
||||
return out, req.Send()
|
||||
@@ -1040,7 +1054,7 @@ const opRestoreServer = "RestoreServer"
|
||||
|
||||
// RestoreServerRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RestoreServer operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
@@ -1061,7 +1075,7 @@ const opRestoreServer = "RestoreServer"
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/RestoreServer
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/RestoreServer
|
||||
func (c *OpsWorksCM) RestoreServerRequest(input *RestoreServerInput) (req *request.Request, output *RestoreServerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opRestoreServer,
|
||||
@@ -1110,7 +1124,7 @@ func (c *OpsWorksCM) RestoreServerRequest(input *RestoreServerInput) (req *reque
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// One or more of the provided request parameters are not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/RestoreServer
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/RestoreServer
|
||||
func (c *OpsWorksCM) RestoreServer(input *RestoreServerInput) (*RestoreServerOutput, error) {
|
||||
req, out := c.RestoreServerRequest(input)
|
||||
return out, req.Send()
|
||||
@@ -1136,7 +1150,7 @@ const opStartMaintenance = "StartMaintenance"
|
||||
|
||||
// StartMaintenanceRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the StartMaintenance operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
@@ -1157,7 +1171,7 @@ const opStartMaintenance = "StartMaintenance"
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/StartMaintenance
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/StartMaintenance
|
||||
func (c *OpsWorksCM) StartMaintenanceRequest(input *StartMaintenanceInput) (req *request.Request, output *StartMaintenanceOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opStartMaintenance,
|
||||
@@ -1204,7 +1218,7 @@ func (c *OpsWorksCM) StartMaintenanceRequest(input *StartMaintenanceInput) (req
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// One or more of the provided request parameters are not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/StartMaintenance
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/StartMaintenance
|
||||
func (c *OpsWorksCM) StartMaintenance(input *StartMaintenanceInput) (*StartMaintenanceOutput, error) {
|
||||
req, out := c.StartMaintenanceRequest(input)
|
||||
return out, req.Send()
|
||||
@@ -1230,7 +1244,7 @@ const opUpdateServer = "UpdateServer"
|
||||
|
||||
// UpdateServerRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateServer operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
@@ -1251,7 +1265,7 @@ const opUpdateServer = "UpdateServer"
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServer
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServer
|
||||
func (c *OpsWorksCM) UpdateServerRequest(input *UpdateServerInput) (req *request.Request, output *UpdateServerOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdateServer,
|
||||
@@ -1292,7 +1306,7 @@ func (c *OpsWorksCM) UpdateServerRequest(input *UpdateServerInput) (req *request
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// One or more of the provided request parameters are not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServer
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServer
|
||||
func (c *OpsWorksCM) UpdateServer(input *UpdateServerInput) (*UpdateServerOutput, error) {
|
||||
req, out := c.UpdateServerRequest(input)
|
||||
return out, req.Send()
|
||||
@@ -1318,7 +1332,7 @@ const opUpdateServerEngineAttributes = "UpdateServerEngineAttributes"
|
||||
|
||||
// UpdateServerEngineAttributesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateServerEngineAttributes operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
@@ -1339,7 +1353,7 @@ const opUpdateServerEngineAttributes = "UpdateServerEngineAttributes"
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServerEngineAttributes
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServerEngineAttributes
|
||||
func (c *OpsWorksCM) UpdateServerEngineAttributesRequest(input *UpdateServerEngineAttributesInput) (req *request.Request, output *UpdateServerEngineAttributesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opUpdateServerEngineAttributes,
|
||||
@@ -1360,8 +1374,9 @@ func (c *OpsWorksCM) UpdateServerEngineAttributesRequest(input *UpdateServerEngi
|
||||
//
|
||||
// Updates engine-specific attributes on a specified server. The server enters
|
||||
// the MODIFYING state when this operation is in progress. Only one update can
|
||||
// occur at a time. You can use this command to reset the Chef server's private
|
||||
// key (CHEF_PIVOTAL_KEY).
|
||||
// occur at a time. You can use this command to reset a Chef server's private
|
||||
// key (CHEF_PIVOTAL_KEY), a Chef server's admin password (CHEF_DELIVERY_ADMIN_PASSWORD),
|
||||
// or a Puppet server's admin password (PUPPET_ADMIN_PASSWORD).
|
||||
//
|
||||
// This operation is asynchronous.
|
||||
//
|
||||
@@ -1388,7 +1403,7 @@ func (c *OpsWorksCM) UpdateServerEngineAttributesRequest(input *UpdateServerEngi
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// One or more of the provided request parameters are not valid.
|
||||
//
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServerEngineAttributes
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServerEngineAttributes
|
||||
func (c *OpsWorksCM) UpdateServerEngineAttributes(input *UpdateServerEngineAttributesInput) (*UpdateServerEngineAttributesOutput, error) {
|
||||
req, out := c.UpdateServerEngineAttributesRequest(input)
|
||||
return out, req.Send()
|
||||
@@ -1411,7 +1426,6 @@ func (c *OpsWorksCM) UpdateServerEngineAttributesWithContext(ctx aws.Context, in
|
||||
}
|
||||
|
||||
// Stores account attributes.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/AccountAttribute
|
||||
type AccountAttribute struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -1461,13 +1475,12 @@ func (s *AccountAttribute) SetUsed(v int64) *AccountAttribute {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/AssociateNodeRequest
|
||||
type AssociateNodeInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Engine attributes used for associating the node.
|
||||
//
|
||||
// Attributes accepted in a AssociateNode request:
|
||||
// Attributes accepted in a AssociateNode request for Chef
|
||||
//
|
||||
// * CHEF_ORGANIZATION: The Chef organization with which the node is associated.
|
||||
// By default only one organization named default can exist.
|
||||
@@ -1475,10 +1488,15 @@ type AssociateNodeInput struct {
|
||||
// * CHEF_NODE_PUBLIC_KEY: A PEM-formatted public key. This key is required
|
||||
// for the chef-client agent to access the Chef API.
|
||||
//
|
||||
// Attributes accepted in a AssociateNode request for Puppet
|
||||
//
|
||||
// * PUPPET_NODE_CSR: A PEM-formatted certificate-signing request (CSR) that
|
||||
// is created by the node.
|
||||
//
|
||||
// EngineAttributes is a required field
|
||||
EngineAttributes []*EngineAttribute `type:"list" required:"true"`
|
||||
|
||||
// The name of the Chef client node.
|
||||
// The name of the node.
|
||||
//
|
||||
// NodeName is a required field
|
||||
NodeName *string `type:"string" required:"true"`
|
||||
@@ -1539,7 +1557,6 @@ func (s *AssociateNodeInput) SetServerName(v string) *AssociateNodeInput {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/AssociateNodeResponse
|
||||
type AssociateNodeOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -1565,7 +1582,6 @@ func (s *AssociateNodeOutput) SetNodeAssociationStatusToken(v string) *Associate
|
||||
}
|
||||
|
||||
// Describes a single backup.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/Backup
|
||||
type Backup struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -1642,8 +1658,8 @@ type Backup struct {
|
||||
// The subnet IDs that are obtained from the server when the backup is created.
|
||||
SubnetIds []*string `type:"list"`
|
||||
|
||||
// The version of AWS OpsWorks for Chef Automate-specific tools that is obtained
|
||||
// from the server when the backup is created.
|
||||
// The version of AWS OpsWorks CM-specific tools that is obtained from the server
|
||||
// when the backup is created.
|
||||
ToolsVersion *string `type:"string"`
|
||||
|
||||
// The IAM user ARN of the requester for manual backups. This field is empty
|
||||
@@ -1805,7 +1821,6 @@ func (s *Backup) SetUserArn(v string) *Backup {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateBackupRequest
|
||||
type CreateBackupInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -1856,7 +1871,6 @@ func (s *CreateBackupInput) SetServerName(v string) *CreateBackupInput {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateBackupResponse
|
||||
type CreateBackupOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -1880,7 +1894,6 @@ func (s *CreateBackupOutput) SetBackup(v *Backup) *CreateBackupOutput {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateServerRequest
|
||||
type CreateServerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -1888,30 +1901,31 @@ type CreateServerInput struct {
|
||||
// values are true or false. The default value is true.
|
||||
AssociatePublicIpAddress *bool `type:"boolean"`
|
||||
|
||||
// If you specify this field, AWS OpsWorks for Chef Automate creates the server
|
||||
// by using the backup represented by BackupId.
|
||||
// If you specify this field, AWS OpsWorks CM creates the server by using the
|
||||
// backup represented by BackupId.
|
||||
BackupId *string `type:"string"`
|
||||
|
||||
// The number of automated backups that you want to keep. Whenever a new backup
|
||||
// is created, AWS OpsWorks for Chef Automate deletes the oldest backups if
|
||||
// this number is exceeded. The default value is 1.
|
||||
// is created, AWS OpsWorks CM deletes the oldest backups if this number is
|
||||
// exceeded. The default value is 1.
|
||||
BackupRetentionCount *int64 `min:"1" type:"integer"`
|
||||
|
||||
// Enable or disable scheduled backups. Valid values are true or false. The
|
||||
// default value is true.
|
||||
DisableAutomatedBackup *bool `type:"boolean"`
|
||||
|
||||
// The configuration management engine to use. Valid values include Chef.
|
||||
// The configuration management engine to use. Valid values include Chef and
|
||||
// Puppet.
|
||||
Engine *string `type:"string"`
|
||||
|
||||
// Optional engine attributes on a specified server.
|
||||
//
|
||||
// Attributes accepted in a createServer request:
|
||||
// Attributes accepted in a Chef createServer request:
|
||||
//
|
||||
// * CHEF_PIVOTAL_KEY: A base64-encoded RSA private key that is not stored
|
||||
// by AWS OpsWorks for Chef. This private key is required to access the Chef
|
||||
// API. When no CHEF_PIVOTAL_KEY is set, one is generated and returned in
|
||||
// the response.
|
||||
// by AWS OpsWorks for Chef Automate. This private key is required to access
|
||||
// the Chef API. When no CHEF_PIVOTAL_KEY is set, one is generated and returned
|
||||
// in the response.
|
||||
//
|
||||
// * CHEF_DELIVERY_ADMIN_PASSWORD: The password for the administrative user
|
||||
// in the Chef Automate GUI. The password length is a minimum of eight characters,
|
||||
@@ -1920,13 +1934,20 @@ type CreateServerInput struct {
|
||||
// case letter, one upper case letter, one number, and one special character.
|
||||
// When no CHEF_DELIVERY_ADMIN_PASSWORD is set, one is generated and returned
|
||||
// in the response.
|
||||
//
|
||||
// Attributes accepted in a Puppet createServer request:
|
||||
//
|
||||
// * PUPPET_ADMIN_PASSWORD: To work with the Puppet Enterprise console, a
|
||||
// password must use ASCII characters.
|
||||
EngineAttributes []*EngineAttribute `type:"list"`
|
||||
|
||||
// The engine model, or option. Valid values include Single.
|
||||
// The engine model of the server. Valid values in this release include Monolithic
|
||||
// for Puppet and Single for Chef.
|
||||
EngineModel *string `type:"string"`
|
||||
|
||||
// The major release version of the engine that you want to use. Values depend
|
||||
// on the engine that you choose.
|
||||
// The major release version of the engine that you want to use. For a Chef
|
||||
// server, the valid value for EngineVersion is currently 12. For a Puppet server,
|
||||
// the valid value is 2017.
|
||||
EngineVersion *string `type:"string"`
|
||||
|
||||
// The ARN of the instance profile that your Amazon EC2 instances use. Although
|
||||
@@ -1939,9 +1960,8 @@ type CreateServerInput struct {
|
||||
// InstanceProfileArn is a required field
|
||||
InstanceProfileArn *string `type:"string" required:"true"`
|
||||
|
||||
// The Amazon EC2 instance type to use. Valid values must be specified in the
|
||||
// following format: ^([cm][34]|t2).* For example, m4.large. Valid values are
|
||||
// t2.medium, m4.large, or m4.2xlarge.
|
||||
// The Amazon EC2 instance type to use. For example, m4.large. Recommended instance
|
||||
// types include t2.medium and greater, m4.*, or c4.xlarge and greater.
|
||||
//
|
||||
// InstanceType is a required field
|
||||
InstanceType *string `type:"string" required:"true"`
|
||||
@@ -1951,9 +1971,9 @@ type CreateServerInput struct {
|
||||
// using SSH.
|
||||
KeyPair *string `type:"string"`
|
||||
|
||||
// The start time for a one-hour period during which AWS OpsWorks for Chef Automate
|
||||
// backs up application-level data on your server if automated backups are enabled.
|
||||
// Valid values must be specified in one of the following formats:
|
||||
// The start time for a one-hour period during which AWS OpsWorks CM backs up
|
||||
// application-level data on your server if automated backups are enabled. Valid
|
||||
// values must be specified in one of the following formats:
|
||||
//
|
||||
// * HH:MM for daily backups
|
||||
//
|
||||
@@ -1969,11 +1989,10 @@ type CreateServerInput struct {
|
||||
PreferredBackupWindow *string `type:"string"`
|
||||
|
||||
// The start time for a one-hour period each week during which AWS OpsWorks
|
||||
// for Chef Automate performs maintenance on the instance. Valid values must
|
||||
// be specified in the following format: DDD:HH:MM. The specified time is in
|
||||
// coordinated universal time (UTC). The default value is a random one-hour
|
||||
// period on Tuesday, Wednesday, or Friday. See TimeWindowDefinition for more
|
||||
// information.
|
||||
// CM performs maintenance on the instance. Valid values must be specified in
|
||||
// the following format: DDD:HH:MM. The specified time is in coordinated universal
|
||||
// time (UTC). The default value is a random one-hour period on Tuesday, Wednesday,
|
||||
// or Friday. See TimeWindowDefinition for more information.
|
||||
//
|
||||
// Example:Mon:08:00, which represents a start time of every Monday at 08:00
|
||||
// UTC. (8:00 a.m.)
|
||||
@@ -1983,9 +2002,8 @@ type CreateServerInput struct {
|
||||
// add this parameter, the specified security groups must be within the VPC
|
||||
// that is specified by SubnetIds.
|
||||
//
|
||||
// If you do not specify this parameter, AWS OpsWorks for Chef Automate creates
|
||||
// one new security group that uses TCP ports 22 and 443, open to 0.0.0.0/0
|
||||
// (everyone).
|
||||
// If you do not specify this parameter, AWS OpsWorks CM creates one new security
|
||||
// group that uses TCP ports 22 and 443, open to 0.0.0.0/0 (everyone).
|
||||
SecurityGroupIds []*string `type:"list"`
|
||||
|
||||
// The name of the server. The server name must be unique within your AWS account,
|
||||
@@ -1995,13 +2013,12 @@ type CreateServerInput struct {
|
||||
// ServerName is a required field
|
||||
ServerName *string `min:"1" type:"string" required:"true"`
|
||||
|
||||
// The service role that the AWS OpsWorks for Chef Automate service backend
|
||||
// uses to work with your account. Although the AWS OpsWorks management console
|
||||
// typically creates the service role for you, if you are using the AWS CLI
|
||||
// or API commands, run the service-role-creation.yaml AWS CloudFormation template,
|
||||
// located at https://s3.amazonaws.com/opsworks-stuff/latest/service-role-creation.yaml.
|
||||
// The service role that the AWS OpsWorks CM service backend uses to work with
|
||||
// your account. Although the AWS OpsWorks management console typically creates
|
||||
// the service role for you, if you are using the AWS CLI or API commands, run
|
||||
// the service-role-creation.yaml AWS CloudFormation template, located at https://s3.amazonaws.com/opsworks-cm-us-east-1-prod-default-assets/misc/opsworks-cm-roles.yaml.
|
||||
// This template creates a CloudFormation stack that includes the service role
|
||||
// that you need.
|
||||
// and instance profile that you need.
|
||||
//
|
||||
// ServiceRoleArn is a required field
|
||||
ServiceRoleArn *string `type:"string" required:"true"`
|
||||
@@ -2017,7 +2034,7 @@ type CreateServerInput struct {
|
||||
// enabled.
|
||||
//
|
||||
// For more information about supported Amazon EC2 platforms, see Supported
|
||||
// Platforms (http://docs.aws.amazon.com/https:/docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html).
|
||||
// Platforms (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html).
|
||||
SubnetIds []*string `type:"list"`
|
||||
}
|
||||
|
||||
@@ -2161,7 +2178,6 @@ func (s *CreateServerInput) SetSubnetIds(v []*string) *CreateServerInput {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateServerResponse
|
||||
type CreateServerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -2185,7 +2201,6 @@ func (s *CreateServerOutput) SetServer(v *Server) *CreateServerOutput {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteBackupRequest
|
||||
type DeleteBackupInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -2225,7 +2240,6 @@ func (s *DeleteBackupInput) SetBackupId(v string) *DeleteBackupInput {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteBackupResponse
|
||||
type DeleteBackupOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
@@ -2240,7 +2254,6 @@ func (s DeleteBackupOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteServerRequest
|
||||
type DeleteServerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -2282,7 +2295,6 @@ func (s *DeleteServerInput) SetServerName(v string) *DeleteServerInput {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteServerResponse
|
||||
type DeleteServerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
@@ -2297,7 +2309,6 @@ func (s DeleteServerOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeAccountAttributesRequest
|
||||
type DescribeAccountAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
@@ -2312,7 +2323,6 @@ func (s DescribeAccountAttributesInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeAccountAttributesResponse
|
||||
type DescribeAccountAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -2336,7 +2346,6 @@ func (s *DescribeAccountAttributesOutput) SetAttributes(v []*AccountAttribute) *
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeBackupsRequest
|
||||
type DescribeBackupsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -2414,7 +2423,6 @@ func (s *DescribeBackupsInput) SetServerName(v string) *DescribeBackupsInput {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeBackupsResponse
|
||||
type DescribeBackupsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -2454,7 +2462,6 @@ func (s *DescribeBackupsOutput) SetNextToken(v string) *DescribeBackupsOutput {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeEventsRequest
|
||||
type DescribeEventsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -2528,7 +2535,6 @@ func (s *DescribeEventsInput) SetServerName(v string) *DescribeEventsInput {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeEventsResponse
|
||||
type DescribeEventsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -2568,10 +2574,11 @@ func (s *DescribeEventsOutput) SetServerEvents(v []*ServerEvent) *DescribeEvents
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeNodeAssociationStatusRequest
|
||||
type DescribeNodeAssociationStatusInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The token returned in either the AssociateNodeResponse or the DisassociateNodeResponse.
|
||||
//
|
||||
// NodeAssociationStatusToken is a required field
|
||||
NodeAssociationStatusToken *string `type:"string" required:"true"`
|
||||
|
||||
@@ -2622,10 +2629,13 @@ func (s *DescribeNodeAssociationStatusInput) SetServerName(v string) *DescribeNo
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeNodeAssociationStatusResponse
|
||||
type DescribeNodeAssociationStatusOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Attributes specific to the node association. In Puppet, the attibute PUPPET_NODE_CERT
|
||||
// contains the signed certificate (the result of the CSR).
|
||||
EngineAttributes []*EngineAttribute `type:"list"`
|
||||
|
||||
// The status of the association or disassociation request.
|
||||
//
|
||||
// Possible values:
|
||||
@@ -2648,13 +2658,18 @@ func (s DescribeNodeAssociationStatusOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetEngineAttributes sets the EngineAttributes field's value.
|
||||
func (s *DescribeNodeAssociationStatusOutput) SetEngineAttributes(v []*EngineAttribute) *DescribeNodeAssociationStatusOutput {
|
||||
s.EngineAttributes = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetNodeAssociationStatus sets the NodeAssociationStatus field's value.
|
||||
func (s *DescribeNodeAssociationStatusOutput) SetNodeAssociationStatus(v string) *DescribeNodeAssociationStatusOutput {
|
||||
s.NodeAssociationStatus = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeServersRequest
|
||||
type DescribeServersInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -2723,7 +2738,6 @@ func (s *DescribeServersInput) SetServerName(v string) *DescribeServersInput {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeServersResponse
|
||||
type DescribeServersOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -2738,6 +2752,11 @@ type DescribeServersOutput struct {
|
||||
NextToken *string `type:"string"`
|
||||
|
||||
// Contains the response to a DescribeServers request.
|
||||
//
|
||||
// For Puppet Server:DescribeServersResponse$Servers$EngineAttributes contains
|
||||
// PUPPET_API_CA_CERT. This is the PEM-encoded CA certificate that is used by
|
||||
// the Puppet API over TCP port number 8140. The CA certificate is also used
|
||||
// to sign node certificates.
|
||||
Servers []*Server `type:"list"`
|
||||
}
|
||||
|
||||
@@ -2763,19 +2782,19 @@ func (s *DescribeServersOutput) SetServers(v []*Server) *DescribeServersOutput {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DisassociateNodeRequest
|
||||
type DisassociateNodeInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Engine attributes used for disassociating the node.
|
||||
// Engine attributes that are used for disassociating the node. No attributes
|
||||
// are required for Puppet.
|
||||
//
|
||||
// Attributes accepted in a DisassociateNode request:
|
||||
// Attributes required in a DisassociateNode request for Chef
|
||||
//
|
||||
// * CHEF_ORGANIZATION: The Chef organization with which the node was associated.
|
||||
// By default only one organization named default can exist.
|
||||
EngineAttributes []*EngineAttribute `type:"list"`
|
||||
|
||||
// The name of the Chef client node.
|
||||
// The name of the client node.
|
||||
//
|
||||
// NodeName is a required field
|
||||
NodeName *string `type:"string" required:"true"`
|
||||
@@ -2833,7 +2852,6 @@ func (s *DisassociateNodeInput) SetServerName(v string) *DisassociateNodeInput {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DisassociateNodeResponse
|
||||
type DisassociateNodeOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -2859,7 +2877,6 @@ func (s *DisassociateNodeOutput) SetNodeAssociationStatusToken(v string) *Disass
|
||||
}
|
||||
|
||||
// A name and value pair that is specific to the engine of the server.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/EngineAttribute
|
||||
type EngineAttribute struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -2892,7 +2909,6 @@ func (s *EngineAttribute) SetValue(v string) *EngineAttribute {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/RestoreServerRequest
|
||||
type RestoreServerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -2970,7 +2986,6 @@ func (s *RestoreServerInput) SetServerName(v string) *RestoreServerInput {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/RestoreServerResponse
|
||||
type RestoreServerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
}
|
||||
@@ -2986,7 +3001,6 @@ func (s RestoreServerOutput) GoString() string {
|
||||
}
|
||||
|
||||
// Describes a configuration management server.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/Server
|
||||
type Server struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -3009,15 +3023,15 @@ type Server struct {
|
||||
// A DNS name that can be used to access the engine. Example: myserver-asdfghjkl.us-east-1.opsworks.io
|
||||
Endpoint *string `type:"string"`
|
||||
|
||||
// The engine type of the server. The valid value in this release is Chef.
|
||||
// The engine type of the server. Valid values in this release include Chef
|
||||
// and Puppet.
|
||||
Engine *string `type:"string"`
|
||||
|
||||
// The response of a createServer() request returns the master credential to
|
||||
// access the server in EngineAttributes. These credentials are not stored by
|
||||
// AWS OpsWorks for Chef Automate; they are returned only as part of the result
|
||||
// of createServer().
|
||||
// AWS OpsWorks CM; they are returned only as part of the result of createServer().
|
||||
//
|
||||
// Attributes returned in a createServer response:
|
||||
// Attributes returned in a createServer response for Chef
|
||||
//
|
||||
// * CHEF_PIVOTAL_KEY: A base64-encoded RSA private key that is generated
|
||||
// by AWS OpsWorks for Chef Automate. This private key is required to access
|
||||
@@ -3028,13 +3042,24 @@ type Server struct {
|
||||
// required RSA private key. Save this file, unzip it, and then change to
|
||||
// the directory where you've unzipped the file contents. From this directory,
|
||||
// you can run Knife commands.
|
||||
//
|
||||
// Attributes returned in a createServer response for Puppet
|
||||
//
|
||||
// * PUPPET_STARTER_KIT: A base64-encoded ZIP file. The ZIP file contains
|
||||
// a Puppet starter kit, including a README and a required private key. Save
|
||||
// this file, unzip it, and then change to the directory where you've unzipped
|
||||
// the file contents.
|
||||
//
|
||||
// * PUPPET_ADMIN_PASSWORD: An administrator password that you can use to
|
||||
// sign in to the Puppet Enterprise console after the server is online.
|
||||
EngineAttributes []*EngineAttribute `type:"list"`
|
||||
|
||||
// The engine model of the server. The valid value in this release is Single.
|
||||
// The engine model of the server. Valid values in this release include Monolithic
|
||||
// for Puppet and Single for Chef.
|
||||
EngineModel *string `type:"string"`
|
||||
|
||||
// The engine version of the server. Because Chef is the engine available in
|
||||
// this release, the valid value for EngineVersion is 12.
|
||||
// The engine version of the server. For a Chef server, the valid value for
|
||||
// EngineVersion is currently 12. For a Puppet server, the valid value is 2017.
|
||||
EngineVersion *string `type:"string"`
|
||||
|
||||
// The instance profile ARN of the server.
|
||||
@@ -3234,7 +3259,6 @@ func (s *Server) SetSubnetIds(v []*string) *Server {
|
||||
|
||||
// An event that is related to the server, such as the start of maintenance
|
||||
// or backup.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/ServerEvent
|
||||
type ServerEvent struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -3285,10 +3309,13 @@ func (s *ServerEvent) SetServerName(v string) *ServerEvent {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/StartMaintenanceRequest
|
||||
type StartMaintenanceInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Engine attributes that are specific to the server on which you want to run
|
||||
// maintenance.
|
||||
EngineAttributes []*EngineAttribute `type:"list"`
|
||||
|
||||
// The name of the server on which to run maintenance.
|
||||
//
|
||||
// ServerName is a required field
|
||||
@@ -3321,13 +3348,18 @@ func (s *StartMaintenanceInput) Validate() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetEngineAttributes sets the EngineAttributes field's value.
|
||||
func (s *StartMaintenanceInput) SetEngineAttributes(v []*EngineAttribute) *StartMaintenanceInput {
|
||||
s.EngineAttributes = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetServerName sets the ServerName field's value.
|
||||
func (s *StartMaintenanceInput) SetServerName(v string) *StartMaintenanceInput {
|
||||
s.ServerName = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/StartMaintenanceResponse
|
||||
type StartMaintenanceOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -3351,7 +3383,6 @@ func (s *StartMaintenanceOutput) SetServer(v *Server) *StartMaintenanceOutput {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServerEngineAttributesRequest
|
||||
type UpdateServerEngineAttributesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -3419,7 +3450,6 @@ func (s *UpdateServerEngineAttributesInput) SetServerName(v string) *UpdateServe
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServerEngineAttributesResponse
|
||||
type UpdateServerEngineAttributesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -3443,7 +3473,6 @@ func (s *UpdateServerEngineAttributesOutput) SetServer(v *Server) *UpdateServerE
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServerRequest
|
||||
type UpdateServerInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
@@ -3528,7 +3557,6 @@ func (s *UpdateServerInput) SetServerName(v string) *UpdateServerInput {
|
||||
return s
|
||||
}
|
||||
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServerResponse
|
||||
type UpdateServerOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user