mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-30 04:20:53 +00:00
Upgrade AWS SDK to the latest version
This commit is contained in:
+124
-120
@@ -1,6 +1,5 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package sms provides a client for AWS Server Migration Service.
|
||||
package sms
|
||||
|
||||
import (
|
||||
@@ -15,19 +14,18 @@ const opCreateReplicationJob = "CreateReplicationJob"
|
||||
|
||||
// CreateReplicationJobRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateReplicationJob operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateReplicationJob for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateReplicationJob method directly
|
||||
// instead.
|
||||
// See CreateReplicationJob for more information on using the CreateReplicationJob
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateReplicationJobRequest method.
|
||||
// req, resp := client.CreateReplicationJobRequest(params)
|
||||
@@ -124,19 +122,18 @@ const opDeleteReplicationJob = "DeleteReplicationJob"
|
||||
|
||||
// DeleteReplicationJobRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteReplicationJob operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteReplicationJob for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteReplicationJob method directly
|
||||
// instead.
|
||||
// See DeleteReplicationJob for more information on using the DeleteReplicationJob
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteReplicationJobRequest method.
|
||||
// req, resp := client.DeleteReplicationJobRequest(params)
|
||||
@@ -223,19 +220,18 @@ const opDeleteServerCatalog = "DeleteServerCatalog"
|
||||
|
||||
// DeleteServerCatalogRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteServerCatalog operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteServerCatalog for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteServerCatalog method directly
|
||||
// instead.
|
||||
// See DeleteServerCatalog for more information on using the DeleteServerCatalog
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteServerCatalogRequest method.
|
||||
// req, resp := client.DeleteServerCatalogRequest(params)
|
||||
@@ -318,19 +314,18 @@ const opDisassociateConnector = "DisassociateConnector"
|
||||
|
||||
// DisassociateConnectorRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DisassociateConnector operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DisassociateConnector for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DisassociateConnector method directly
|
||||
// instead.
|
||||
// See DisassociateConnector for more information on using the DisassociateConnector
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DisassociateConnectorRequest method.
|
||||
// req, resp := client.DisassociateConnectorRequest(params)
|
||||
@@ -412,19 +407,18 @@ const opGetConnectors = "GetConnectors"
|
||||
|
||||
// GetConnectorsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetConnectors operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetConnectors for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetConnectors method directly
|
||||
// instead.
|
||||
// See GetConnectors for more information on using the GetConnectors
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetConnectorsRequest method.
|
||||
// req, resp := client.GetConnectorsRequest(params)
|
||||
@@ -526,8 +520,12 @@ func (c *SMS) GetConnectorsPages(input *GetConnectorsInput, fn func(*GetConnecto
|
||||
func (c *SMS) GetConnectorsPagesWithContext(ctx aws.Context, input *GetConnectorsInput, fn func(*GetConnectorsOutput, bool) bool, opts ...request.Option) error {
|
||||
p := request.Pagination{
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
inCpy := *input
|
||||
req, _ := c.GetConnectorsRequest(&inCpy)
|
||||
var inCpy *GetConnectorsInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.GetConnectorsRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
@@ -545,19 +543,18 @@ const opGetReplicationJobs = "GetReplicationJobs"
|
||||
|
||||
// GetReplicationJobsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetReplicationJobs operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetReplicationJobs for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetReplicationJobs method directly
|
||||
// instead.
|
||||
// See GetReplicationJobs for more information on using the GetReplicationJobs
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetReplicationJobsRequest method.
|
||||
// req, resp := client.GetReplicationJobsRequest(params)
|
||||
@@ -668,8 +665,12 @@ func (c *SMS) GetReplicationJobsPages(input *GetReplicationJobsInput, fn func(*G
|
||||
func (c *SMS) GetReplicationJobsPagesWithContext(ctx aws.Context, input *GetReplicationJobsInput, fn func(*GetReplicationJobsOutput, bool) bool, opts ...request.Option) error {
|
||||
p := request.Pagination{
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
inCpy := *input
|
||||
req, _ := c.GetReplicationJobsRequest(&inCpy)
|
||||
var inCpy *GetReplicationJobsInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.GetReplicationJobsRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
@@ -687,19 +688,18 @@ const opGetReplicationRuns = "GetReplicationRuns"
|
||||
|
||||
// GetReplicationRunsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetReplicationRuns operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetReplicationRuns for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetReplicationRuns method directly
|
||||
// instead.
|
||||
// See GetReplicationRuns for more information on using the GetReplicationRuns
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetReplicationRunsRequest method.
|
||||
// req, resp := client.GetReplicationRunsRequest(params)
|
||||
@@ -810,8 +810,12 @@ func (c *SMS) GetReplicationRunsPages(input *GetReplicationRunsInput, fn func(*G
|
||||
func (c *SMS) GetReplicationRunsPagesWithContext(ctx aws.Context, input *GetReplicationRunsInput, fn func(*GetReplicationRunsOutput, bool) bool, opts ...request.Option) error {
|
||||
p := request.Pagination{
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
inCpy := *input
|
||||
req, _ := c.GetReplicationRunsRequest(&inCpy)
|
||||
var inCpy *GetReplicationRunsInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.GetReplicationRunsRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
@@ -829,19 +833,18 @@ const opGetServers = "GetServers"
|
||||
|
||||
// GetServersRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetServers operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetServers for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetServers method directly
|
||||
// instead.
|
||||
// See GetServers for more information on using the GetServers
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetServersRequest method.
|
||||
// req, resp := client.GetServersRequest(params)
|
||||
@@ -943,8 +946,12 @@ func (c *SMS) GetServersPages(input *GetServersInput, fn func(*GetServersOutput,
|
||||
func (c *SMS) GetServersPagesWithContext(ctx aws.Context, input *GetServersInput, fn func(*GetServersOutput, bool) bool, opts ...request.Option) error {
|
||||
p := request.Pagination{
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
inCpy := *input
|
||||
req, _ := c.GetServersRequest(&inCpy)
|
||||
var inCpy *GetServersInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.GetServersRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
@@ -962,19 +969,18 @@ const opImportServerCatalog = "ImportServerCatalog"
|
||||
|
||||
// ImportServerCatalogRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ImportServerCatalog operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ImportServerCatalog for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ImportServerCatalog method directly
|
||||
// instead.
|
||||
// See ImportServerCatalog for more information on using the ImportServerCatalog
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ImportServerCatalogRequest method.
|
||||
// req, resp := client.ImportServerCatalogRequest(params)
|
||||
@@ -1062,19 +1068,18 @@ const opStartOnDemandReplicationRun = "StartOnDemandReplicationRun"
|
||||
|
||||
// StartOnDemandReplicationRunRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the StartOnDemandReplicationRun operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See StartOnDemandReplicationRun for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the StartOnDemandReplicationRun method directly
|
||||
// instead.
|
||||
// See StartOnDemandReplicationRun for more information on using the StartOnDemandReplicationRun
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the StartOnDemandReplicationRunRequest method.
|
||||
// req, resp := client.StartOnDemandReplicationRunRequest(params)
|
||||
@@ -1162,19 +1167,18 @@ const opUpdateReplicationJob = "UpdateReplicationJob"
|
||||
|
||||
// UpdateReplicationJobRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateReplicationJob operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateReplicationJob for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateReplicationJob method directly
|
||||
// instead.
|
||||
// See UpdateReplicationJob for more information on using the UpdateReplicationJob
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateReplicationJobRequest method.
|
||||
// req, resp := client.UpdateReplicationJobRequest(params)
|
||||
|
||||
Reference in New Issue
Block a user