Documentation
¶
Overview ¶
Package cloudcontroliface provides an interface to enable mocking the CLOUDCONTROL service client for testing your code.
It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.
Index ¶
- Constants
- type CLOUDCONTROL
- func (c *CLOUDCONTROL) CreateResource(input *CreateResourceInput) (*CreateResourceOutput, error)
- func (c *CLOUDCONTROL) CreateResourceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) CreateResourceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CLOUDCONTROL) CreateResourceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) CreateResourceRequest(input *CreateResourceInput) (req *request.Request, output *CreateResourceOutput)
- func (c *CLOUDCONTROL) CreateResourceWithContext(ctx volcengine.Context, input *CreateResourceInput, opts ...request.Option) (*CreateResourceOutput, error)
- func (c *CLOUDCONTROL) DeleteResource(input *DeleteResourceInput) (*DeleteResourceOutput, error)
- func (c *CLOUDCONTROL) DeleteResourceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) DeleteResourceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CLOUDCONTROL) DeleteResourceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) DeleteResourceRequest(input *DeleteResourceInput) (req *request.Request, output *DeleteResourceOutput)
- func (c *CLOUDCONTROL) DeleteResourceWithContext(ctx volcengine.Context, input *DeleteResourceInput, opts ...request.Option) (*DeleteResourceOutput, error)
- func (c *CLOUDCONTROL) DescribeResourceType(input *DescribeResourceTypeInput) (*DescribeResourceTypeOutput, error)
- func (c *CLOUDCONTROL) DescribeResourceTypeCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) DescribeResourceTypeCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CLOUDCONTROL) DescribeResourceTypeCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) DescribeResourceTypeRequest(input *DescribeResourceTypeInput) (req *request.Request, output *DescribeResourceTypeOutput)
- func (c *CLOUDCONTROL) DescribeResourceTypeWithContext(ctx volcengine.Context, input *DescribeResourceTypeInput, ...) (*DescribeResourceTypeOutput, error)
- func (c *CLOUDCONTROL) GetResource(input *GetResourceInput) (*GetResourceOutput, error)
- func (c *CLOUDCONTROL) GetResourceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) GetResourceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CLOUDCONTROL) GetResourceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) GetResourceRequest(input *GetResourceInput) (req *request.Request, output *GetResourceOutput)
- func (c *CLOUDCONTROL) GetResourceWithContext(ctx volcengine.Context, input *GetResourceInput, opts ...request.Option) (*GetResourceOutput, error)
- func (c *CLOUDCONTROL) GetTask(input *GetTaskInput) (*GetTaskOutput, error)
- func (c *CLOUDCONTROL) GetTaskCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) GetTaskCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CLOUDCONTROL) GetTaskCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) GetTaskRequest(input *GetTaskInput) (req *request.Request, output *GetTaskOutput)
- func (c *CLOUDCONTROL) GetTaskWithContext(ctx volcengine.Context, input *GetTaskInput, opts ...request.Option) (*GetTaskOutput, error)
- func (c *CLOUDCONTROL) ListResourceTypes(input *ListResourceTypesInput) (*ListResourceTypesOutput, error)
- func (c *CLOUDCONTROL) ListResourceTypesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) ListResourceTypesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CLOUDCONTROL) ListResourceTypesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) ListResourceTypesRequest(input *ListResourceTypesInput) (req *request.Request, output *ListResourceTypesOutput)
- func (c *CLOUDCONTROL) ListResourceTypesWithContext(ctx volcengine.Context, input *ListResourceTypesInput, opts ...request.Option) (*ListResourceTypesOutput, error)
- func (c *CLOUDCONTROL) ListResources(input *ListResourcesInput) (*ListResourcesOutput, error)
- func (c *CLOUDCONTROL) ListResourcesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) ListResourcesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CLOUDCONTROL) ListResourcesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) ListResourcesRequest(input *ListResourcesInput) (req *request.Request, output *ListResourcesOutput)
- func (c *CLOUDCONTROL) ListResourcesWithContext(ctx volcengine.Context, input *ListResourcesInput, opts ...request.Option) (*ListResourcesOutput, error)
- func (c *CLOUDCONTROL) ListTasks(input *ListTasksInput) (*ListTasksOutput, error)
- func (c *CLOUDCONTROL) ListTasksCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) ListTasksCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CLOUDCONTROL) ListTasksCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) ListTasksRequest(input *ListTasksInput) (req *request.Request, output *ListTasksOutput)
- func (c *CLOUDCONTROL) ListTasksWithContext(ctx volcengine.Context, input *ListTasksInput, opts ...request.Option) (*ListTasksOutput, error)
- func (c *CLOUDCONTROL) UpdateResource(input *UpdateResourceInput) (*UpdateResourceOutput, error)
- func (c *CLOUDCONTROL) UpdateResourceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) UpdateResourceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CLOUDCONTROL) UpdateResourceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CLOUDCONTROL) UpdateResourceRequest(input *UpdateResourceInput) (req *request.Request, output *UpdateResourceOutput)
- func (c *CLOUDCONTROL) UpdateResourceWithContext(ctx volcengine.Context, input *UpdateResourceInput, opts ...request.Option) (*UpdateResourceOutput, error)
- type CLOUDCONTROLAPI
- type CreateResourceInput
- func (s CreateResourceInput) GoString() string
- func (s *CreateResourceInput) SetClientToken(v string) *CreateResourceInput
- func (s *CreateResourceInput) SetTargetState(v interface{}) *CreateResourceInput
- func (s *CreateResourceInput) SetTypeName(v string) *CreateResourceInput
- func (s CreateResourceInput) String() string
- func (s *CreateResourceInput) Validate() error
- type CreateResourceOutput
- func (s CreateResourceOutput) GoString() string
- func (s *CreateResourceOutput) SetErrorCode(v string) *CreateResourceOutput
- func (s *CreateResourceOutput) SetEventTime(v string) *CreateResourceOutput
- func (s *CreateResourceOutput) SetIdentifier(v string) *CreateResourceOutput
- func (s *CreateResourceOutput) SetOperation(v string) *CreateResourceOutput
- func (s *CreateResourceOutput) SetOperationStatus(v string) *CreateResourceOutput
- func (s *CreateResourceOutput) SetResourceModel(v string) *CreateResourceOutput
- func (s *CreateResourceOutput) SetStatusMessage(v string) *CreateResourceOutput
- func (s *CreateResourceOutput) SetTaskID(v string) *CreateResourceOutput
- func (s *CreateResourceOutput) SetTypeName(v string) *CreateResourceOutput
- func (s CreateResourceOutput) String() string
- type DeleteResourceInput
- func (s DeleteResourceInput) GoString() string
- func (s *DeleteResourceInput) SetClientToken(v string) *DeleteResourceInput
- func (s *DeleteResourceInput) SetIdentifier(v string) *DeleteResourceInput
- func (s *DeleteResourceInput) SetTypeName(v string) *DeleteResourceInput
- func (s DeleteResourceInput) String() string
- func (s *DeleteResourceInput) Validate() error
- type DeleteResourceOutput
- func (s DeleteResourceOutput) GoString() string
- func (s *DeleteResourceOutput) SetErrorCode(v string) *DeleteResourceOutput
- func (s *DeleteResourceOutput) SetEventTime(v string) *DeleteResourceOutput
- func (s *DeleteResourceOutput) SetIdentifier(v string) *DeleteResourceOutput
- func (s *DeleteResourceOutput) SetOperation(v string) *DeleteResourceOutput
- func (s *DeleteResourceOutput) SetOperationStatus(v string) *DeleteResourceOutput
- func (s *DeleteResourceOutput) SetResourceModel(v string) *DeleteResourceOutput
- func (s *DeleteResourceOutput) SetStatusMessage(v string) *DeleteResourceOutput
- func (s *DeleteResourceOutput) SetTaskID(v string) *DeleteResourceOutput
- func (s *DeleteResourceOutput) SetTypeName(v string) *DeleteResourceOutput
- func (s DeleteResourceOutput) String() string
- type DescribeResourceTypeInput
- type DescribeResourceTypeOutput
- func (s DescribeResourceTypeOutput) GoString() string
- func (s *DescribeResourceTypeOutput) SetCreateTime(v string) *DescribeResourceTypeOutput
- func (s *DescribeResourceTypeOutput) SetDescription(v string) *DescribeResourceTypeOutput
- func (s *DescribeResourceTypeOutput) SetPublisherName(v string) *DescribeResourceTypeOutput
- func (s *DescribeResourceTypeOutput) SetSchema(v interface{}) *DescribeResourceTypeOutput
- func (s *DescribeResourceTypeOutput) SetTrn(v string) *DescribeResourceTypeOutput
- func (s *DescribeResourceTypeOutput) SetTypeName(v string) *DescribeResourceTypeOutput
- func (s *DescribeResourceTypeOutput) SetUpdateTime(v string) *DescribeResourceTypeOutput
- func (s *DescribeResourceTypeOutput) SetVisibility(v string) *DescribeResourceTypeOutput
- func (s DescribeResourceTypeOutput) String() string
- type GetResourceInput
- type GetResourceOutput
- type GetTaskInput
- type GetTaskOutput
- func (s GetTaskOutput) GoString() string
- func (s *GetTaskOutput) SetErrorCode(v string) *GetTaskOutput
- func (s *GetTaskOutput) SetEventTime(v string) *GetTaskOutput
- func (s *GetTaskOutput) SetIdentifier(v string) *GetTaskOutput
- func (s *GetTaskOutput) SetOperation(v string) *GetTaskOutput
- func (s *GetTaskOutput) SetOperationStatus(v string) *GetTaskOutput
- func (s *GetTaskOutput) SetResourceModel(v string) *GetTaskOutput
- func (s *GetTaskOutput) SetStatusMessage(v string) *GetTaskOutput
- func (s *GetTaskOutput) SetTaskID(v string) *GetTaskOutput
- func (s *GetTaskOutput) SetTypeName(v string) *GetTaskOutput
- func (s GetTaskOutput) String() string
- type ListResourceTypesInput
- type ListResourceTypesOutput
- type ListResourcesInput
- func (s ListResourcesInput) GoString() string
- func (s *ListResourcesInput) SetFilter(v interface{}) *ListResourcesInput
- func (s *ListResourcesInput) SetMaxResults(v int32) *ListResourcesInput
- func (s *ListResourcesInput) SetNextToken(v string) *ListResourcesInput
- func (s *ListResourcesInput) SetTypeName(v string) *ListResourcesInput
- func (s ListResourcesInput) String() string
- func (s *ListResourcesInput) Validate() error
- type ListResourcesOutput
- func (s ListResourcesOutput) GoString() string
- func (s *ListResourcesOutput) SetNextToken(v string) *ListResourcesOutput
- func (s *ListResourcesOutput) SetResourceDescriptions(v []*ResourceDescriptionForListResourcesOutput) *ListResourcesOutput
- func (s *ListResourcesOutput) SetTypeName(v string) *ListResourcesOutput
- func (s ListResourcesOutput) String() string
- type ListTasksInput
- func (s ListTasksInput) GoString() string
- func (s *ListTasksInput) SetMaxResults(v int32) *ListTasksInput
- func (s *ListTasksInput) SetNextToken(v string) *ListTasksInput
- func (s *ListTasksInput) SetResourceTaskStatusFilter(v *ResourceTaskStatusFilterForListTasksInput) *ListTasksInput
- func (s ListTasksInput) String() string
- type ListTasksOutput
- type ResourceDescriptionForGetResourceOutput
- func (s ResourceDescriptionForGetResourceOutput) GoString() string
- func (s *ResourceDescriptionForGetResourceOutput) SetIdentifier(v string) *ResourceDescriptionForGetResourceOutput
- func (s *ResourceDescriptionForGetResourceOutput) SetProperties(v string) *ResourceDescriptionForGetResourceOutput
- func (s ResourceDescriptionForGetResourceOutput) String() string
- type ResourceDescriptionForListResourcesOutput
- func (s ResourceDescriptionForListResourcesOutput) GoString() string
- func (s *ResourceDescriptionForListResourcesOutput) SetIdentifier(v string) *ResourceDescriptionForListResourcesOutput
- func (s *ResourceDescriptionForListResourcesOutput) SetProperties(v string) *ResourceDescriptionForListResourcesOutput
- func (s ResourceDescriptionForListResourcesOutput) String() string
- type ResourceTaskStatusFilterForListTasksInput
- func (s ResourceTaskStatusFilterForListTasksInput) GoString() string
- func (s *ResourceTaskStatusFilterForListTasksInput) SetTaskStatus(v []*string) *ResourceTaskStatusFilterForListTasksInput
- func (s *ResourceTaskStatusFilterForListTasksInput) SetTaskType(v []*string) *ResourceTaskStatusFilterForListTasksInput
- func (s ResourceTaskStatusFilterForListTasksInput) String() string
- type ResourceTaskStatusSummaryForListTasksOutput
- func (s ResourceTaskStatusSummaryForListTasksOutput) GoString() string
- func (s *ResourceTaskStatusSummaryForListTasksOutput) SetErrorCode(v string) *ResourceTaskStatusSummaryForListTasksOutput
- func (s *ResourceTaskStatusSummaryForListTasksOutput) SetEventTime(v string) *ResourceTaskStatusSummaryForListTasksOutput
- func (s *ResourceTaskStatusSummaryForListTasksOutput) SetIdentifier(v string) *ResourceTaskStatusSummaryForListTasksOutput
- func (s *ResourceTaskStatusSummaryForListTasksOutput) SetOperation(v string) *ResourceTaskStatusSummaryForListTasksOutput
- func (s *ResourceTaskStatusSummaryForListTasksOutput) SetOperationStatus(v string) *ResourceTaskStatusSummaryForListTasksOutput
- func (s *ResourceTaskStatusSummaryForListTasksOutput) SetResourceModel(v string) *ResourceTaskStatusSummaryForListTasksOutput
- func (s *ResourceTaskStatusSummaryForListTasksOutput) SetStatusMessage(v string) *ResourceTaskStatusSummaryForListTasksOutput
- func (s *ResourceTaskStatusSummaryForListTasksOutput) SetTaskID(v string) *ResourceTaskStatusSummaryForListTasksOutput
- func (s *ResourceTaskStatusSummaryForListTasksOutput) SetTypeName(v string) *ResourceTaskStatusSummaryForListTasksOutput
- func (s ResourceTaskStatusSummaryForListTasksOutput) String() string
- type TypeListForListResourceTypesOutput
- func (s TypeListForListResourceTypesOutput) GoString() string
- func (s *TypeListForListResourceTypesOutput) SetDescription(v string) *TypeListForListResourceTypesOutput
- func (s *TypeListForListResourceTypesOutput) SetPublisherName(v string) *TypeListForListResourceTypesOutput
- func (s *TypeListForListResourceTypesOutput) SetTrn(v string) *TypeListForListResourceTypesOutput
- func (s *TypeListForListResourceTypesOutput) SetTypeName(v string) *TypeListForListResourceTypesOutput
- func (s *TypeListForListResourceTypesOutput) SetVisibility(v string) *TypeListForListResourceTypesOutput
- func (s TypeListForListResourceTypesOutput) String() string
- type UpdateResourceInput
- func (s UpdateResourceInput) GoString() string
- func (s *UpdateResourceInput) SetClientToken(v string) *UpdateResourceInput
- func (s *UpdateResourceInput) SetIdentifier(v string) *UpdateResourceInput
- func (s *UpdateResourceInput) SetPatchDocument(v []interface{}) *UpdateResourceInput
- func (s *UpdateResourceInput) SetTypeName(v string) *UpdateResourceInput
- func (s UpdateResourceInput) String() string
- func (s *UpdateResourceInput) Validate() error
- type UpdateResourceOutput
- func (s UpdateResourceOutput) GoString() string
- func (s *UpdateResourceOutput) SetErrorCode(v string) *UpdateResourceOutput
- func (s *UpdateResourceOutput) SetEventTime(v string) *UpdateResourceOutput
- func (s *UpdateResourceOutput) SetIdentifier(v string) *UpdateResourceOutput
- func (s *UpdateResourceOutput) SetOperation(v string) *UpdateResourceOutput
- func (s *UpdateResourceOutput) SetOperationStatus(v string) *UpdateResourceOutput
- func (s *UpdateResourceOutput) SetResourceModel(v string) *UpdateResourceOutput
- func (s *UpdateResourceOutput) SetStatusMessage(v string) *UpdateResourceOutput
- func (s *UpdateResourceOutput) SetTaskID(v string) *UpdateResourceOutput
- func (s *UpdateResourceOutput) SetTypeName(v string) *UpdateResourceOutput
- func (s UpdateResourceOutput) String() string
Constants ¶
const ( ServiceName = "cloudcontrol" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "cloudcontrol" // ServiceID is a unique identifer of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLOUDCONTROL ¶
CLOUDCONTROL provides the API operation methods for making requests to CLOUDCONTROL. See this package's package overview docs for details on the service.
CLOUDCONTROL methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*volcengine.Config) *CLOUDCONTROL
New create int can support ssl or region locate set
func (*CLOUDCONTROL) CreateResource ¶
func (c *CLOUDCONTROL) CreateResource(input *CreateResourceInput) (*CreateResourceOutput, error)
CreateResource API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation CreateResource for usage and error information.
func (*CLOUDCONTROL) CreateResourceCommon ¶
func (c *CLOUDCONTROL) CreateResourceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
CreateResourceCommon API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation CreateResourceCommon for usage and error information.
func (*CLOUDCONTROL) CreateResourceCommonRequest ¶
func (c *CLOUDCONTROL) CreateResourceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
CreateResourceCommonRequest generates a "volcengine/request.Request" representing the client's request for the CreateResourceCommon operation. The "output" return value will be populated with the CreateResourceCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateResourceCommon Request to send the API call to the service. the "output" return value is not valid until after CreateResourceCommon Send returns without error.
See CreateResourceCommon for more information on using the CreateResourceCommon API call, and error handling.
// Example sending a request using the CreateResourceCommonRequest method.
req, resp := client.CreateResourceCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) CreateResourceCommonWithContext ¶
func (c *CLOUDCONTROL) CreateResourceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
CreateResourceCommonWithContext is the same as CreateResourceCommon with the addition of the ability to pass a context and additional request options.
See CreateResourceCommon 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 (*CLOUDCONTROL) CreateResourceRequest ¶
func (c *CLOUDCONTROL) CreateResourceRequest(input *CreateResourceInput) (req *request.Request, output *CreateResourceOutput)
CreateResourceRequest generates a "volcengine/request.Request" representing the client's request for the CreateResource operation. The "output" return value will be populated with the CreateResourceCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateResourceCommon Request to send the API call to the service. the "output" return value is not valid until after CreateResourceCommon Send returns without error.
See CreateResource for more information on using the CreateResource API call, and error handling.
// Example sending a request using the CreateResourceRequest method.
req, resp := client.CreateResourceRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) CreateResourceWithContext ¶
func (c *CLOUDCONTROL) CreateResourceWithContext(ctx volcengine.Context, input *CreateResourceInput, opts ...request.Option) (*CreateResourceOutput, error)
CreateResourceWithContext is the same as CreateResource with the addition of the ability to pass a context and additional request options.
See CreateResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe 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 (*CLOUDCONTROL) DeleteResource ¶
func (c *CLOUDCONTROL) DeleteResource(input *DeleteResourceInput) (*DeleteResourceOutput, error)
DeleteResource API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation DeleteResource for usage and error information.
func (*CLOUDCONTROL) DeleteResourceCommon ¶
func (c *CLOUDCONTROL) DeleteResourceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
DeleteResourceCommon API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation DeleteResourceCommon for usage and error information.
func (*CLOUDCONTROL) DeleteResourceCommonRequest ¶
func (c *CLOUDCONTROL) DeleteResourceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DeleteResourceCommonRequest generates a "volcengine/request.Request" representing the client's request for the DeleteResourceCommon operation. The "output" return value will be populated with the DeleteResourceCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteResourceCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteResourceCommon Send returns without error.
See DeleteResourceCommon for more information on using the DeleteResourceCommon API call, and error handling.
// Example sending a request using the DeleteResourceCommonRequest method.
req, resp := client.DeleteResourceCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) DeleteResourceCommonWithContext ¶
func (c *CLOUDCONTROL) DeleteResourceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DeleteResourceCommonWithContext is the same as DeleteResourceCommon with the addition of the ability to pass a context and additional request options.
See DeleteResourceCommon 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 (*CLOUDCONTROL) DeleteResourceRequest ¶
func (c *CLOUDCONTROL) DeleteResourceRequest(input *DeleteResourceInput) (req *request.Request, output *DeleteResourceOutput)
DeleteResourceRequest generates a "volcengine/request.Request" representing the client's request for the DeleteResource operation. The "output" return value will be populated with the DeleteResourceCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteResourceCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteResourceCommon Send returns without error.
See DeleteResource for more information on using the DeleteResource API call, and error handling.
// Example sending a request using the DeleteResourceRequest method.
req, resp := client.DeleteResourceRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) DeleteResourceWithContext ¶
func (c *CLOUDCONTROL) DeleteResourceWithContext(ctx volcengine.Context, input *DeleteResourceInput, opts ...request.Option) (*DeleteResourceOutput, error)
DeleteResourceWithContext is the same as DeleteResource with the addition of the ability to pass a context and additional request options.
See DeleteResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe 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 (*CLOUDCONTROL) DescribeResourceType ¶
func (c *CLOUDCONTROL) DescribeResourceType(input *DescribeResourceTypeInput) (*DescribeResourceTypeOutput, error)
DescribeResourceType API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation DescribeResourceType for usage and error information.
func (*CLOUDCONTROL) DescribeResourceTypeCommon ¶
func (c *CLOUDCONTROL) DescribeResourceTypeCommon(input *map[string]interface{}) (*map[string]interface{}, error)
DescribeResourceTypeCommon API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation DescribeResourceTypeCommon for usage and error information.
func (*CLOUDCONTROL) DescribeResourceTypeCommonRequest ¶
func (c *CLOUDCONTROL) DescribeResourceTypeCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribeResourceTypeCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeResourceTypeCommon operation. The "output" return value will be populated with the DescribeResourceTypeCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeResourceTypeCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeResourceTypeCommon Send returns without error.
See DescribeResourceTypeCommon for more information on using the DescribeResourceTypeCommon API call, and error handling.
// Example sending a request using the DescribeResourceTypeCommonRequest method.
req, resp := client.DescribeResourceTypeCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) DescribeResourceTypeCommonWithContext ¶
func (c *CLOUDCONTROL) DescribeResourceTypeCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribeResourceTypeCommonWithContext is the same as DescribeResourceTypeCommon with the addition of the ability to pass a context and additional request options.
See DescribeResourceTypeCommon 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 (*CLOUDCONTROL) DescribeResourceTypeRequest ¶
func (c *CLOUDCONTROL) DescribeResourceTypeRequest(input *DescribeResourceTypeInput) (req *request.Request, output *DescribeResourceTypeOutput)
DescribeResourceTypeRequest generates a "volcengine/request.Request" representing the client's request for the DescribeResourceType operation. The "output" return value will be populated with the DescribeResourceTypeCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeResourceTypeCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeResourceTypeCommon Send returns without error.
See DescribeResourceType for more information on using the DescribeResourceType API call, and error handling.
// Example sending a request using the DescribeResourceTypeRequest method.
req, resp := client.DescribeResourceTypeRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) DescribeResourceTypeWithContext ¶
func (c *CLOUDCONTROL) DescribeResourceTypeWithContext(ctx volcengine.Context, input *DescribeResourceTypeInput, opts ...request.Option) (*DescribeResourceTypeOutput, error)
DescribeResourceTypeWithContext is the same as DescribeResourceType with the addition of the ability to pass a context and additional request options.
See DescribeResourceType for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe 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 (*CLOUDCONTROL) GetResource ¶
func (c *CLOUDCONTROL) GetResource(input *GetResourceInput) (*GetResourceOutput, error)
GetResource API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation GetResource for usage and error information.
func (*CLOUDCONTROL) GetResourceCommon ¶
func (c *CLOUDCONTROL) GetResourceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
GetResourceCommon API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation GetResourceCommon for usage and error information.
func (*CLOUDCONTROL) GetResourceCommonRequest ¶
func (c *CLOUDCONTROL) GetResourceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
GetResourceCommonRequest generates a "volcengine/request.Request" representing the client's request for the GetResourceCommon operation. The "output" return value will be populated with the GetResourceCommon request's response once the request completes successfully.
Use "Send" method on the returned GetResourceCommon Request to send the API call to the service. the "output" return value is not valid until after GetResourceCommon Send returns without error.
See GetResourceCommon for more information on using the GetResourceCommon API call, and error handling.
// Example sending a request using the GetResourceCommonRequest method.
req, resp := client.GetResourceCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) GetResourceCommonWithContext ¶
func (c *CLOUDCONTROL) GetResourceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
GetResourceCommonWithContext is the same as GetResourceCommon with the addition of the ability to pass a context and additional request options.
See GetResourceCommon 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 (*CLOUDCONTROL) GetResourceRequest ¶
func (c *CLOUDCONTROL) GetResourceRequest(input *GetResourceInput) (req *request.Request, output *GetResourceOutput)
GetResourceRequest generates a "volcengine/request.Request" representing the client's request for the GetResource operation. The "output" return value will be populated with the GetResourceCommon request's response once the request completes successfully.
Use "Send" method on the returned GetResourceCommon Request to send the API call to the service. the "output" return value is not valid until after GetResourceCommon Send returns without error.
See GetResource for more information on using the GetResource API call, and error handling.
// Example sending a request using the GetResourceRequest method.
req, resp := client.GetResourceRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) GetResourceWithContext ¶
func (c *CLOUDCONTROL) GetResourceWithContext(ctx volcengine.Context, input *GetResourceInput, opts ...request.Option) (*GetResourceOutput, error)
GetResourceWithContext is the same as GetResource with the addition of the ability to pass a context and additional request options.
See GetResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe 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 (*CLOUDCONTROL) GetTask ¶
func (c *CLOUDCONTROL) GetTask(input *GetTaskInput) (*GetTaskOutput, error)
GetTask API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation GetTask for usage and error information.
func (*CLOUDCONTROL) GetTaskCommon ¶
func (c *CLOUDCONTROL) GetTaskCommon(input *map[string]interface{}) (*map[string]interface{}, error)
GetTaskCommon API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation GetTaskCommon for usage and error information.
func (*CLOUDCONTROL) GetTaskCommonRequest ¶
func (c *CLOUDCONTROL) GetTaskCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
GetTaskCommonRequest generates a "volcengine/request.Request" representing the client's request for the GetTaskCommon operation. The "output" return value will be populated with the GetTaskCommon request's response once the request completes successfully.
Use "Send" method on the returned GetTaskCommon Request to send the API call to the service. the "output" return value is not valid until after GetTaskCommon Send returns without error.
See GetTaskCommon for more information on using the GetTaskCommon API call, and error handling.
// Example sending a request using the GetTaskCommonRequest method.
req, resp := client.GetTaskCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) GetTaskCommonWithContext ¶
func (c *CLOUDCONTROL) GetTaskCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
GetTaskCommonWithContext is the same as GetTaskCommon with the addition of the ability to pass a context and additional request options.
See GetTaskCommon 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 (*CLOUDCONTROL) GetTaskRequest ¶
func (c *CLOUDCONTROL) GetTaskRequest(input *GetTaskInput) (req *request.Request, output *GetTaskOutput)
GetTaskRequest generates a "volcengine/request.Request" representing the client's request for the GetTask operation. The "output" return value will be populated with the GetTaskCommon request's response once the request completes successfully.
Use "Send" method on the returned GetTaskCommon Request to send the API call to the service. the "output" return value is not valid until after GetTaskCommon Send returns without error.
See GetTask for more information on using the GetTask API call, and error handling.
// Example sending a request using the GetTaskRequest method.
req, resp := client.GetTaskRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) GetTaskWithContext ¶
func (c *CLOUDCONTROL) GetTaskWithContext(ctx volcengine.Context, input *GetTaskInput, opts ...request.Option) (*GetTaskOutput, error)
GetTaskWithContext is the same as GetTask with the addition of the ability to pass a context and additional request options.
See GetTask for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe 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 (*CLOUDCONTROL) ListResourceTypes ¶
func (c *CLOUDCONTROL) ListResourceTypes(input *ListResourceTypesInput) (*ListResourceTypesOutput, error)
ListResourceTypes API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation ListResourceTypes for usage and error information.
func (*CLOUDCONTROL) ListResourceTypesCommon ¶
func (c *CLOUDCONTROL) ListResourceTypesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
ListResourceTypesCommon API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation ListResourceTypesCommon for usage and error information.
func (*CLOUDCONTROL) ListResourceTypesCommonRequest ¶
func (c *CLOUDCONTROL) ListResourceTypesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ListResourceTypesCommonRequest generates a "volcengine/request.Request" representing the client's request for the ListResourceTypesCommon operation. The "output" return value will be populated with the ListResourceTypesCommon request's response once the request completes successfully.
Use "Send" method on the returned ListResourceTypesCommon Request to send the API call to the service. the "output" return value is not valid until after ListResourceTypesCommon Send returns without error.
See ListResourceTypesCommon for more information on using the ListResourceTypesCommon API call, and error handling.
// Example sending a request using the ListResourceTypesCommonRequest method.
req, resp := client.ListResourceTypesCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) ListResourceTypesCommonWithContext ¶
func (c *CLOUDCONTROL) ListResourceTypesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ListResourceTypesCommonWithContext is the same as ListResourceTypesCommon with the addition of the ability to pass a context and additional request options.
See ListResourceTypesCommon 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 (*CLOUDCONTROL) ListResourceTypesRequest ¶
func (c *CLOUDCONTROL) ListResourceTypesRequest(input *ListResourceTypesInput) (req *request.Request, output *ListResourceTypesOutput)
ListResourceTypesRequest generates a "volcengine/request.Request" representing the client's request for the ListResourceTypes operation. The "output" return value will be populated with the ListResourceTypesCommon request's response once the request completes successfully.
Use "Send" method on the returned ListResourceTypesCommon Request to send the API call to the service. the "output" return value is not valid until after ListResourceTypesCommon Send returns without error.
See ListResourceTypes for more information on using the ListResourceTypes API call, and error handling.
// Example sending a request using the ListResourceTypesRequest method.
req, resp := client.ListResourceTypesRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) ListResourceTypesWithContext ¶
func (c *CLOUDCONTROL) ListResourceTypesWithContext(ctx volcengine.Context, input *ListResourceTypesInput, opts ...request.Option) (*ListResourceTypesOutput, error)
ListResourceTypesWithContext is the same as ListResourceTypes with the addition of the ability to pass a context and additional request options.
See ListResourceTypes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe 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 (*CLOUDCONTROL) ListResources ¶
func (c *CLOUDCONTROL) ListResources(input *ListResourcesInput) (*ListResourcesOutput, error)
ListResources API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation ListResources for usage and error information.
func (*CLOUDCONTROL) ListResourcesCommon ¶
func (c *CLOUDCONTROL) ListResourcesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
ListResourcesCommon API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation ListResourcesCommon for usage and error information.
func (*CLOUDCONTROL) ListResourcesCommonRequest ¶
func (c *CLOUDCONTROL) ListResourcesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ListResourcesCommonRequest generates a "volcengine/request.Request" representing the client's request for the ListResourcesCommon operation. The "output" return value will be populated with the ListResourcesCommon request's response once the request completes successfully.
Use "Send" method on the returned ListResourcesCommon Request to send the API call to the service. the "output" return value is not valid until after ListResourcesCommon Send returns without error.
See ListResourcesCommon for more information on using the ListResourcesCommon API call, and error handling.
// Example sending a request using the ListResourcesCommonRequest method.
req, resp := client.ListResourcesCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) ListResourcesCommonWithContext ¶
func (c *CLOUDCONTROL) ListResourcesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ListResourcesCommonWithContext is the same as ListResourcesCommon with the addition of the ability to pass a context and additional request options.
See ListResourcesCommon 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 (*CLOUDCONTROL) ListResourcesRequest ¶
func (c *CLOUDCONTROL) ListResourcesRequest(input *ListResourcesInput) (req *request.Request, output *ListResourcesOutput)
ListResourcesRequest generates a "volcengine/request.Request" representing the client's request for the ListResources operation. The "output" return value will be populated with the ListResourcesCommon request's response once the request completes successfully.
Use "Send" method on the returned ListResourcesCommon Request to send the API call to the service. the "output" return value is not valid until after ListResourcesCommon Send returns without error.
See ListResources for more information on using the ListResources API call, and error handling.
// Example sending a request using the ListResourcesRequest method.
req, resp := client.ListResourcesRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) ListResourcesWithContext ¶
func (c *CLOUDCONTROL) ListResourcesWithContext(ctx volcengine.Context, input *ListResourcesInput, opts ...request.Option) (*ListResourcesOutput, error)
ListResourcesWithContext is the same as ListResources with the addition of the ability to pass a context and additional request options.
See ListResources for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe 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 (*CLOUDCONTROL) ListTasks ¶
func (c *CLOUDCONTROL) ListTasks(input *ListTasksInput) (*ListTasksOutput, error)
ListTasks API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation ListTasks for usage and error information.
func (*CLOUDCONTROL) ListTasksCommon ¶
func (c *CLOUDCONTROL) ListTasksCommon(input *map[string]interface{}) (*map[string]interface{}, error)
ListTasksCommon API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation ListTasksCommon for usage and error information.
func (*CLOUDCONTROL) ListTasksCommonRequest ¶
func (c *CLOUDCONTROL) ListTasksCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ListTasksCommonRequest generates a "volcengine/request.Request" representing the client's request for the ListTasksCommon operation. The "output" return value will be populated with the ListTasksCommon request's response once the request completes successfully.
Use "Send" method on the returned ListTasksCommon Request to send the API call to the service. the "output" return value is not valid until after ListTasksCommon Send returns without error.
See ListTasksCommon for more information on using the ListTasksCommon API call, and error handling.
// Example sending a request using the ListTasksCommonRequest method.
req, resp := client.ListTasksCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) ListTasksCommonWithContext ¶
func (c *CLOUDCONTROL) ListTasksCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ListTasksCommonWithContext is the same as ListTasksCommon with the addition of the ability to pass a context and additional request options.
See ListTasksCommon 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 (*CLOUDCONTROL) ListTasksRequest ¶
func (c *CLOUDCONTROL) ListTasksRequest(input *ListTasksInput) (req *request.Request, output *ListTasksOutput)
ListTasksRequest generates a "volcengine/request.Request" representing the client's request for the ListTasks operation. The "output" return value will be populated with the ListTasksCommon request's response once the request completes successfully.
Use "Send" method on the returned ListTasksCommon Request to send the API call to the service. the "output" return value is not valid until after ListTasksCommon Send returns without error.
See ListTasks for more information on using the ListTasks API call, and error handling.
// Example sending a request using the ListTasksRequest method.
req, resp := client.ListTasksRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) ListTasksWithContext ¶
func (c *CLOUDCONTROL) ListTasksWithContext(ctx volcengine.Context, input *ListTasksInput, opts ...request.Option) (*ListTasksOutput, error)
ListTasksWithContext is the same as ListTasks with the addition of the ability to pass a context and additional request options.
See ListTasks for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe 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 (*CLOUDCONTROL) UpdateResource ¶
func (c *CLOUDCONTROL) UpdateResource(input *UpdateResourceInput) (*UpdateResourceOutput, error)
UpdateResource API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation UpdateResource for usage and error information.
func (*CLOUDCONTROL) UpdateResourceCommon ¶
func (c *CLOUDCONTROL) UpdateResourceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
UpdateResourceCommon API operation for CLOUDCONTROL.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUDCONTROL's API operation UpdateResourceCommon for usage and error information.
func (*CLOUDCONTROL) UpdateResourceCommonRequest ¶
func (c *CLOUDCONTROL) UpdateResourceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
UpdateResourceCommonRequest generates a "volcengine/request.Request" representing the client's request for the UpdateResourceCommon operation. The "output" return value will be populated with the UpdateResourceCommon request's response once the request completes successfully.
Use "Send" method on the returned UpdateResourceCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateResourceCommon Send returns without error.
See UpdateResourceCommon for more information on using the UpdateResourceCommon API call, and error handling.
// Example sending a request using the UpdateResourceCommonRequest method.
req, resp := client.UpdateResourceCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) UpdateResourceCommonWithContext ¶
func (c *CLOUDCONTROL) UpdateResourceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
UpdateResourceCommonWithContext is the same as UpdateResourceCommon with the addition of the ability to pass a context and additional request options.
See UpdateResourceCommon 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 (*CLOUDCONTROL) UpdateResourceRequest ¶
func (c *CLOUDCONTROL) UpdateResourceRequest(input *UpdateResourceInput) (req *request.Request, output *UpdateResourceOutput)
UpdateResourceRequest generates a "volcengine/request.Request" representing the client's request for the UpdateResource operation. The "output" return value will be populated with the UpdateResourceCommon request's response once the request completes successfully.
Use "Send" method on the returned UpdateResourceCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateResourceCommon Send returns without error.
See UpdateResource for more information on using the UpdateResource API call, and error handling.
// Example sending a request using the UpdateResourceRequest method.
req, resp := client.UpdateResourceRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDCONTROL) UpdateResourceWithContext ¶
func (c *CLOUDCONTROL) UpdateResourceWithContext(ctx volcengine.Context, input *UpdateResourceInput, opts ...request.Option) (*UpdateResourceOutput, error)
UpdateResourceWithContext is the same as UpdateResource with the addition of the ability to pass a context and additional request options.
See UpdateResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe 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.
type CLOUDCONTROLAPI ¶
type CLOUDCONTROLAPI interface {
CreateResourceCommon(*map[string]interface{}) (*map[string]interface{}, error)
CreateResourceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
CreateResourceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
CreateResource(*CreateResourceInput) (*CreateResourceOutput, error)
CreateResourceWithContext(volcengine.Context, *CreateResourceInput, ...request.Option) (*CreateResourceOutput, error)
CreateResourceRequest(*CreateResourceInput) (*request.Request, *CreateResourceOutput)
DeleteResourceCommon(*map[string]interface{}) (*map[string]interface{}, error)
DeleteResourceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
DeleteResourceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
DeleteResource(*DeleteResourceInput) (*DeleteResourceOutput, error)
DeleteResourceWithContext(volcengine.Context, *DeleteResourceInput, ...request.Option) (*DeleteResourceOutput, error)
DeleteResourceRequest(*DeleteResourceInput) (*request.Request, *DeleteResourceOutput)
DescribeResourceTypeCommon(*map[string]interface{}) (*map[string]interface{}, error)
DescribeResourceTypeCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
DescribeResourceTypeCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
DescribeResourceType(*DescribeResourceTypeInput) (*DescribeResourceTypeOutput, error)
DescribeResourceTypeWithContext(volcengine.Context, *DescribeResourceTypeInput, ...request.Option) (*DescribeResourceTypeOutput, error)
DescribeResourceTypeRequest(*DescribeResourceTypeInput) (*request.Request, *DescribeResourceTypeOutput)
GetResourceCommon(*map[string]interface{}) (*map[string]interface{}, error)
GetResourceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
GetResourceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
GetResource(*GetResourceInput) (*GetResourceOutput, error)
GetResourceWithContext(volcengine.Context, *GetResourceInput, ...request.Option) (*GetResourceOutput, error)
GetResourceRequest(*GetResourceInput) (*request.Request, *GetResourceOutput)
GetTaskCommon(*map[string]interface{}) (*map[string]interface{}, error)
GetTaskCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
GetTaskCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
GetTask(*GetTaskInput) (*GetTaskOutput, error)
GetTaskWithContext(volcengine.Context, *GetTaskInput, ...request.Option) (*GetTaskOutput, error)
GetTaskRequest(*GetTaskInput) (*request.Request, *GetTaskOutput)
ListResourceTypesCommon(*map[string]interface{}) (*map[string]interface{}, error)
ListResourceTypesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
ListResourceTypesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
ListResourceTypes(*ListResourceTypesInput) (*ListResourceTypesOutput, error)
ListResourceTypesWithContext(volcengine.Context, *ListResourceTypesInput, ...request.Option) (*ListResourceTypesOutput, error)
ListResourceTypesRequest(*ListResourceTypesInput) (*request.Request, *ListResourceTypesOutput)
ListResourcesCommon(*map[string]interface{}) (*map[string]interface{}, error)
ListResourcesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
ListResourcesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
ListResources(*ListResourcesInput) (*ListResourcesOutput, error)
ListResourcesWithContext(volcengine.Context, *ListResourcesInput, ...request.Option) (*ListResourcesOutput, error)
ListResourcesRequest(*ListResourcesInput) (*request.Request, *ListResourcesOutput)
ListTasksCommon(*map[string]interface{}) (*map[string]interface{}, error)
ListTasksCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
ListTasksCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
ListTasks(*ListTasksInput) (*ListTasksOutput, error)
ListTasksWithContext(volcengine.Context, *ListTasksInput, ...request.Option) (*ListTasksOutput, error)
ListTasksRequest(*ListTasksInput) (*request.Request, *ListTasksOutput)
UpdateResourceCommon(*map[string]interface{}) (*map[string]interface{}, error)
UpdateResourceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
UpdateResourceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
UpdateResource(*UpdateResourceInput) (*UpdateResourceOutput, error)
UpdateResourceWithContext(volcengine.Context, *UpdateResourceInput, ...request.Option) (*UpdateResourceOutput, error)
UpdateResourceRequest(*UpdateResourceInput) (*request.Request, *UpdateResourceOutput)
}
CLOUDCONTROLAPI provides an interface to enable mocking the cloudcontrol.CLOUDCONTROL service client's API operation,
// volcengine sdk func uses an SDK service client to make a request to
// CLOUDCONTROL.
func myFunc(svc CLOUDCONTROLAPI) bool {
// Make svc.CreateResource request
}
func main() {
sess := session.New()
svc := cloudcontrol.New(sess)
myFunc(svc)
}
type CreateResourceInput ¶
type CreateResourceInput struct {
ClientToken *string `min:"1" max:"128" type:"string" json:",omitempty"`
// TargetState is a required field
TargetState interface{} `type:"interface" json:",omitempty" required:"true"`
// TypeName is a required field
TypeName *string `type:"string" json:",omitempty" required:"true"`
// contains filtered or unexported fields
}
func (CreateResourceInput) GoString ¶
func (s CreateResourceInput) GoString() string
GoString returns the string representation
func (*CreateResourceInput) SetClientToken ¶
func (s *CreateResourceInput) SetClientToken(v string) *CreateResourceInput
SetClientToken sets the ClientToken field's value.
func (*CreateResourceInput) SetTargetState ¶
func (s *CreateResourceInput) SetTargetState(v interface{}) *CreateResourceInput
SetTargetState sets the TargetState field's value.
func (*CreateResourceInput) SetTypeName ¶
func (s *CreateResourceInput) SetTypeName(v string) *CreateResourceInput
SetTypeName sets the TypeName field's value.
func (CreateResourceInput) String ¶
func (s CreateResourceInput) String() string
String returns the string representation
func (*CreateResourceInput) Validate ¶
func (s *CreateResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateResourceOutput ¶
type CreateResourceOutput struct {
Metadata *response.ResponseMetadata
ErrorCode *string `type:"string" json:",omitempty"`
EventTime *string `type:"string" json:",omitempty"`
Identifier *string `type:"string" json:",omitempty"`
Operation *string `type:"string" json:",omitempty"`
OperationStatus *string `type:"string" json:",omitempty"`
ResourceModel *string `type:"string" json:",omitempty"`
StatusMessage *string `type:"string" json:",omitempty"`
TaskID *string `type:"string" json:",omitempty"`
TypeName *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (CreateResourceOutput) GoString ¶
func (s CreateResourceOutput) GoString() string
GoString returns the string representation
func (*CreateResourceOutput) SetErrorCode ¶
func (s *CreateResourceOutput) SetErrorCode(v string) *CreateResourceOutput
SetErrorCode sets the ErrorCode field's value.
func (*CreateResourceOutput) SetEventTime ¶
func (s *CreateResourceOutput) SetEventTime(v string) *CreateResourceOutput
SetEventTime sets the EventTime field's value.
func (*CreateResourceOutput) SetIdentifier ¶
func (s *CreateResourceOutput) SetIdentifier(v string) *CreateResourceOutput
SetIdentifier sets the Identifier field's value.
func (*CreateResourceOutput) SetOperation ¶
func (s *CreateResourceOutput) SetOperation(v string) *CreateResourceOutput
SetOperation sets the Operation field's value.
func (*CreateResourceOutput) SetOperationStatus ¶
func (s *CreateResourceOutput) SetOperationStatus(v string) *CreateResourceOutput
SetOperationStatus sets the OperationStatus field's value.
func (*CreateResourceOutput) SetResourceModel ¶
func (s *CreateResourceOutput) SetResourceModel(v string) *CreateResourceOutput
SetResourceModel sets the ResourceModel field's value.
func (*CreateResourceOutput) SetStatusMessage ¶
func (s *CreateResourceOutput) SetStatusMessage(v string) *CreateResourceOutput
SetStatusMessage sets the StatusMessage field's value.
func (*CreateResourceOutput) SetTaskID ¶
func (s *CreateResourceOutput) SetTaskID(v string) *CreateResourceOutput
SetTaskID sets the TaskID field's value.
func (*CreateResourceOutput) SetTypeName ¶
func (s *CreateResourceOutput) SetTypeName(v string) *CreateResourceOutput
SetTypeName sets the TypeName field's value.
func (CreateResourceOutput) String ¶
func (s CreateResourceOutput) String() string
String returns the string representation
type DeleteResourceInput ¶
type DeleteResourceInput struct {
ClientToken *string `type:"string" json:",omitempty"`
// Identifier is a required field
Identifier *string `type:"string" json:",omitempty" required:"true"`
// TypeName is a required field
TypeName *string `type:"string" json:",omitempty" required:"true"`
// contains filtered or unexported fields
}
func (DeleteResourceInput) GoString ¶
func (s DeleteResourceInput) GoString() string
GoString returns the string representation
func (*DeleteResourceInput) SetClientToken ¶
func (s *DeleteResourceInput) SetClientToken(v string) *DeleteResourceInput
SetClientToken sets the ClientToken field's value.
func (*DeleteResourceInput) SetIdentifier ¶
func (s *DeleteResourceInput) SetIdentifier(v string) *DeleteResourceInput
SetIdentifier sets the Identifier field's value.
func (*DeleteResourceInput) SetTypeName ¶
func (s *DeleteResourceInput) SetTypeName(v string) *DeleteResourceInput
SetTypeName sets the TypeName field's value.
func (DeleteResourceInput) String ¶
func (s DeleteResourceInput) String() string
String returns the string representation
func (*DeleteResourceInput) Validate ¶
func (s *DeleteResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteResourceOutput ¶
type DeleteResourceOutput struct {
Metadata *response.ResponseMetadata
ErrorCode *string `type:"string" json:",omitempty"`
EventTime *string `type:"string" json:",omitempty"`
Identifier *string `type:"string" json:",omitempty"`
Operation *string `type:"string" json:",omitempty"`
OperationStatus *string `type:"string" json:",omitempty"`
ResourceModel *string `type:"string" json:",omitempty"`
StatusMessage *string `type:"string" json:",omitempty"`
TaskID *string `type:"string" json:",omitempty"`
TypeName *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (DeleteResourceOutput) GoString ¶
func (s DeleteResourceOutput) GoString() string
GoString returns the string representation
func (*DeleteResourceOutput) SetErrorCode ¶
func (s *DeleteResourceOutput) SetErrorCode(v string) *DeleteResourceOutput
SetErrorCode sets the ErrorCode field's value.
func (*DeleteResourceOutput) SetEventTime ¶
func (s *DeleteResourceOutput) SetEventTime(v string) *DeleteResourceOutput
SetEventTime sets the EventTime field's value.
func (*DeleteResourceOutput) SetIdentifier ¶
func (s *DeleteResourceOutput) SetIdentifier(v string) *DeleteResourceOutput
SetIdentifier sets the Identifier field's value.
func (*DeleteResourceOutput) SetOperation ¶
func (s *DeleteResourceOutput) SetOperation(v string) *DeleteResourceOutput
SetOperation sets the Operation field's value.
func (*DeleteResourceOutput) SetOperationStatus ¶
func (s *DeleteResourceOutput) SetOperationStatus(v string) *DeleteResourceOutput
SetOperationStatus sets the OperationStatus field's value.
func (*DeleteResourceOutput) SetResourceModel ¶
func (s *DeleteResourceOutput) SetResourceModel(v string) *DeleteResourceOutput
SetResourceModel sets the ResourceModel field's value.
func (*DeleteResourceOutput) SetStatusMessage ¶
func (s *DeleteResourceOutput) SetStatusMessage(v string) *DeleteResourceOutput
SetStatusMessage sets the StatusMessage field's value.
func (*DeleteResourceOutput) SetTaskID ¶
func (s *DeleteResourceOutput) SetTaskID(v string) *DeleteResourceOutput
SetTaskID sets the TaskID field's value.
func (*DeleteResourceOutput) SetTypeName ¶
func (s *DeleteResourceOutput) SetTypeName(v string) *DeleteResourceOutput
SetTypeName sets the TypeName field's value.
func (DeleteResourceOutput) String ¶
func (s DeleteResourceOutput) String() string
String returns the string representation
type DescribeResourceTypeInput ¶
type DescribeResourceTypeInput struct {
// TypeName is a required field
TypeName *string `type:"string" required:"true"`
// contains filtered or unexported fields
}
func (DescribeResourceTypeInput) GoString ¶
func (s DescribeResourceTypeInput) GoString() string
GoString returns the string representation
func (*DescribeResourceTypeInput) SetTypeName ¶
func (s *DescribeResourceTypeInput) SetTypeName(v string) *DescribeResourceTypeInput
SetTypeName sets the TypeName field's value.
func (DescribeResourceTypeInput) String ¶
func (s DescribeResourceTypeInput) String() string
String returns the string representation
func (*DescribeResourceTypeInput) Validate ¶
func (s *DescribeResourceTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeResourceTypeOutput ¶
type DescribeResourceTypeOutput struct {
Metadata *response.ResponseMetadata
CreateTime *string `type:"string"`
Description *string `type:"string"`
PublisherName *string `type:"string"`
Schema interface{} `type:"interface"`
Trn *string `type:"string"`
TypeName *string `type:"string"`
UpdateTime *string `type:"string"`
Visibility *string `type:"string"`
// contains filtered or unexported fields
}
func (DescribeResourceTypeOutput) GoString ¶
func (s DescribeResourceTypeOutput) GoString() string
GoString returns the string representation
func (*DescribeResourceTypeOutput) SetCreateTime ¶
func (s *DescribeResourceTypeOutput) SetCreateTime(v string) *DescribeResourceTypeOutput
SetCreateTime sets the CreateTime field's value.
func (*DescribeResourceTypeOutput) SetDescription ¶
func (s *DescribeResourceTypeOutput) SetDescription(v string) *DescribeResourceTypeOutput
SetDescription sets the Description field's value.
func (*DescribeResourceTypeOutput) SetPublisherName ¶
func (s *DescribeResourceTypeOutput) SetPublisherName(v string) *DescribeResourceTypeOutput
SetPublisherName sets the PublisherName field's value.
func (*DescribeResourceTypeOutput) SetSchema ¶
func (s *DescribeResourceTypeOutput) SetSchema(v interface{}) *DescribeResourceTypeOutput
SetSchema sets the Schema field's value.
func (*DescribeResourceTypeOutput) SetTrn ¶
func (s *DescribeResourceTypeOutput) SetTrn(v string) *DescribeResourceTypeOutput
SetTrn sets the Trn field's value.
func (*DescribeResourceTypeOutput) SetTypeName ¶
func (s *DescribeResourceTypeOutput) SetTypeName(v string) *DescribeResourceTypeOutput
SetTypeName sets the TypeName field's value.
func (*DescribeResourceTypeOutput) SetUpdateTime ¶
func (s *DescribeResourceTypeOutput) SetUpdateTime(v string) *DescribeResourceTypeOutput
SetUpdateTime sets the UpdateTime field's value.
func (*DescribeResourceTypeOutput) SetVisibility ¶
func (s *DescribeResourceTypeOutput) SetVisibility(v string) *DescribeResourceTypeOutput
SetVisibility sets the Visibility field's value.
func (DescribeResourceTypeOutput) String ¶
func (s DescribeResourceTypeOutput) String() string
String returns the string representation
type GetResourceInput ¶
type GetResourceInput struct {
// Identifier is a required field
Identifier *string `type:"string" json:",omitempty" required:"true"`
// TypeName is a required field
TypeName *string `type:"string" json:",omitempty" required:"true"`
// contains filtered or unexported fields
}
func (GetResourceInput) GoString ¶
func (s GetResourceInput) GoString() string
GoString returns the string representation
func (*GetResourceInput) SetIdentifier ¶
func (s *GetResourceInput) SetIdentifier(v string) *GetResourceInput
SetIdentifier sets the Identifier field's value.
func (*GetResourceInput) SetTypeName ¶
func (s *GetResourceInput) SetTypeName(v string) *GetResourceInput
SetTypeName sets the TypeName field's value.
func (GetResourceInput) String ¶
func (s GetResourceInput) String() string
String returns the string representation
func (*GetResourceInput) Validate ¶
func (s *GetResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResourceOutput ¶
type GetResourceOutput struct {
Metadata *response.ResponseMetadata
ResourceDescription *ResourceDescriptionForGetResourceOutput `type:"structure" json:",omitempty"`
TypeName *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (GetResourceOutput) GoString ¶
func (s GetResourceOutput) GoString() string
GoString returns the string representation
func (*GetResourceOutput) SetResourceDescription ¶
func (s *GetResourceOutput) SetResourceDescription(v *ResourceDescriptionForGetResourceOutput) *GetResourceOutput
SetResourceDescription sets the ResourceDescription field's value.
func (*GetResourceOutput) SetTypeName ¶
func (s *GetResourceOutput) SetTypeName(v string) *GetResourceOutput
SetTypeName sets the TypeName field's value.
func (GetResourceOutput) String ¶
func (s GetResourceOutput) String() string
String returns the string representation
type GetTaskInput ¶
type GetTaskInput struct {
// TaskId is a required field
TaskId *string `type:"string" json:",omitempty" required:"true"`
// contains filtered or unexported fields
}
func (GetTaskInput) GoString ¶
func (s GetTaskInput) GoString() string
GoString returns the string representation
func (*GetTaskInput) SetTaskId ¶
func (s *GetTaskInput) SetTaskId(v string) *GetTaskInput
SetTaskId sets the TaskId field's value.
func (GetTaskInput) String ¶
func (s GetTaskInput) String() string
String returns the string representation
func (*GetTaskInput) Validate ¶
func (s *GetTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetTaskOutput ¶
type GetTaskOutput struct {
Metadata *response.ResponseMetadata
ErrorCode *string `type:"string" json:",omitempty"`
EventTime *string `type:"string" json:",omitempty"`
Identifier *string `type:"string" json:",omitempty"`
Operation *string `type:"string" json:",omitempty"`
OperationStatus *string `type:"string" json:",omitempty"`
ResourceModel *string `type:"string" json:",omitempty"`
StatusMessage *string `type:"string" json:",omitempty"`
TaskID *string `type:"string" json:",omitempty"`
TypeName *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (GetTaskOutput) GoString ¶
func (s GetTaskOutput) GoString() string
GoString returns the string representation
func (*GetTaskOutput) SetErrorCode ¶
func (s *GetTaskOutput) SetErrorCode(v string) *GetTaskOutput
SetErrorCode sets the ErrorCode field's value.
func (*GetTaskOutput) SetEventTime ¶
func (s *GetTaskOutput) SetEventTime(v string) *GetTaskOutput
SetEventTime sets the EventTime field's value.
func (*GetTaskOutput) SetIdentifier ¶
func (s *GetTaskOutput) SetIdentifier(v string) *GetTaskOutput
SetIdentifier sets the Identifier field's value.
func (*GetTaskOutput) SetOperation ¶
func (s *GetTaskOutput) SetOperation(v string) *GetTaskOutput
SetOperation sets the Operation field's value.
func (*GetTaskOutput) SetOperationStatus ¶
func (s *GetTaskOutput) SetOperationStatus(v string) *GetTaskOutput
SetOperationStatus sets the OperationStatus field's value.
func (*GetTaskOutput) SetResourceModel ¶
func (s *GetTaskOutput) SetResourceModel(v string) *GetTaskOutput
SetResourceModel sets the ResourceModel field's value.
func (*GetTaskOutput) SetStatusMessage ¶
func (s *GetTaskOutput) SetStatusMessage(v string) *GetTaskOutput
SetStatusMessage sets the StatusMessage field's value.
func (*GetTaskOutput) SetTaskID ¶
func (s *GetTaskOutput) SetTaskID(v string) *GetTaskOutput
SetTaskID sets the TaskID field's value.
func (*GetTaskOutput) SetTypeName ¶
func (s *GetTaskOutput) SetTypeName(v string) *GetTaskOutput
SetTypeName sets the TypeName field's value.
func (GetTaskOutput) String ¶
func (s GetTaskOutput) String() string
String returns the string representation
type ListResourceTypesInput ¶
type ListResourceTypesInput struct {
MaxResults *int32 `type:"int32"`
NextToken *string `type:"string"`
// contains filtered or unexported fields
}
func (ListResourceTypesInput) GoString ¶
func (s ListResourceTypesInput) GoString() string
GoString returns the string representation
func (*ListResourceTypesInput) SetMaxResults ¶
func (s *ListResourceTypesInput) SetMaxResults(v int32) *ListResourceTypesInput
SetMaxResults sets the MaxResults field's value.
func (*ListResourceTypesInput) SetNextToken ¶
func (s *ListResourceTypesInput) SetNextToken(v string) *ListResourceTypesInput
SetNextToken sets the NextToken field's value.
func (ListResourceTypesInput) String ¶
func (s ListResourceTypesInput) String() string
String returns the string representation
type ListResourceTypesOutput ¶
type ListResourceTypesOutput struct {
Metadata *response.ResponseMetadata
NextToken *string `type:"string"`
TypeList []*TypeListForListResourceTypesOutput `type:"list"`
// contains filtered or unexported fields
}
func (ListResourceTypesOutput) GoString ¶
func (s ListResourceTypesOutput) GoString() string
GoString returns the string representation
func (*ListResourceTypesOutput) SetNextToken ¶
func (s *ListResourceTypesOutput) SetNextToken(v string) *ListResourceTypesOutput
SetNextToken sets the NextToken field's value.
func (*ListResourceTypesOutput) SetTypeList ¶
func (s *ListResourceTypesOutput) SetTypeList(v []*TypeListForListResourceTypesOutput) *ListResourceTypesOutput
SetTypeList sets the TypeList field's value.
func (ListResourceTypesOutput) String ¶
func (s ListResourceTypesOutput) String() string
String returns the string representation
type ListResourcesInput ¶
type ListResourcesInput struct {
Filter interface{} `type:"interface" json:",omitempty"`
MaxResults *int32 `type:"int32" json:",omitempty"`
NextToken *string `type:"string" json:",omitempty"`
// TypeName is a required field
TypeName *string `type:"string" json:",omitempty" required:"true"`
// contains filtered or unexported fields
}
func (ListResourcesInput) GoString ¶
func (s ListResourcesInput) GoString() string
GoString returns the string representation
func (*ListResourcesInput) SetFilter ¶
func (s *ListResourcesInput) SetFilter(v interface{}) *ListResourcesInput
SetFilter sets the Filter field's value.
func (*ListResourcesInput) SetMaxResults ¶
func (s *ListResourcesInput) SetMaxResults(v int32) *ListResourcesInput
SetMaxResults sets the MaxResults field's value.
func (*ListResourcesInput) SetNextToken ¶
func (s *ListResourcesInput) SetNextToken(v string) *ListResourcesInput
SetNextToken sets the NextToken field's value.
func (*ListResourcesInput) SetTypeName ¶
func (s *ListResourcesInput) SetTypeName(v string) *ListResourcesInput
SetTypeName sets the TypeName field's value.
func (ListResourcesInput) String ¶
func (s ListResourcesInput) String() string
String returns the string representation
func (*ListResourcesInput) Validate ¶
func (s *ListResourcesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResourcesOutput ¶
type ListResourcesOutput struct {
Metadata *response.ResponseMetadata
NextToken *string `type:"string" json:",omitempty"`
ResourceDescriptions []*ResourceDescriptionForListResourcesOutput `type:"list"`
TypeName *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (ListResourcesOutput) GoString ¶
func (s ListResourcesOutput) GoString() string
GoString returns the string representation
func (*ListResourcesOutput) SetNextToken ¶
func (s *ListResourcesOutput) SetNextToken(v string) *ListResourcesOutput
SetNextToken sets the NextToken field's value.
func (*ListResourcesOutput) SetResourceDescriptions ¶
func (s *ListResourcesOutput) SetResourceDescriptions(v []*ResourceDescriptionForListResourcesOutput) *ListResourcesOutput
SetResourceDescriptions sets the ResourceDescriptions field's value.
func (*ListResourcesOutput) SetTypeName ¶
func (s *ListResourcesOutput) SetTypeName(v string) *ListResourcesOutput
SetTypeName sets the TypeName field's value.
func (ListResourcesOutput) String ¶
func (s ListResourcesOutput) String() string
String returns the string representation
type ListTasksInput ¶
type ListTasksInput struct {
MaxResults *int32 `type:"int32" json:",omitempty"`
NextToken *string `type:"string" json:",omitempty"`
ResourceTaskStatusFilter *ResourceTaskStatusFilterForListTasksInput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (ListTasksInput) GoString ¶
func (s ListTasksInput) GoString() string
GoString returns the string representation
func (*ListTasksInput) SetMaxResults ¶
func (s *ListTasksInput) SetMaxResults(v int32) *ListTasksInput
SetMaxResults sets the MaxResults field's value.
func (*ListTasksInput) SetNextToken ¶
func (s *ListTasksInput) SetNextToken(v string) *ListTasksInput
SetNextToken sets the NextToken field's value.
func (*ListTasksInput) SetResourceTaskStatusFilter ¶
func (s *ListTasksInput) SetResourceTaskStatusFilter(v *ResourceTaskStatusFilterForListTasksInput) *ListTasksInput
SetResourceTaskStatusFilter sets the ResourceTaskStatusFilter field's value.
func (ListTasksInput) String ¶
func (s ListTasksInput) String() string
String returns the string representation
type ListTasksOutput ¶
type ListTasksOutput struct {
Metadata *response.ResponseMetadata
NextToken *string `type:"string" json:",omitempty"`
ResourceTaskStatusSummaries []*ResourceTaskStatusSummaryForListTasksOutput `type:"list"`
// contains filtered or unexported fields
}
func (ListTasksOutput) GoString ¶
func (s ListTasksOutput) GoString() string
GoString returns the string representation
func (*ListTasksOutput) SetNextToken ¶
func (s *ListTasksOutput) SetNextToken(v string) *ListTasksOutput
SetNextToken sets the NextToken field's value.
func (*ListTasksOutput) SetResourceTaskStatusSummaries ¶
func (s *ListTasksOutput) SetResourceTaskStatusSummaries(v []*ResourceTaskStatusSummaryForListTasksOutput) *ListTasksOutput
SetResourceTaskStatusSummaries sets the ResourceTaskStatusSummaries field's value.
func (ListTasksOutput) String ¶
func (s ListTasksOutput) String() string
String returns the string representation
type ResourceDescriptionForGetResourceOutput ¶
type ResourceDescriptionForGetResourceOutput struct {
Identifier *string `type:"string" json:",omitempty"`
Properties *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (ResourceDescriptionForGetResourceOutput) GoString ¶
func (s ResourceDescriptionForGetResourceOutput) GoString() string
GoString returns the string representation
func (*ResourceDescriptionForGetResourceOutput) SetIdentifier ¶
func (s *ResourceDescriptionForGetResourceOutput) SetIdentifier(v string) *ResourceDescriptionForGetResourceOutput
SetIdentifier sets the Identifier field's value.
func (*ResourceDescriptionForGetResourceOutput) SetProperties ¶
func (s *ResourceDescriptionForGetResourceOutput) SetProperties(v string) *ResourceDescriptionForGetResourceOutput
SetProperties sets the Properties field's value.
func (ResourceDescriptionForGetResourceOutput) String ¶
func (s ResourceDescriptionForGetResourceOutput) String() string
String returns the string representation
type ResourceDescriptionForListResourcesOutput ¶
type ResourceDescriptionForListResourcesOutput struct {
Identifier *string `type:"string" json:",omitempty"`
Properties *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (ResourceDescriptionForListResourcesOutput) GoString ¶
func (s ResourceDescriptionForListResourcesOutput) GoString() string
GoString returns the string representation
func (*ResourceDescriptionForListResourcesOutput) SetIdentifier ¶
func (s *ResourceDescriptionForListResourcesOutput) SetIdentifier(v string) *ResourceDescriptionForListResourcesOutput
SetIdentifier sets the Identifier field's value.
func (*ResourceDescriptionForListResourcesOutput) SetProperties ¶
func (s *ResourceDescriptionForListResourcesOutput) SetProperties(v string) *ResourceDescriptionForListResourcesOutput
SetProperties sets the Properties field's value.
func (ResourceDescriptionForListResourcesOutput) String ¶
func (s ResourceDescriptionForListResourcesOutput) String() string
String returns the string representation
type ResourceTaskStatusFilterForListTasksInput ¶
type ResourceTaskStatusFilterForListTasksInput struct {
TaskStatus []*string `type:"list"`
TaskType []*string `type:"list"`
// contains filtered or unexported fields
}
func (ResourceTaskStatusFilterForListTasksInput) GoString ¶
func (s ResourceTaskStatusFilterForListTasksInput) GoString() string
GoString returns the string representation
func (*ResourceTaskStatusFilterForListTasksInput) SetTaskStatus ¶
func (s *ResourceTaskStatusFilterForListTasksInput) SetTaskStatus(v []*string) *ResourceTaskStatusFilterForListTasksInput
SetTaskStatus sets the TaskStatus field's value.
func (*ResourceTaskStatusFilterForListTasksInput) SetTaskType ¶
func (s *ResourceTaskStatusFilterForListTasksInput) SetTaskType(v []*string) *ResourceTaskStatusFilterForListTasksInput
SetTaskType sets the TaskType field's value.
func (ResourceTaskStatusFilterForListTasksInput) String ¶
func (s ResourceTaskStatusFilterForListTasksInput) String() string
String returns the string representation
type ResourceTaskStatusSummaryForListTasksOutput ¶
type ResourceTaskStatusSummaryForListTasksOutput struct {
ErrorCode *string `type:"string" json:",omitempty"`
EventTime *string `type:"string" json:",omitempty"`
Identifier *string `type:"string" json:",omitempty"`
Operation *string `type:"string" json:",omitempty"`
OperationStatus *string `type:"string" json:",omitempty"`
ResourceModel *string `type:"string" json:",omitempty"`
StatusMessage *string `type:"string" json:",omitempty"`
TaskID *string `type:"string" json:",omitempty"`
TypeName *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (ResourceTaskStatusSummaryForListTasksOutput) GoString ¶
func (s ResourceTaskStatusSummaryForListTasksOutput) GoString() string
GoString returns the string representation
func (*ResourceTaskStatusSummaryForListTasksOutput) SetErrorCode ¶
func (s *ResourceTaskStatusSummaryForListTasksOutput) SetErrorCode(v string) *ResourceTaskStatusSummaryForListTasksOutput
SetErrorCode sets the ErrorCode field's value.
func (*ResourceTaskStatusSummaryForListTasksOutput) SetEventTime ¶
func (s *ResourceTaskStatusSummaryForListTasksOutput) SetEventTime(v string) *ResourceTaskStatusSummaryForListTasksOutput
SetEventTime sets the EventTime field's value.
func (*ResourceTaskStatusSummaryForListTasksOutput) SetIdentifier ¶
func (s *ResourceTaskStatusSummaryForListTasksOutput) SetIdentifier(v string) *ResourceTaskStatusSummaryForListTasksOutput
SetIdentifier sets the Identifier field's value.
func (*ResourceTaskStatusSummaryForListTasksOutput) SetOperation ¶
func (s *ResourceTaskStatusSummaryForListTasksOutput) SetOperation(v string) *ResourceTaskStatusSummaryForListTasksOutput
SetOperation sets the Operation field's value.
func (*ResourceTaskStatusSummaryForListTasksOutput) SetOperationStatus ¶
func (s *ResourceTaskStatusSummaryForListTasksOutput) SetOperationStatus(v string) *ResourceTaskStatusSummaryForListTasksOutput
SetOperationStatus sets the OperationStatus field's value.
func (*ResourceTaskStatusSummaryForListTasksOutput) SetResourceModel ¶
func (s *ResourceTaskStatusSummaryForListTasksOutput) SetResourceModel(v string) *ResourceTaskStatusSummaryForListTasksOutput
SetResourceModel sets the ResourceModel field's value.
func (*ResourceTaskStatusSummaryForListTasksOutput) SetStatusMessage ¶
func (s *ResourceTaskStatusSummaryForListTasksOutput) SetStatusMessage(v string) *ResourceTaskStatusSummaryForListTasksOutput
SetStatusMessage sets the StatusMessage field's value.
func (*ResourceTaskStatusSummaryForListTasksOutput) SetTaskID ¶
func (s *ResourceTaskStatusSummaryForListTasksOutput) SetTaskID(v string) *ResourceTaskStatusSummaryForListTasksOutput
SetTaskID sets the TaskID field's value.
func (*ResourceTaskStatusSummaryForListTasksOutput) SetTypeName ¶
func (s *ResourceTaskStatusSummaryForListTasksOutput) SetTypeName(v string) *ResourceTaskStatusSummaryForListTasksOutput
SetTypeName sets the TypeName field's value.
func (ResourceTaskStatusSummaryForListTasksOutput) String ¶
func (s ResourceTaskStatusSummaryForListTasksOutput) String() string
String returns the string representation
type TypeListForListResourceTypesOutput ¶
type TypeListForListResourceTypesOutput struct {
Description *string `type:"string"`
PublisherName *string `type:"string"`
Trn *string `type:"string"`
TypeName *string `type:"string"`
Visibility *string `type:"string"`
// contains filtered or unexported fields
}
func (TypeListForListResourceTypesOutput) GoString ¶
func (s TypeListForListResourceTypesOutput) GoString() string
GoString returns the string representation
func (*TypeListForListResourceTypesOutput) SetDescription ¶
func (s *TypeListForListResourceTypesOutput) SetDescription(v string) *TypeListForListResourceTypesOutput
SetDescription sets the Description field's value.
func (*TypeListForListResourceTypesOutput) SetPublisherName ¶
func (s *TypeListForListResourceTypesOutput) SetPublisherName(v string) *TypeListForListResourceTypesOutput
SetPublisherName sets the PublisherName field's value.
func (*TypeListForListResourceTypesOutput) SetTrn ¶
func (s *TypeListForListResourceTypesOutput) SetTrn(v string) *TypeListForListResourceTypesOutput
SetTrn sets the Trn field's value.
func (*TypeListForListResourceTypesOutput) SetTypeName ¶
func (s *TypeListForListResourceTypesOutput) SetTypeName(v string) *TypeListForListResourceTypesOutput
SetTypeName sets the TypeName field's value.
func (*TypeListForListResourceTypesOutput) SetVisibility ¶
func (s *TypeListForListResourceTypesOutput) SetVisibility(v string) *TypeListForListResourceTypesOutput
SetVisibility sets the Visibility field's value.
func (TypeListForListResourceTypesOutput) String ¶
func (s TypeListForListResourceTypesOutput) String() string
String returns the string representation
type UpdateResourceInput ¶
type UpdateResourceInput struct {
ClientToken *string `type:"string" json:",omitempty"`
// Identifier is a required field
Identifier *string `type:"string" json:",omitempty" required:"true"`
PatchDocument []interface{} `type:"list"`
// TypeName is a required field
TypeName *string `type:"string" json:",omitempty" required:"true"`
// contains filtered or unexported fields
}
func (UpdateResourceInput) GoString ¶
func (s UpdateResourceInput) GoString() string
GoString returns the string representation
func (*UpdateResourceInput) SetClientToken ¶
func (s *UpdateResourceInput) SetClientToken(v string) *UpdateResourceInput
SetClientToken sets the ClientToken field's value.
func (*UpdateResourceInput) SetIdentifier ¶
func (s *UpdateResourceInput) SetIdentifier(v string) *UpdateResourceInput
SetIdentifier sets the Identifier field's value.
func (*UpdateResourceInput) SetPatchDocument ¶
func (s *UpdateResourceInput) SetPatchDocument(v []interface{}) *UpdateResourceInput
SetPatchDocument sets the PatchDocument field's value.
func (*UpdateResourceInput) SetTypeName ¶
func (s *UpdateResourceInput) SetTypeName(v string) *UpdateResourceInput
SetTypeName sets the TypeName field's value.
func (UpdateResourceInput) String ¶
func (s UpdateResourceInput) String() string
String returns the string representation
func (*UpdateResourceInput) Validate ¶
func (s *UpdateResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateResourceOutput ¶
type UpdateResourceOutput struct {
Metadata *response.ResponseMetadata
ErrorCode *string `type:"string" json:",omitempty"`
EventTime *string `type:"string" json:",omitempty"`
Identifier *string `type:"string" json:",omitempty"`
Operation *string `type:"string" json:",omitempty"`
OperationStatus *string `type:"string" json:",omitempty"`
ResourceModel *string `type:"string" json:",omitempty"`
StatusMessage *string `type:"string" json:",omitempty"`
TaskID *string `type:"string" json:",omitempty"`
TypeName *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (UpdateResourceOutput) GoString ¶
func (s UpdateResourceOutput) GoString() string
GoString returns the string representation
func (*UpdateResourceOutput) SetErrorCode ¶
func (s *UpdateResourceOutput) SetErrorCode(v string) *UpdateResourceOutput
SetErrorCode sets the ErrorCode field's value.
func (*UpdateResourceOutput) SetEventTime ¶
func (s *UpdateResourceOutput) SetEventTime(v string) *UpdateResourceOutput
SetEventTime sets the EventTime field's value.
func (*UpdateResourceOutput) SetIdentifier ¶
func (s *UpdateResourceOutput) SetIdentifier(v string) *UpdateResourceOutput
SetIdentifier sets the Identifier field's value.
func (*UpdateResourceOutput) SetOperation ¶
func (s *UpdateResourceOutput) SetOperation(v string) *UpdateResourceOutput
SetOperation sets the Operation field's value.
func (*UpdateResourceOutput) SetOperationStatus ¶
func (s *UpdateResourceOutput) SetOperationStatus(v string) *UpdateResourceOutput
SetOperationStatus sets the OperationStatus field's value.
func (*UpdateResourceOutput) SetResourceModel ¶
func (s *UpdateResourceOutput) SetResourceModel(v string) *UpdateResourceOutput
SetResourceModel sets the ResourceModel field's value.
func (*UpdateResourceOutput) SetStatusMessage ¶
func (s *UpdateResourceOutput) SetStatusMessage(v string) *UpdateResourceOutput
SetStatusMessage sets the StatusMessage field's value.
func (*UpdateResourceOutput) SetTaskID ¶
func (s *UpdateResourceOutput) SetTaskID(v string) *UpdateResourceOutput
SetTaskID sets the TaskID field's value.
func (*UpdateResourceOutput) SetTypeName ¶
func (s *UpdateResourceOutput) SetTypeName(v string) *UpdateResourceOutput
SetTypeName sets the TypeName field's value.
func (UpdateResourceOutput) String ¶
func (s UpdateResourceOutput) String() string
String returns the string representation