Bump osbuild/images dependency to v0.12.0
This brings in the support for: - RHEL-8.10 - RHEL-9.4 - ppc64le and s390x on Fedora (qcow2, container) Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
73edc381d8
commit
1903556198
136 changed files with 5293 additions and 1827 deletions
14
vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
generated
vendored
14
vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
generated
vendored
|
|
@ -39831,10 +39831,20 @@ var awsusgovPartition = partition{
|
|||
Endpoints: serviceEndpoints{
|
||||
endpointKey{
|
||||
Region: "us-gov-east-1",
|
||||
}: endpoint{},
|
||||
}: endpoint{
|
||||
Hostname: "simspaceweaver.us-gov-east-1.amazonaws.com",
|
||||
CredentialScope: credentialScope{
|
||||
Region: "us-gov-east-1",
|
||||
},
|
||||
},
|
||||
endpointKey{
|
||||
Region: "us-gov-west-1",
|
||||
}: endpoint{},
|
||||
}: endpoint{
|
||||
Hostname: "simspaceweaver.us-gov-west-1.amazonaws.com",
|
||||
CredentialScope: credentialScope{
|
||||
Region: "us-gov-west-1",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
"sms": service{
|
||||
|
|
|
|||
2
vendor/github.com/aws/aws-sdk-go/aws/version.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/aws/version.go
generated
vendored
|
|
@ -5,4 +5,4 @@ package aws
|
|||
const SDKName = "aws-sdk-go"
|
||||
|
||||
// SDKVersion is the version of this SDK
|
||||
const SDKVersion = "1.45.24"
|
||||
const SDKVersion = "1.45.25"
|
||||
|
|
|
|||
171
vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go
generated
vendored
171
vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go
generated
vendored
|
|
@ -2411,6 +2411,12 @@ func (c *AutoScaling) DescribeInstanceRefreshesRequest(input *DescribeInstanceRe
|
|||
Name: opDescribeInstanceRefreshes,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
Paginator: &request.Paginator{
|
||||
InputTokens: []string{"NextToken"},
|
||||
OutputTokens: []string{"NextToken"},
|
||||
LimitToken: "MaxRecords",
|
||||
TruncationToken: "",
|
||||
},
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
|
|
@ -2477,6 +2483,57 @@ func (c *AutoScaling) DescribeInstanceRefreshesWithContext(ctx aws.Context, inpu
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
// DescribeInstanceRefreshesPages iterates over the pages of a DescribeInstanceRefreshes operation,
|
||||
// calling the "fn" function with the response data for each page. To stop
|
||||
// iterating, return false from the fn function.
|
||||
//
|
||||
// See DescribeInstanceRefreshes method for more information on how to use this operation.
|
||||
//
|
||||
// Note: This operation can generate multiple requests to a service.
|
||||
//
|
||||
// // Example iterating over at most 3 pages of a DescribeInstanceRefreshes operation.
|
||||
// pageNum := 0
|
||||
// err := client.DescribeInstanceRefreshesPages(params,
|
||||
// func(page *autoscaling.DescribeInstanceRefreshesOutput, lastPage bool) bool {
|
||||
// pageNum++
|
||||
// fmt.Println(page)
|
||||
// return pageNum <= 3
|
||||
// })
|
||||
func (c *AutoScaling) DescribeInstanceRefreshesPages(input *DescribeInstanceRefreshesInput, fn func(*DescribeInstanceRefreshesOutput, bool) bool) error {
|
||||
return c.DescribeInstanceRefreshesPagesWithContext(aws.BackgroundContext(), input, fn)
|
||||
}
|
||||
|
||||
// DescribeInstanceRefreshesPagesWithContext same as DescribeInstanceRefreshesPages except
|
||||
// it takes a Context and allows setting request options on the pages.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *AutoScaling) DescribeInstanceRefreshesPagesWithContext(ctx aws.Context, input *DescribeInstanceRefreshesInput, fn func(*DescribeInstanceRefreshesOutput, bool) bool, opts ...request.Option) error {
|
||||
p := request.Pagination{
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
var inCpy *DescribeInstanceRefreshesInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.DescribeInstanceRefreshesRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
},
|
||||
}
|
||||
|
||||
for p.Next() {
|
||||
if !fn(p.Page().(*DescribeInstanceRefreshesOutput), !p.HasNextPage()) {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
return p.Err()
|
||||
}
|
||||
|
||||
const opDescribeLaunchConfigurations = "DescribeLaunchConfigurations"
|
||||
|
||||
// DescribeLaunchConfigurationsRequest generates a "aws/request.Request" representing the
|
||||
|
|
@ -2812,6 +2869,12 @@ func (c *AutoScaling) DescribeLoadBalancerTargetGroupsRequest(input *DescribeLoa
|
|||
Name: opDescribeLoadBalancerTargetGroups,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
Paginator: &request.Paginator{
|
||||
InputTokens: []string{"NextToken"},
|
||||
OutputTokens: []string{"NextToken"},
|
||||
LimitToken: "MaxRecords",
|
||||
TruncationToken: "",
|
||||
},
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
|
|
@ -2899,6 +2962,57 @@ func (c *AutoScaling) DescribeLoadBalancerTargetGroupsWithContext(ctx aws.Contex
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
// DescribeLoadBalancerTargetGroupsPages iterates over the pages of a DescribeLoadBalancerTargetGroups operation,
|
||||
// calling the "fn" function with the response data for each page. To stop
|
||||
// iterating, return false from the fn function.
|
||||
//
|
||||
// See DescribeLoadBalancerTargetGroups method for more information on how to use this operation.
|
||||
//
|
||||
// Note: This operation can generate multiple requests to a service.
|
||||
//
|
||||
// // Example iterating over at most 3 pages of a DescribeLoadBalancerTargetGroups operation.
|
||||
// pageNum := 0
|
||||
// err := client.DescribeLoadBalancerTargetGroupsPages(params,
|
||||
// func(page *autoscaling.DescribeLoadBalancerTargetGroupsOutput, lastPage bool) bool {
|
||||
// pageNum++
|
||||
// fmt.Println(page)
|
||||
// return pageNum <= 3
|
||||
// })
|
||||
func (c *AutoScaling) DescribeLoadBalancerTargetGroupsPages(input *DescribeLoadBalancerTargetGroupsInput, fn func(*DescribeLoadBalancerTargetGroupsOutput, bool) bool) error {
|
||||
return c.DescribeLoadBalancerTargetGroupsPagesWithContext(aws.BackgroundContext(), input, fn)
|
||||
}
|
||||
|
||||
// DescribeLoadBalancerTargetGroupsPagesWithContext same as DescribeLoadBalancerTargetGroupsPages except
|
||||
// it takes a Context and allows setting request options on the pages.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *AutoScaling) DescribeLoadBalancerTargetGroupsPagesWithContext(ctx aws.Context, input *DescribeLoadBalancerTargetGroupsInput, fn func(*DescribeLoadBalancerTargetGroupsOutput, bool) bool, opts ...request.Option) error {
|
||||
p := request.Pagination{
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
var inCpy *DescribeLoadBalancerTargetGroupsInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.DescribeLoadBalancerTargetGroupsRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
},
|
||||
}
|
||||
|
||||
for p.Next() {
|
||||
if !fn(p.Page().(*DescribeLoadBalancerTargetGroupsOutput), !p.HasNextPage()) {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
return p.Err()
|
||||
}
|
||||
|
||||
const opDescribeLoadBalancers = "DescribeLoadBalancers"
|
||||
|
||||
// DescribeLoadBalancersRequest generates a "aws/request.Request" representing the
|
||||
|
|
@ -2929,6 +3043,12 @@ func (c *AutoScaling) DescribeLoadBalancersRequest(input *DescribeLoadBalancersI
|
|||
Name: opDescribeLoadBalancers,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
Paginator: &request.Paginator{
|
||||
InputTokens: []string{"NextToken"},
|
||||
OutputTokens: []string{"NextToken"},
|
||||
LimitToken: "MaxRecords",
|
||||
TruncationToken: "",
|
||||
},
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
|
|
@ -3016,6 +3136,57 @@ func (c *AutoScaling) DescribeLoadBalancersWithContext(ctx aws.Context, input *D
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
// DescribeLoadBalancersPages iterates over the pages of a DescribeLoadBalancers operation,
|
||||
// calling the "fn" function with the response data for each page. To stop
|
||||
// iterating, return false from the fn function.
|
||||
//
|
||||
// See DescribeLoadBalancers method for more information on how to use this operation.
|
||||
//
|
||||
// Note: This operation can generate multiple requests to a service.
|
||||
//
|
||||
// // Example iterating over at most 3 pages of a DescribeLoadBalancers operation.
|
||||
// pageNum := 0
|
||||
// err := client.DescribeLoadBalancersPages(params,
|
||||
// func(page *autoscaling.DescribeLoadBalancersOutput, lastPage bool) bool {
|
||||
// pageNum++
|
||||
// fmt.Println(page)
|
||||
// return pageNum <= 3
|
||||
// })
|
||||
func (c *AutoScaling) DescribeLoadBalancersPages(input *DescribeLoadBalancersInput, fn func(*DescribeLoadBalancersOutput, bool) bool) error {
|
||||
return c.DescribeLoadBalancersPagesWithContext(aws.BackgroundContext(), input, fn)
|
||||
}
|
||||
|
||||
// DescribeLoadBalancersPagesWithContext same as DescribeLoadBalancersPages except
|
||||
// it takes a Context and allows setting request options on the pages.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *AutoScaling) DescribeLoadBalancersPagesWithContext(ctx aws.Context, input *DescribeLoadBalancersInput, fn func(*DescribeLoadBalancersOutput, bool) bool, opts ...request.Option) error {
|
||||
p := request.Pagination{
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
var inCpy *DescribeLoadBalancersInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.DescribeLoadBalancersRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
},
|
||||
}
|
||||
|
||||
for p.Next() {
|
||||
if !fn(p.Page().(*DescribeLoadBalancersOutput), !p.HasNextPage()) {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
return p.Err()
|
||||
}
|
||||
|
||||
const opDescribeMetricCollectionTypes = "DescribeMetricCollectionTypes"
|
||||
|
||||
// DescribeMetricCollectionTypesRequest generates a "aws/request.Request" representing the
|
||||
|
|
|
|||
390
vendor/github.com/aws/aws-sdk-go/service/ec2/api.go
generated
vendored
390
vendor/github.com/aws/aws-sdk-go/service/ec2/api.go
generated
vendored
|
|
@ -35520,6 +35520,95 @@ func (c *EC2) DisableFastSnapshotRestoresWithContext(ctx aws.Context, input *Dis
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opDisableImage = "DisableImage"
|
||||
|
||||
// DisableImageRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DisableImage operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfully.
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
// See DisableImage for more information on using the DisableImage
|
||||
// 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.
|
||||
//
|
||||
// // Example sending a request using the DisableImageRequest method.
|
||||
// req, resp := client.DisableImageRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableImage
|
||||
func (c *EC2) DisableImageRequest(input *DisableImageInput) (req *request.Request, output *DisableImageOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDisableImage,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &DisableImageInput{}
|
||||
}
|
||||
|
||||
output = &DisableImageOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
return
|
||||
}
|
||||
|
||||
// DisableImage API operation for Amazon Elastic Compute Cloud.
|
||||
//
|
||||
// Sets the AMI state to disabled and removes all launch permissions from the
|
||||
// AMI. A disabled AMI can't be used for instance launches.
|
||||
//
|
||||
// A disabled AMI can't be shared. If a public or shared AMI was previously
|
||||
// shared, it is made private. If an AMI was shared with an Amazon Web Services
|
||||
// account, organization, or Organizational Unit, they lose access to the disabled
|
||||
// AMI.
|
||||
//
|
||||
// A disabled AMI does not appear in DescribeImages (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html)
|
||||
// API calls by default.
|
||||
//
|
||||
// Only the AMI owner can disable an AMI.
|
||||
//
|
||||
// You can re-enable a disabled AMI using EnableImage (http://amazonaws.com/AWSEC2/latest/APIReference/API_EnableImage.html).
|
||||
//
|
||||
// For more information, see Disable an AMI (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/disable-an-ami.html)
|
||||
// in the Amazon EC2 User Guide.
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
// See the AWS API reference guide for Amazon Elastic Compute Cloud's
|
||||
// API operation DisableImage for usage and error information.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableImage
|
||||
func (c *EC2) DisableImage(input *DisableImageInput) (*DisableImageOutput, error) {
|
||||
req, out := c.DisableImageRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// DisableImageWithContext is the same as DisableImage with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See DisableImage for details on how to use this API operation.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *EC2) DisableImageWithContext(ctx aws.Context, input *DisableImageInput, opts ...request.Option) (*DisableImageOutput, error) {
|
||||
req, out := c.DisableImageRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opDisableImageBlockPublicAccess = "DisableImageBlockPublicAccess"
|
||||
|
||||
// DisableImageBlockPublicAccessRequest generates a "aws/request.Request" representing the
|
||||
|
|
@ -37614,6 +37703,88 @@ func (c *EC2) EnableFastSnapshotRestoresWithContext(ctx aws.Context, input *Enab
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opEnableImage = "EnableImage"
|
||||
|
||||
// EnableImageRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the EnableImage operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfully.
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
// See EnableImage for more information on using the EnableImage
|
||||
// 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.
|
||||
//
|
||||
// // Example sending a request using the EnableImageRequest method.
|
||||
// req, resp := client.EnableImageRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
//
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableImage
|
||||
func (c *EC2) EnableImageRequest(input *EnableImageInput) (req *request.Request, output *EnableImageOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opEnableImage,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &EnableImageInput{}
|
||||
}
|
||||
|
||||
output = &EnableImageOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
return
|
||||
}
|
||||
|
||||
// EnableImage API operation for Amazon Elastic Compute Cloud.
|
||||
//
|
||||
// Re-enables a disabled AMI. The re-enabled AMI is marked as available and
|
||||
// can be used for instance launches, appears in describe operations, and can
|
||||
// be shared. Amazon Web Services accounts, organizations, and Organizational
|
||||
// Units that lost access to the AMI when it was disabled do not regain access
|
||||
// automatically. Once the AMI is available, it can be shared with them again.
|
||||
//
|
||||
// Only the AMI owner can re-enable a disabled AMI.
|
||||
//
|
||||
// For more information, see Disable an AMI (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/disable-an-ami.html)
|
||||
// in the Amazon EC2 User Guide.
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
// See the AWS API reference guide for Amazon Elastic Compute Cloud's
|
||||
// API operation EnableImage for usage and error information.
|
||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableImage
|
||||
func (c *EC2) EnableImage(input *EnableImageInput) (*EnableImageOutput, error) {
|
||||
req, out := c.EnableImageRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// EnableImageWithContext is the same as EnableImage with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See EnableImage for details on how to use this API operation.
|
||||
//
|
||||
// The context must be non-nil and will be used for request cancellation. If
|
||||
// the context is nil a panic will occur. In the future the SDK may create
|
||||
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
|
||||
// for more information on using Contexts.
|
||||
func (c *EC2) EnableImageWithContext(ctx aws.Context, input *EnableImageInput, opts ...request.Option) (*EnableImageOutput, error) {
|
||||
req, out := c.EnableImageRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opEnableImageBlockPublicAccess = "EnableImageBlockPublicAccess"
|
||||
|
||||
// EnableImageBlockPublicAccessRequest generates a "aws/request.Request" representing the
|
||||
|
|
@ -93915,6 +94086,10 @@ type DescribeImagesInput struct {
|
|||
//
|
||||
// * root-device-type - The type of the root device volume (ebs | instance-store).
|
||||
//
|
||||
// * source-instance-id - The ID of the instance that the AMI was created
|
||||
// from if the AMI was created using CreateImage. This filter is applicable
|
||||
// only if the AMI was created using CreateImage (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html).
|
||||
//
|
||||
// * state - The state of the image (available | pending | failed).
|
||||
//
|
||||
// * state-reason-code - The reason code for the state change.
|
||||
|
|
@ -93950,6 +94125,11 @@ type DescribeImagesInput struct {
|
|||
// of what you specify for this parameter.
|
||||
IncludeDeprecated *bool `type:"boolean"`
|
||||
|
||||
// Specifies whether to include disabled AMIs.
|
||||
//
|
||||
// Default: No disabled AMIs are included in the response.
|
||||
IncludeDisabled *bool `type:"boolean"`
|
||||
|
||||
// The maximum number of items to return for this request. To get the next page
|
||||
// of items, make another request with the token returned in the output. For
|
||||
// more information, see Pagination (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
|
||||
|
|
@ -94014,6 +94194,12 @@ func (s *DescribeImagesInput) SetIncludeDeprecated(v bool) *DescribeImagesInput
|
|||
return s
|
||||
}
|
||||
|
||||
// SetIncludeDisabled sets the IncludeDisabled field's value.
|
||||
func (s *DescribeImagesInput) SetIncludeDisabled(v bool) *DescribeImagesInput {
|
||||
s.IncludeDisabled = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetMaxResults sets the MaxResults field's value.
|
||||
func (s *DescribeImagesInput) SetMaxResults(v int64) *DescribeImagesInput {
|
||||
s.MaxResults = &v
|
||||
|
|
@ -103800,6 +103986,9 @@ type DescribeStoreImageTasksInput struct {
|
|||
//
|
||||
// * bucket - Returns task information for tasks that targeted a specific
|
||||
// bucket. For the filter value, specify the bucket name.
|
||||
//
|
||||
// When you specify the ImageIds parameter, any filters that you specify are
|
||||
// ignored. To use the filters, you must remove the ImageIds parameter.
|
||||
Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"`
|
||||
|
||||
// The AMI IDs for which to show progress. Up to 20 AMI IDs can be included
|
||||
|
|
@ -103810,7 +103999,7 @@ type DescribeStoreImageTasksInput struct {
|
|||
// of items, make another request with the token returned in the output. For
|
||||
// more information, see Pagination (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination).
|
||||
//
|
||||
// You cannot specify this parameter and the ImageIDs parameter in the same
|
||||
// You cannot specify this parameter and the ImageIds parameter in the same
|
||||
// call.
|
||||
MaxResults *int64 `min:"1" type:"integer"`
|
||||
|
||||
|
|
@ -110986,6 +111175,95 @@ func (s *DisableImageDeprecationOutput) SetReturn(v bool) *DisableImageDeprecati
|
|||
return s
|
||||
}
|
||||
|
||||
type DisableImageInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Checks whether you have the required permissions for the action, without
|
||||
// actually making the request, and provides an error response. If you have
|
||||
// the required permissions, the error response is DryRunOperation. Otherwise,
|
||||
// it is UnauthorizedOperation.
|
||||
DryRun *bool `type:"boolean"`
|
||||
|
||||
// The ID of the AMI.
|
||||
//
|
||||
// ImageId is a required field
|
||||
ImageId *string `type:"string" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation.
|
||||
//
|
||||
// API parameter values that are decorated as "sensitive" in the API will not
|
||||
// be included in the string output. The member name will be present, but the
|
||||
// value will be replaced with "sensitive".
|
||||
func (s DisableImageInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation.
|
||||
//
|
||||
// API parameter values that are decorated as "sensitive" in the API will not
|
||||
// be included in the string output. The member name will be present, but the
|
||||
// value will be replaced with "sensitive".
|
||||
func (s DisableImageInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *DisableImageInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "DisableImageInput"}
|
||||
if s.ImageId == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("ImageId"))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetDryRun sets the DryRun field's value.
|
||||
func (s *DisableImageInput) SetDryRun(v bool) *DisableImageInput {
|
||||
s.DryRun = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetImageId sets the ImageId field's value.
|
||||
func (s *DisableImageInput) SetImageId(v string) *DisableImageInput {
|
||||
s.ImageId = &v
|
||||
return s
|
||||
}
|
||||
|
||||
type DisableImageOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Returns true if the request succeeds; otherwise, it returns an error.
|
||||
Return *bool `locationName:"return" type:"boolean"`
|
||||
}
|
||||
|
||||
// String returns the string representation.
|
||||
//
|
||||
// API parameter values that are decorated as "sensitive" in the API will not
|
||||
// be included in the string output. The member name will be present, but the
|
||||
// value will be replaced with "sensitive".
|
||||
func (s DisableImageOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation.
|
||||
//
|
||||
// API parameter values that are decorated as "sensitive" in the API will not
|
||||
// be included in the string output. The member name will be present, but the
|
||||
// value will be replaced with "sensitive".
|
||||
func (s DisableImageOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetReturn sets the Return field's value.
|
||||
func (s *DisableImageOutput) SetReturn(v bool) *DisableImageOutput {
|
||||
s.Return = &v
|
||||
return s
|
||||
}
|
||||
|
||||
type DisableIpamOrganizationAdminAccountInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
@ -115578,6 +115856,95 @@ func (s *EnableImageDeprecationOutput) SetReturn(v bool) *EnableImageDeprecation
|
|||
return s
|
||||
}
|
||||
|
||||
type EnableImageInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Checks whether you have the required permissions for the action, without
|
||||
// actually making the request, and provides an error response. If you have
|
||||
// the required permissions, the error response is DryRunOperation. Otherwise,
|
||||
// it is UnauthorizedOperation.
|
||||
DryRun *bool `type:"boolean"`
|
||||
|
||||
// The ID of the AMI.
|
||||
//
|
||||
// ImageId is a required field
|
||||
ImageId *string `type:"string" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation.
|
||||
//
|
||||
// API parameter values that are decorated as "sensitive" in the API will not
|
||||
// be included in the string output. The member name will be present, but the
|
||||
// value will be replaced with "sensitive".
|
||||
func (s EnableImageInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation.
|
||||
//
|
||||
// API parameter values that are decorated as "sensitive" in the API will not
|
||||
// be included in the string output. The member name will be present, but the
|
||||
// value will be replaced with "sensitive".
|
||||
func (s EnableImageInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *EnableImageInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "EnableImageInput"}
|
||||
if s.ImageId == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("ImageId"))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetDryRun sets the DryRun field's value.
|
||||
func (s *EnableImageInput) SetDryRun(v bool) *EnableImageInput {
|
||||
s.DryRun = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetImageId sets the ImageId field's value.
|
||||
func (s *EnableImageInput) SetImageId(v string) *EnableImageInput {
|
||||
s.ImageId = &v
|
||||
return s
|
||||
}
|
||||
|
||||
type EnableImageOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Returns true if the request succeeds; otherwise, it returns an error.
|
||||
Return *bool `locationName:"return" type:"boolean"`
|
||||
}
|
||||
|
||||
// String returns the string representation.
|
||||
//
|
||||
// API parameter values that are decorated as "sensitive" in the API will not
|
||||
// be included in the string output. The member name will be present, but the
|
||||
// value will be replaced with "sensitive".
|
||||
func (s EnableImageOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation.
|
||||
//
|
||||
// API parameter values that are decorated as "sensitive" in the API will not
|
||||
// be included in the string output. The member name will be present, but the
|
||||
// value will be replaced with "sensitive".
|
||||
func (s EnableImageOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetReturn sets the Return field's value.
|
||||
func (s *EnableImageOutput) SetReturn(v bool) *EnableImageOutput {
|
||||
s.Return = &v
|
||||
return s
|
||||
}
|
||||
|
||||
type EnableIpamOrganizationAdminAccountInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
|
@ -127076,7 +127443,7 @@ type Image struct {
|
|||
// Specifies whether enhanced networking with ENA is enabled.
|
||||
EnaSupport *bool `locationName:"enaSupport" type:"boolean"`
|
||||
|
||||
// The hypervisor type of the image.
|
||||
// The hypervisor type of the image. Only xen is supported. ovm is not supported.
|
||||
Hypervisor *string `locationName:"hypervisor" type:"string" enum:"HypervisorType"`
|
||||
|
||||
// The ID of the AMI.
|
||||
|
|
@ -127137,6 +127504,11 @@ type Image struct {
|
|||
// or an instance store volume.
|
||||
RootDeviceType *string `locationName:"rootDeviceType" type:"string" enum:"DeviceType"`
|
||||
|
||||
// The ID of the instance that the AMI was created from if the AMI was created
|
||||
// using CreateImage (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html).
|
||||
// This field only appears if the AMI was created using CreateImage.
|
||||
SourceInstanceId *string `locationName:"sourceInstanceId" type:"string"`
|
||||
|
||||
// Specifies whether enhanced networking with the Intel 82599 Virtual Function
|
||||
// interface is enabled.
|
||||
SriovNetSupport *string `locationName:"sriovNetSupport" type:"string"`
|
||||
|
|
@ -127326,6 +127698,12 @@ func (s *Image) SetRootDeviceType(v string) *Image {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetSourceInstanceId sets the SourceInstanceId field's value.
|
||||
func (s *Image) SetSourceInstanceId(v string) *Image {
|
||||
s.SourceInstanceId = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetSriovNetSupport sets the SriovNetSupport field's value.
|
||||
func (s *Image) SetSriovNetSupport(v string) *Image {
|
||||
s.SriovNetSupport = &v
|
||||
|
|
@ -184099,6 +184477,9 @@ const (
|
|||
|
||||
// CapacityReservationInstancePlatformRhelwithHaandSqlserverEnterprise is a CapacityReservationInstancePlatform enum value
|
||||
CapacityReservationInstancePlatformRhelwithHaandSqlserverEnterprise = "RHEL with HA and SQL Server Enterprise"
|
||||
|
||||
// CapacityReservationInstancePlatformUbuntuPro is a CapacityReservationInstancePlatform enum value
|
||||
CapacityReservationInstancePlatformUbuntuPro = "Ubuntu Pro"
|
||||
)
|
||||
|
||||
// CapacityReservationInstancePlatform_Values returns all elements of the CapacityReservationInstancePlatform enum
|
||||
|
|
@ -184121,6 +184502,7 @@ func CapacityReservationInstancePlatform_Values() []string {
|
|||
CapacityReservationInstancePlatformRhelwithHa,
|
||||
CapacityReservationInstancePlatformRhelwithHaandSqlserverStandard,
|
||||
CapacityReservationInstancePlatformRhelwithHaandSqlserverEnterprise,
|
||||
CapacityReservationInstancePlatformUbuntuPro,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -185673,6 +186055,9 @@ const (
|
|||
|
||||
// ImageStateError is a ImageState enum value
|
||||
ImageStateError = "error"
|
||||
|
||||
// ImageStateDisabled is a ImageState enum value
|
||||
ImageStateDisabled = "disabled"
|
||||
)
|
||||
|
||||
// ImageState_Values returns all elements of the ImageState enum
|
||||
|
|
@ -185685,6 +186070,7 @@ func ImageState_Values() []string {
|
|||
ImageStateTransient,
|
||||
ImageStateFailed,
|
||||
ImageStateError,
|
||||
ImageStateDisabled,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue