Documentation
¶
Index ¶
- Constants
- type Monitorv4
- func (c *Monitorv4) AddAlarmReceives(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Monitorv4) AddAlarmReceivesRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Monitorv4) AddAlarmReceivesWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Monitorv4) DeleteAlarmReceives(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Monitorv4) DeleteAlarmReceivesRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Monitorv4) DeleteAlarmReceivesWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Monitorv4) DescribeAlarmPolicy(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Monitorv4) DescribeAlarmPolicyRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Monitorv4) DescribeAlarmPolicyWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Monitorv4) DescribeAlarmReceives(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Monitorv4) DescribeAlarmReceivesRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Monitorv4) DescribeAlarmReceivesWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Monitorv4) DescribePolicyObject(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Monitorv4) DescribePolicyObjectRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Monitorv4) DescribePolicyObjectWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Monitorv4) GetAlertUser(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Monitorv4) GetAlertUserRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Monitorv4) GetAlertUserWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Monitorv4) GetUserGroup(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Monitorv4) GetUserGroupRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Monitorv4) GetUserGroupWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Monitorv4) ListAlarmPolicy(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Monitorv4) ListAlarmPolicyRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Monitorv4) ListAlarmPolicyWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *Monitorv4) UpdateAlertUserStatus(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *Monitorv4) UpdateAlertUserStatusRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *Monitorv4) UpdateAlertUserStatusWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
Constants ¶
const ( ServiceName = "monitor" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "monitor" // ServiceID is a unique identifer of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitorv4 ¶
Monitorv4 provides the API operation methods for making requests to monitorv4. See this package's package overview docs for details on the service.
Monitorv4 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 ...*aws.Config) *Monitorv4
New creates a new instance of the Monitorv4 client with a session. If additional configuration is needed for the client instance use the optional ksc.Config parameter to add your extra config.
Example:
// Create a Monitorv4 client from just a session. svc := monitorv4.New(mySession) // Create a Monitorv4 client with additional configuration svc := monitorv4.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*Monitorv4) AddAlarmReceives ¶
func (c *Monitorv4) AddAlarmReceives(input *map[string]interface{}) (*map[string]interface{}, error)
AddAlarmReceives API operation for monitorv4.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the KSC API reference guide for monitorv4's API operation AddAlarmReceives for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/AddAlarmReceives
func (*Monitorv4) AddAlarmReceivesRequest ¶
func (c *Monitorv4) AddAlarmReceivesRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
AddAlarmReceivesRequest generates a "ksc/request.Request" representing the client's request for the AddAlarmReceives operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AddAlarmReceives for more information on using the AddAlarmReceives API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AddAlarmReceivesRequest method. req, resp := client.AddAlarmReceivesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/AddAlarmReceives
func (*Monitorv4) AddAlarmReceivesWithContext ¶
func (c *Monitorv4) AddAlarmReceivesWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
AddAlarmReceivesWithContext is the same as AddAlarmReceives with the addition of the ability to pass a context and additional request options.
See AddAlarmReceives 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 (*Monitorv4) DeleteAlarmReceives ¶
func (c *Monitorv4) DeleteAlarmReceives(input *map[string]interface{}) (*map[string]interface{}, error)
DeleteAlarmReceives API operation for monitorv4.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the KSC API reference guide for monitorv4's API operation DeleteAlarmReceives for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/DeleteAlarmReceives
func (*Monitorv4) DeleteAlarmReceivesRequest ¶
func (c *Monitorv4) DeleteAlarmReceivesRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DeleteAlarmReceivesRequest generates a "ksc/request.Request" representing the client's request for the DeleteAlarmReceives operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteAlarmReceives for more information on using the DeleteAlarmReceives API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteAlarmReceivesRequest method. req, resp := client.DeleteAlarmReceivesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/DeleteAlarmReceives
func (*Monitorv4) DeleteAlarmReceivesWithContext ¶
func (c *Monitorv4) DeleteAlarmReceivesWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DeleteAlarmReceivesWithContext is the same as DeleteAlarmReceives with the addition of the ability to pass a context and additional request options.
See DeleteAlarmReceives 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 (*Monitorv4) DescribeAlarmPolicy ¶
func (c *Monitorv4) DescribeAlarmPolicy(input *map[string]interface{}) (*map[string]interface{}, error)
DescribeAlarmPolicy API operation for monitorv4.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the KSC API reference guide for monitorv4's API operation DescribeAlarmPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/DescribeAlarmPolicy
func (*Monitorv4) DescribeAlarmPolicyRequest ¶
func (c *Monitorv4) DescribeAlarmPolicyRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribeAlarmPolicyRequest generates a "ksc/request.Request" representing the client's request for the DescribeAlarmPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeAlarmPolicy for more information on using the DescribeAlarmPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeAlarmPolicyRequest method. req, resp := client.DescribeAlarmPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/DescribeAlarmPolicy
func (*Monitorv4) DescribeAlarmPolicyWithContext ¶
func (c *Monitorv4) DescribeAlarmPolicyWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribeAlarmPolicyWithContext is the same as DescribeAlarmPolicy with the addition of the ability to pass a context and additional request options.
See DescribeAlarmPolicy 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 (*Monitorv4) DescribeAlarmReceives ¶
func (c *Monitorv4) DescribeAlarmReceives(input *map[string]interface{}) (*map[string]interface{}, error)
DescribeAlarmReceives API operation for monitorv4.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the KSC API reference guide for monitorv4's API operation DescribeAlarmReceives for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/DescribeAlarmReceives
func (*Monitorv4) DescribeAlarmReceivesRequest ¶
func (c *Monitorv4) DescribeAlarmReceivesRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribeAlarmReceivesRequest generates a "ksc/request.Request" representing the client's request for the DescribeAlarmReceives operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeAlarmReceives for more information on using the DescribeAlarmReceives API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeAlarmReceivesRequest method. req, resp := client.DescribeAlarmReceivesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/DescribeAlarmReceives
func (*Monitorv4) DescribeAlarmReceivesWithContext ¶
func (c *Monitorv4) DescribeAlarmReceivesWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribeAlarmReceivesWithContext is the same as DescribeAlarmReceives with the addition of the ability to pass a context and additional request options.
See DescribeAlarmReceives 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 (*Monitorv4) DescribePolicyObject ¶
func (c *Monitorv4) DescribePolicyObject(input *map[string]interface{}) (*map[string]interface{}, error)
DescribePolicyObject API operation for monitorv4.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the KSC API reference guide for monitorv4's API operation DescribePolicyObject for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/DescribePolicyObject
func (*Monitorv4) DescribePolicyObjectRequest ¶
func (c *Monitorv4) DescribePolicyObjectRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribePolicyObjectRequest generates a "ksc/request.Request" representing the client's request for the DescribePolicyObject operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribePolicyObject for more information on using the DescribePolicyObject API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribePolicyObjectRequest method. req, resp := client.DescribePolicyObjectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/DescribePolicyObject
func (*Monitorv4) DescribePolicyObjectWithContext ¶
func (c *Monitorv4) DescribePolicyObjectWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribePolicyObjectWithContext is the same as DescribePolicyObject with the addition of the ability to pass a context and additional request options.
See DescribePolicyObject 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 (*Monitorv4) GetAlertUser ¶
GetAlertUser API operation for monitorv4.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the KSC API reference guide for monitorv4's API operation GetAlertUser for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/GetAlertUser
func (*Monitorv4) GetAlertUserRequest ¶
func (c *Monitorv4) GetAlertUserRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
GetAlertUserRequest generates a "ksc/request.Request" representing the client's request for the GetAlertUser operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetAlertUser for more information on using the GetAlertUser API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetAlertUserRequest method. req, resp := client.GetAlertUserRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/GetAlertUser
func (*Monitorv4) GetAlertUserWithContext ¶
func (c *Monitorv4) GetAlertUserWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
GetAlertUserWithContext is the same as GetAlertUser with the addition of the ability to pass a context and additional request options.
See GetAlertUser 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 (*Monitorv4) GetUserGroup ¶
GetUserGroup API operation for monitorv4.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the KSC API reference guide for monitorv4's API operation GetUserGroup for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/GetUserGroup
func (*Monitorv4) GetUserGroupRequest ¶
func (c *Monitorv4) GetUserGroupRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
GetUserGroupRequest generates a "ksc/request.Request" representing the client's request for the GetUserGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetUserGroup for more information on using the GetUserGroup API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetUserGroupRequest method. req, resp := client.GetUserGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/GetUserGroup
func (*Monitorv4) GetUserGroupWithContext ¶
func (c *Monitorv4) GetUserGroupWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
GetUserGroupWithContext is the same as GetUserGroup with the addition of the ability to pass a context and additional request options.
See GetUserGroup 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 (*Monitorv4) ListAlarmPolicy ¶
ListAlarmPolicy API operation for monitorv4.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the KSC API reference guide for monitorv4's API operation ListAlarmPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/ListAlarmPolicy
func (*Monitorv4) ListAlarmPolicyRequest ¶
func (c *Monitorv4) ListAlarmPolicyRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ListAlarmPolicyRequest generates a "ksc/request.Request" representing the client's request for the ListAlarmPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListAlarmPolicy for more information on using the ListAlarmPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListAlarmPolicyRequest method. req, resp := client.ListAlarmPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/ListAlarmPolicy
func (*Monitorv4) ListAlarmPolicyWithContext ¶
func (c *Monitorv4) ListAlarmPolicyWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ListAlarmPolicyWithContext is the same as ListAlarmPolicy with the addition of the ability to pass a context and additional request options.
See ListAlarmPolicy 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 (*Monitorv4) UpdateAlertUserStatus ¶
func (c *Monitorv4) UpdateAlertUserStatus(input *map[string]interface{}) (*map[string]interface{}, error)
UpdateAlertUserStatus API operation for monitorv4.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the KSC API reference guide for monitorv4's API operation UpdateAlertUserStatus for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/UpdateAlertUserStatus
func (*Monitorv4) UpdateAlertUserStatusRequest ¶
func (c *Monitorv4) UpdateAlertUserStatusRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
UpdateAlertUserStatusRequest generates a "ksc/request.Request" representing the client's request for the UpdateAlertUserStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateAlertUserStatus for more information on using the UpdateAlertUserStatus API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateAlertUserStatusRequest method. req, resp := client.UpdateAlertUserStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/monitor-2021-01-01/UpdateAlertUserStatus
func (*Monitorv4) UpdateAlertUserStatusWithContext ¶
func (c *Monitorv4) UpdateAlertUserStatusWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
UpdateAlertUserStatusWithContext is the same as UpdateAlertUserStatus with the addition of the ability to pass a context and additional request options.
See UpdateAlertUserStatus 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.
Directories
¶
Path | Synopsis |
---|---|
Package monitorv4iface provides an interface to enable mocking the monitorv4 service client for testing your code.
|
Package monitorv4iface provides an interface to enable mocking the monitorv4 service client for testing your code. |