Documentation ¶
Index ¶
- type BackoffRetryPolicy
- type BackoffRetryPolicyPolicyTypeEnum
- type ChangeCompartmentDetails
- type ChangeSubscriptionCompartmentRequest
- type ChangeSubscriptionCompartmentResponse
- type ChangeTopicCompartmentRequest
- type ChangeTopicCompartmentResponse
- type ConfirmationResult
- type CreateSubscriptionDetails
- type CreateSubscriptionRequest
- type CreateSubscriptionResponse
- type CreateTopicDetails
- type CreateTopicRequest
- type CreateTopicResponse
- type DeleteSubscriptionRequest
- type DeleteSubscriptionResponse
- type DeleteTopicRequest
- type DeleteTopicResponse
- type DeliveryPolicy
- type GetConfirmSubscriptionRequest
- type GetConfirmSubscriptionResponse
- type GetSubscriptionRequest
- type GetSubscriptionResponse
- type GetTopicRequest
- type GetTopicResponse
- type GetUnsubscriptionRequest
- type GetUnsubscriptionResponse
- type ListSubscriptionsRequest
- type ListSubscriptionsResponse
- type ListTopicsRequest
- type ListTopicsResponse
- type ListTopicsSortByEnum
- type ListTopicsSortOrderEnum
- type MessageDetails
- type NotificationControlPlaneClient
- func (client NotificationControlPlaneClient) ChangeTopicCompartment(ctx context.Context, request ChangeTopicCompartmentRequest) (response ChangeTopicCompartmentResponse, err error)
- func (client *NotificationControlPlaneClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client NotificationControlPlaneClient) CreateTopic(ctx context.Context, request CreateTopicRequest) (response CreateTopicResponse, err error)
- func (client NotificationControlPlaneClient) DeleteTopic(ctx context.Context, request DeleteTopicRequest) (response DeleteTopicResponse, err error)
- func (client NotificationControlPlaneClient) GetTopic(ctx context.Context, request GetTopicRequest) (response GetTopicResponse, err error)
- func (client NotificationControlPlaneClient) ListTopics(ctx context.Context, request ListTopicsRequest) (response ListTopicsResponse, err error)
- func (client *NotificationControlPlaneClient) SetRegion(region string)
- func (client NotificationControlPlaneClient) UpdateTopic(ctx context.Context, request UpdateTopicRequest) (response UpdateTopicResponse, err error)
- type NotificationDataPlaneClient
- func (client NotificationDataPlaneClient) ChangeSubscriptionCompartment(ctx context.Context, request ChangeSubscriptionCompartmentRequest) (response ChangeSubscriptionCompartmentResponse, err error)
- func (client *NotificationDataPlaneClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client NotificationDataPlaneClient) CreateSubscription(ctx context.Context, request CreateSubscriptionRequest) (response CreateSubscriptionResponse, err error)
- func (client NotificationDataPlaneClient) DeleteSubscription(ctx context.Context, request DeleteSubscriptionRequest) (response DeleteSubscriptionResponse, err error)
- func (client NotificationDataPlaneClient) GetConfirmSubscription(ctx context.Context, request GetConfirmSubscriptionRequest) (response GetConfirmSubscriptionResponse, err error)
- func (client NotificationDataPlaneClient) GetSubscription(ctx context.Context, request GetSubscriptionRequest) (response GetSubscriptionResponse, err error)
- func (client NotificationDataPlaneClient) GetUnsubscription(ctx context.Context, request GetUnsubscriptionRequest) (response GetUnsubscriptionResponse, err error)
- func (client NotificationDataPlaneClient) ListSubscriptions(ctx context.Context, request ListSubscriptionsRequest) (response ListSubscriptionsResponse, err error)
- func (client NotificationDataPlaneClient) PublishMessage(ctx context.Context, request PublishMessageRequest) (response PublishMessageResponse, err error)
- func (client NotificationDataPlaneClient) ResendSubscriptionConfirmation(ctx context.Context, request ResendSubscriptionConfirmationRequest) (response ResendSubscriptionConfirmationResponse, err error)
- func (client *NotificationDataPlaneClient) SetRegion(region string)
- func (client NotificationDataPlaneClient) UpdateSubscription(ctx context.Context, request UpdateSubscriptionRequest) (response UpdateSubscriptionResponse, err error)
- type NotificationTopic
- type NotificationTopicLifecycleStateEnum
- type NotificationTopicSummary
- type NotificationTopicSummaryLifecycleStateEnum
- type PublishMessageMessageTypeEnum
- type PublishMessageRequest
- type PublishMessageResponse
- type PublishResult
- type ResendSubscriptionConfirmationRequest
- type ResendSubscriptionConfirmationResponse
- type Subscription
- type SubscriptionLifecycleStateEnum
- type SubscriptionSummary
- type SubscriptionSummaryLifecycleStateEnum
- type TopicAttributesDetails
- type UpdateSubscriptionDetails
- type UpdateSubscriptionRequest
- type UpdateSubscriptionResponse
- type UpdateTopicRequest
- type UpdateTopicResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackoffRetryPolicy ¶
type BackoffRetryPolicy struct { // The maximum retry duration in milliseconds. Default value is `7200000` (2 hours). MaxRetryDuration *int `mandatory:"true" json:"maxRetryDuration"` // The type of delivery policy. PolicyType BackoffRetryPolicyPolicyTypeEnum `mandatory:"true" json:"policyType"` }
BackoffRetryPolicy The backoff retry portion of the subscription delivery policy.
func (BackoffRetryPolicy) String ¶
func (m BackoffRetryPolicy) String() string
type BackoffRetryPolicyPolicyTypeEnum ¶
type BackoffRetryPolicyPolicyTypeEnum string
BackoffRetryPolicyPolicyTypeEnum Enum with underlying type: string
const (
BackoffRetryPolicyPolicyTypeExponential BackoffRetryPolicyPolicyTypeEnum = "EXPONENTIAL"
)
Set of constants representing the allowable values for BackoffRetryPolicyPolicyTypeEnum
func GetBackoffRetryPolicyPolicyTypeEnumValues ¶
func GetBackoffRetryPolicyPolicyTypeEnumValues() []BackoffRetryPolicyPolicyTypeEnum
GetBackoffRetryPolicyPolicyTypeEnumValues Enumerates the set of values for BackoffRetryPolicyPolicyTypeEnum
type ChangeCompartmentDetails ¶
type ChangeCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the specified topic // or subscription to. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeCompartmentDetails The configuration details for the move operation.
func (ChangeCompartmentDetails) String ¶
func (m ChangeCompartmentDetails) String() string
type ChangeSubscriptionCompartmentRequest ¶
type ChangeSubscriptionCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription to move. SubscriptionId *string `mandatory:"true" contributesTo:"path" name:"subscriptionId"` // The configuration details for the move operation. ChangeSubscriptionCompartmentDetails ChangeCompartmentDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before that due to conflicting operations (for example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Used for optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` // parameter to the value of the etag from a previous GET or POST response for that resource. The resource // will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ChangeSubscriptionCompartmentRequest wrapper for the ChangeSubscriptionCompartment operation
func (ChangeSubscriptionCompartmentRequest) HTTPRequest ¶
func (request ChangeSubscriptionCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeSubscriptionCompartmentRequest) RetryPolicy ¶
func (request ChangeSubscriptionCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeSubscriptionCompartmentRequest) String ¶
func (request ChangeSubscriptionCompartmentRequest) String() string
type ChangeSubscriptionCompartmentResponse ¶
type ChangeSubscriptionCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
ChangeSubscriptionCompartmentResponse wrapper for the ChangeSubscriptionCompartment operation
func (ChangeSubscriptionCompartmentResponse) HTTPResponse ¶
func (response ChangeSubscriptionCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeSubscriptionCompartmentResponse) String ¶
func (response ChangeSubscriptionCompartmentResponse) String() string
type ChangeTopicCompartmentRequest ¶
type ChangeTopicCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to move. TopicId *string `mandatory:"true" contributesTo:"path" name:"topicId"` // The configuration details for the move operation. ChangeTopicCompartmentDetails ChangeCompartmentDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before that due to conflicting operations (for example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Used for optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` // parameter to the value of the etag from a previous GET or POST response for that resource. The resource // will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ChangeTopicCompartmentRequest wrapper for the ChangeTopicCompartment operation
func (ChangeTopicCompartmentRequest) HTTPRequest ¶
func (request ChangeTopicCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeTopicCompartmentRequest) RetryPolicy ¶
func (request ChangeTopicCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeTopicCompartmentRequest) String ¶
func (request ChangeTopicCompartmentRequest) String() string
type ChangeTopicCompartmentResponse ¶
type ChangeTopicCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
ChangeTopicCompartmentResponse wrapper for the ChangeTopicCompartment operation
func (ChangeTopicCompartmentResponse) HTTPResponse ¶
func (response ChangeTopicCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeTopicCompartmentResponse) String ¶
func (response ChangeTopicCompartmentResponse) String() string
type ConfirmationResult ¶
type ConfirmationResult struct { // The name of the subscribed topic. TopicName *string `mandatory:"true" json:"topicName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic associated with the specified subscription. TopicId *string `mandatory:"true" json:"topicId"` // The endpoint of the subscription. Valid values depend on the protocol. // For EMAIL, only an email address is valid. For HTTPS, only a PagerDuty URL is valid. A URL cannot exceed 512 characters. Endpoint *string `mandatory:"true" json:"endpoint"` // The URL for unsubscribing from the topic. UnsubscribeUrl *string `mandatory:"true" json:"unsubscribeUrl"` // A human-readable string indicating the status of the subscription confirmation. Message *string `mandatory:"true" json:"message"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription specified in the request. SubscriptionId *string `mandatory:"false" json:"subscriptionId"` }
ConfirmationResult The confirmation details for the specified subscription.
func (ConfirmationResult) String ¶
func (m ConfirmationResult) String() string
type CreateSubscriptionDetails ¶
type CreateSubscriptionDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic for the subscription. TopicId *string `mandatory:"true" json:"topicId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the subscription. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The protocol to use for delivering messages. Valid values: EMAIL, HTTPS. Protocol *string `mandatory:"true" json:"protocol"` // The endpoint of the subscription. Valid values depend on the protocol. // For EMAIL, only an email address is valid. For HTTPS, only a PagerDuty URL is valid. A URL cannot exceed 512 characters. // Avoid entering confidential information. Endpoint *string `mandatory:"true" json:"endpoint"` // Metadata for the subscription. Avoid entering confidential information. Metadata *string `mandatory:"false" json:"metadata"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateSubscriptionDetails The configuration details for creating the subscription.
func (CreateSubscriptionDetails) String ¶
func (m CreateSubscriptionDetails) String() string
type CreateSubscriptionRequest ¶
type CreateSubscriptionRequest struct { // The subscription to create. CreateSubscriptionDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before that due to conflicting operations (for example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateSubscriptionRequest wrapper for the CreateSubscription operation
func (CreateSubscriptionRequest) HTTPRequest ¶
func (request CreateSubscriptionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateSubscriptionRequest) RetryPolicy ¶
func (request CreateSubscriptionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateSubscriptionRequest) String ¶
func (request CreateSubscriptionRequest) String() string
type CreateSubscriptionResponse ¶
type CreateSubscriptionResponse struct { // The underlying http response RawResponse *http.Response // The Subscription instance Subscription `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
CreateSubscriptionResponse wrapper for the CreateSubscription operation
func (CreateSubscriptionResponse) HTTPResponse ¶
func (response CreateSubscriptionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateSubscriptionResponse) String ¶
func (response CreateSubscriptionResponse) String() string
type CreateTopicDetails ¶
type CreateTopicDetails struct { // The name of the topic being created. The topic name must be unique across the tenancy. Avoid entering confidential information. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the topic in. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The description of the topic being created. Avoid entering confidential information. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateTopicDetails The configuration details for creating the topic.
func (CreateTopicDetails) String ¶
func (m CreateTopicDetails) String() string
type CreateTopicRequest ¶
type CreateTopicRequest struct { // The topic to create. CreateTopicDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before that due to conflicting operations (for example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateTopicRequest wrapper for the CreateTopic operation
func (CreateTopicRequest) HTTPRequest ¶
func (request CreateTopicRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateTopicRequest) RetryPolicy ¶
func (request CreateTopicRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateTopicRequest) String ¶
func (request CreateTopicRequest) String() string
type CreateTopicResponse ¶
type CreateTopicResponse struct { // The underlying http response RawResponse *http.Response // The NotificationTopic instance NotificationTopic `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
CreateTopicResponse wrapper for the CreateTopic operation
func (CreateTopicResponse) HTTPResponse ¶
func (response CreateTopicResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateTopicResponse) String ¶
func (response CreateTopicResponse) String() string
type DeleteSubscriptionRequest ¶
type DeleteSubscriptionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription to delete. SubscriptionId *string `mandatory:"true" contributesTo:"path" name:"subscriptionId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Used for optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` // parameter to the value of the etag from a previous GET or POST response for that resource. The resource // will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeleteSubscriptionRequest wrapper for the DeleteSubscription operation
func (DeleteSubscriptionRequest) HTTPRequest ¶
func (request DeleteSubscriptionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteSubscriptionRequest) RetryPolicy ¶
func (request DeleteSubscriptionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteSubscriptionRequest) String ¶
func (request DeleteSubscriptionRequest) String() string
type DeleteSubscriptionResponse ¶
type DeleteSubscriptionResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
DeleteSubscriptionResponse wrapper for the DeleteSubscription operation
func (DeleteSubscriptionResponse) HTTPResponse ¶
func (response DeleteSubscriptionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteSubscriptionResponse) String ¶
func (response DeleteSubscriptionResponse) String() string
type DeleteTopicRequest ¶
type DeleteTopicRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to delete. TopicId *string `mandatory:"true" contributesTo:"path" name:"topicId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Used for optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` // parameter to the value of the etag from a previous GET or POST response for that resource. The resource // will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeleteTopicRequest wrapper for the DeleteTopic operation
func (DeleteTopicRequest) HTTPRequest ¶
func (request DeleteTopicRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteTopicRequest) RetryPolicy ¶
func (request DeleteTopicRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteTopicRequest) String ¶
func (request DeleteTopicRequest) String() string
type DeleteTopicResponse ¶
type DeleteTopicResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
DeleteTopicResponse wrapper for the DeleteTopic operation
func (DeleteTopicResponse) HTTPResponse ¶
func (response DeleteTopicResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteTopicResponse) String ¶
func (response DeleteTopicResponse) String() string
type DeliveryPolicy ¶
type DeliveryPolicy struct {
BackoffRetryPolicy *BackoffRetryPolicy `mandatory:"false" json:"backoffRetryPolicy"`
}
DeliveryPolicy The subscription delivery policy.
func (DeliveryPolicy) String ¶
func (m DeliveryPolicy) String() string
type GetConfirmSubscriptionRequest ¶
type GetConfirmSubscriptionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription to get the confirmation details for. Id *string `mandatory:"true" contributesTo:"path" name:"id"` // The subscription confirmation token. Token *string `mandatory:"true" contributesTo:"query" name:"token"` // The subscription protocol. Valid values: EMAIL, HTTPS. Protocol *string `mandatory:"true" contributesTo:"query" name:"protocol"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetConfirmSubscriptionRequest wrapper for the GetConfirmSubscription operation
func (GetConfirmSubscriptionRequest) HTTPRequest ¶
func (request GetConfirmSubscriptionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetConfirmSubscriptionRequest) RetryPolicy ¶
func (request GetConfirmSubscriptionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetConfirmSubscriptionRequest) String ¶
func (request GetConfirmSubscriptionRequest) String() string
type GetConfirmSubscriptionResponse ¶
type GetConfirmSubscriptionResponse struct { // The underlying http response RawResponse *http.Response // The ConfirmationResult instance ConfirmationResult `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
GetConfirmSubscriptionResponse wrapper for the GetConfirmSubscription operation
func (GetConfirmSubscriptionResponse) HTTPResponse ¶
func (response GetConfirmSubscriptionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetConfirmSubscriptionResponse) String ¶
func (response GetConfirmSubscriptionResponse) String() string
type GetSubscriptionRequest ¶
type GetSubscriptionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription to retrieve. SubscriptionId *string `mandatory:"true" contributesTo:"path" name:"subscriptionId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetSubscriptionRequest wrapper for the GetSubscription operation
func (GetSubscriptionRequest) HTTPRequest ¶
func (request GetSubscriptionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetSubscriptionRequest) RetryPolicy ¶
func (request GetSubscriptionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetSubscriptionRequest) String ¶
func (request GetSubscriptionRequest) String() string
type GetSubscriptionResponse ¶
type GetSubscriptionResponse struct { // The underlying http response RawResponse *http.Response // The Subscription instance Subscription `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
GetSubscriptionResponse wrapper for the GetSubscription operation
func (GetSubscriptionResponse) HTTPResponse ¶
func (response GetSubscriptionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetSubscriptionResponse) String ¶
func (response GetSubscriptionResponse) String() string
type GetTopicRequest ¶
type GetTopicRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to retrieve. // Transactions Per Minute (TPM) per-tenancy limit for this operation: 120. TopicId *string `mandatory:"true" contributesTo:"path" name:"topicId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetTopicRequest wrapper for the GetTopic operation
func (GetTopicRequest) HTTPRequest ¶
func (request GetTopicRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetTopicRequest) RetryPolicy ¶
func (request GetTopicRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetTopicRequest) String ¶
func (request GetTopicRequest) String() string
type GetTopicResponse ¶
type GetTopicResponse struct { // The underlying http response RawResponse *http.Response // The NotificationTopic instance NotificationTopic `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
GetTopicResponse wrapper for the GetTopic operation
func (GetTopicResponse) HTTPResponse ¶
func (response GetTopicResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetTopicResponse) String ¶
func (response GetTopicResponse) String() string
type GetUnsubscriptionRequest ¶
type GetUnsubscriptionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription to unsubscribe from. Id *string `mandatory:"true" contributesTo:"path" name:"id"` // The subscription confirmation token. Token *string `mandatory:"true" contributesTo:"query" name:"token"` // The subscription protocol. Valid values: EMAIL, HTTPS. Protocol *string `mandatory:"true" contributesTo:"query" name:"protocol"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetUnsubscriptionRequest wrapper for the GetUnsubscription operation
func (GetUnsubscriptionRequest) HTTPRequest ¶
func (request GetUnsubscriptionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetUnsubscriptionRequest) RetryPolicy ¶
func (request GetUnsubscriptionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetUnsubscriptionRequest) String ¶
func (request GetUnsubscriptionRequest) String() string
type GetUnsubscriptionResponse ¶
type GetUnsubscriptionResponse struct { // The underlying http response RawResponse *http.Response // The string instance Value *string `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetUnsubscriptionResponse wrapper for the GetUnsubscription operation
func (GetUnsubscriptionResponse) HTTPResponse ¶
func (response GetUnsubscriptionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetUnsubscriptionResponse) String ¶
func (response GetUnsubscriptionResponse) String() string
type ListSubscriptionsRequest ¶
type ListSubscriptionsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Return all subscriptions that are subscribed to the given topic OCID. Either this query parameter or the compartmentId query parameter must be set. TopicId *string `mandatory:"false" contributesTo:"query" name:"topicId"` // For list pagination. The value of the opc-next-page response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListSubscriptionsRequest wrapper for the ListSubscriptions operation
func (ListSubscriptionsRequest) HTTPRequest ¶
func (request ListSubscriptionsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListSubscriptionsRequest) RetryPolicy ¶
func (request ListSubscriptionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListSubscriptionsRequest) String ¶
func (request ListSubscriptionsRequest) String() string
type ListSubscriptionsResponse ¶
type ListSubscriptionsResponse struct { // The underlying http response RawResponse *http.Response // A list of []SubscriptionSummary instances Items []SubscriptionSummary `presentIn:"body"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. Default value: 10. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListSubscriptionsResponse wrapper for the ListSubscriptions operation
func (ListSubscriptionsResponse) HTTPResponse ¶
func (response ListSubscriptionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListSubscriptionsResponse) String ¶
func (response ListSubscriptionsResponse) String() string
type ListTopicsRequest ¶
type ListTopicsRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to only return resources that match the given id exactly. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // A filter to only return resources that match the given name exactly. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // For list pagination. The value of the opc-next-page response header from the previous "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one field can be selected for sorting. SortBy ListTopicsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use (ascending or descending). SortOrder ListTopicsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Filter returned list by specified lifecycle state. This parameter is case-insensitive. LifecycleState NotificationTopicSummaryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListTopicsRequest wrapper for the ListTopics operation
func (ListTopicsRequest) HTTPRequest ¶
func (request ListTopicsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListTopicsRequest) RetryPolicy ¶
func (request ListTopicsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListTopicsRequest) String ¶
func (request ListTopicsRequest) String() string
type ListTopicsResponse ¶
type ListTopicsResponse struct { // The underlying http response RawResponse *http.Response // A list of []NotificationTopicSummary instances Items []NotificationTopicSummary `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListTopicsResponse wrapper for the ListTopics operation
func (ListTopicsResponse) HTTPResponse ¶
func (response ListTopicsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListTopicsResponse) String ¶
func (response ListTopicsResponse) String() string
type ListTopicsSortByEnum ¶
type ListTopicsSortByEnum string
ListTopicsSortByEnum Enum with underlying type: string
const ( ListTopicsSortByTimecreated ListTopicsSortByEnum = "TIMECREATED" ListTopicsSortByLifecyclestate ListTopicsSortByEnum = "LIFECYCLESTATE" )
Set of constants representing the allowable values for ListTopicsSortByEnum
func GetListTopicsSortByEnumValues ¶
func GetListTopicsSortByEnumValues() []ListTopicsSortByEnum
GetListTopicsSortByEnumValues Enumerates the set of values for ListTopicsSortByEnum
type ListTopicsSortOrderEnum ¶
type ListTopicsSortOrderEnum string
ListTopicsSortOrderEnum Enum with underlying type: string
const ( ListTopicsSortOrderAsc ListTopicsSortOrderEnum = "ASC" ListTopicsSortOrderDesc ListTopicsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListTopicsSortOrderEnum
func GetListTopicsSortOrderEnumValues ¶
func GetListTopicsSortOrderEnumValues() []ListTopicsSortOrderEnum
GetListTopicsSortOrderEnumValues Enumerates the set of values for ListTopicsSortOrderEnum
type MessageDetails ¶
type MessageDetails struct { // The body of the message to be published. // For `messageType` of JSON, a default key-value pair is required. Example: `{"default": "Alarm breached", "Email": "Alarm breached: <url>"}.` // Avoid entering confidential information. Body *string `mandatory:"true" json:"body"` // The title of the message to be published. Avoid entering confidential information. Title *string `mandatory:"false" json:"title"` }
MessageDetails The content of the message to be published.
func (MessageDetails) String ¶
func (m MessageDetails) String() string
type NotificationControlPlaneClient ¶
type NotificationControlPlaneClient struct { common.BaseClient // contains filtered or unexported fields }
NotificationControlPlaneClient a client for NotificationControlPlane
func NewNotificationControlPlaneClientWithConfigurationProvider ¶
func NewNotificationControlPlaneClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client NotificationControlPlaneClient, err error)
NewNotificationControlPlaneClientWithConfigurationProvider Creates a new default NotificationControlPlane client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func (NotificationControlPlaneClient) ChangeTopicCompartment ¶
func (client NotificationControlPlaneClient) ChangeTopicCompartment(ctx context.Context, request ChangeTopicCompartmentRequest) (response ChangeTopicCompartmentResponse, err error)
ChangeTopicCompartment Moves a topic into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
func (*NotificationControlPlaneClient) ConfigurationProvider ¶
func (client *NotificationControlPlaneClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (NotificationControlPlaneClient) CreateTopic ¶
func (client NotificationControlPlaneClient) CreateTopic(ctx context.Context, request CreateTopicRequest) (response CreateTopicResponse, err error)
CreateTopic Creates a topic in the specified compartment. For general information about topics, see Managing Topics and Subscriptions (https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm). For the purposes of access control, you must provide the OCID of the compartment where you want the topic to reside. For information about access control and compartments, see Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). You must specify a display name for the topic. All Oracle Cloud Infrastructure resources, including topics, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the resource in the Console. For more information, see Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
func (NotificationControlPlaneClient) DeleteTopic ¶
func (client NotificationControlPlaneClient) DeleteTopic(ctx context.Context, request DeleteTopicRequest) (response DeleteTopicResponse, err error)
DeleteTopic Deletes the specified topic. Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
func (NotificationControlPlaneClient) GetTopic ¶
func (client NotificationControlPlaneClient) GetTopic(ctx context.Context, request GetTopicRequest) (response GetTopicResponse, err error)
GetTopic Gets the specified topic's configuration information.
func (NotificationControlPlaneClient) ListTopics ¶
func (client NotificationControlPlaneClient) ListTopics(ctx context.Context, request ListTopicsRequest) (response ListTopicsResponse, err error)
ListTopics Lists topics in the specified compartment. Transactions Per Minute (TPM) per-tenancy limit for this operation: 120.
func (*NotificationControlPlaneClient) SetRegion ¶
func (client *NotificationControlPlaneClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (NotificationControlPlaneClient) UpdateTopic ¶
func (client NotificationControlPlaneClient) UpdateTopic(ctx context.Context, request UpdateTopicRequest) (response UpdateTopicResponse, err error)
UpdateTopic Updates the specified topic's configuration. Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
type NotificationDataPlaneClient ¶
type NotificationDataPlaneClient struct { common.BaseClient // contains filtered or unexported fields }
NotificationDataPlaneClient a client for NotificationDataPlane
func NewNotificationDataPlaneClientWithConfigurationProvider ¶
func NewNotificationDataPlaneClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client NotificationDataPlaneClient, err error)
NewNotificationDataPlaneClientWithConfigurationProvider Creates a new default NotificationDataPlane client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func (NotificationDataPlaneClient) ChangeSubscriptionCompartment ¶
func (client NotificationDataPlaneClient) ChangeSubscriptionCompartment(ctx context.Context, request ChangeSubscriptionCompartmentRequest) (response ChangeSubscriptionCompartmentResponse, err error)
ChangeSubscriptionCompartment Moves a subscription into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
func (*NotificationDataPlaneClient) ConfigurationProvider ¶
func (client *NotificationDataPlaneClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (NotificationDataPlaneClient) CreateSubscription ¶
func (client NotificationDataPlaneClient) CreateSubscription(ctx context.Context, request CreateSubscriptionRequest) (response CreateSubscriptionResponse, err error)
CreateSubscription Creates a subscription for the specified topic. Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
func (NotificationDataPlaneClient) DeleteSubscription ¶
func (client NotificationDataPlaneClient) DeleteSubscription(ctx context.Context, request DeleteSubscriptionRequest) (response DeleteSubscriptionResponse, err error)
DeleteSubscription Deletes the specified subscription. Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
func (NotificationDataPlaneClient) GetConfirmSubscription ¶
func (client NotificationDataPlaneClient) GetConfirmSubscription(ctx context.Context, request GetConfirmSubscriptionRequest) (response GetConfirmSubscriptionResponse, err error)
GetConfirmSubscription Gets the confirmation details for the specified subscription. Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
func (NotificationDataPlaneClient) GetSubscription ¶
func (client NotificationDataPlaneClient) GetSubscription(ctx context.Context, request GetSubscriptionRequest) (response GetSubscriptionResponse, err error)
GetSubscription Gets the specified subscription's configuration information. Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
func (NotificationDataPlaneClient) GetUnsubscription ¶
func (client NotificationDataPlaneClient) GetUnsubscription(ctx context.Context, request GetUnsubscriptionRequest) (response GetUnsubscriptionResponse, err error)
GetUnsubscription Gets the unsubscription details for the specified subscription. Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
func (NotificationDataPlaneClient) ListSubscriptions ¶
func (client NotificationDataPlaneClient) ListSubscriptions(ctx context.Context, request ListSubscriptionsRequest) (response ListSubscriptionsResponse, err error)
ListSubscriptions Lists the subscriptions in the specified compartment or topic. Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
func (NotificationDataPlaneClient) PublishMessage ¶
func (client NotificationDataPlaneClient) PublishMessage(ctx context.Context, request PublishMessageRequest) (response PublishMessageResponse, err error)
PublishMessage Publishes a message to the specified topic. Limits information follows. Message size limit per request: 64KB. Message delivery rate limit per endpoint: 60 messages per minute for HTTPS (PagerDuty) protocol, 10 messages per minute for Email protocol. Transactions Per Minute (TPM) per-tenancy limit for this operation: 60 per topic. For more information about publishing messages, see Publishing Messages (https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/publishingmessages.htm).
func (NotificationDataPlaneClient) ResendSubscriptionConfirmation ¶
func (client NotificationDataPlaneClient) ResendSubscriptionConfirmation(ctx context.Context, request ResendSubscriptionConfirmationRequest) (response ResendSubscriptionConfirmationResponse, err error)
ResendSubscriptionConfirmation Resends the confirmation details for the specified subscription. Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
func (*NotificationDataPlaneClient) SetRegion ¶
func (client *NotificationDataPlaneClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (NotificationDataPlaneClient) UpdateSubscription ¶
func (client NotificationDataPlaneClient) UpdateSubscription(ctx context.Context, request UpdateSubscriptionRequest) (response UpdateSubscriptionResponse, err error)
UpdateSubscription Updates the specified subscription's configuration. Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
type NotificationTopic ¶
type NotificationTopic struct { // The name of the topic. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic. TopicId *string `mandatory:"true" json:"topicId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the topic. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The lifecycle state of the topic. LifecycleState NotificationTopicLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The time the topic was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The endpoint for managing topic subscriptions or publishing messages to the topic. ApiEndpoint *string `mandatory:"true" json:"apiEndpoint"` // The description of the topic. Description *string `mandatory:"false" json:"description"` // For optimistic concurrency control. See `if-match`. Etag *string `mandatory:"false" json:"etag"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
NotificationTopic The properties that define a topic.
func (NotificationTopic) String ¶
func (m NotificationTopic) String() string
type NotificationTopicLifecycleStateEnum ¶
type NotificationTopicLifecycleStateEnum string
NotificationTopicLifecycleStateEnum Enum with underlying type: string
const ( NotificationTopicLifecycleStateActive NotificationTopicLifecycleStateEnum = "ACTIVE" NotificationTopicLifecycleStateDeleting NotificationTopicLifecycleStateEnum = "DELETING" NotificationTopicLifecycleStateCreating NotificationTopicLifecycleStateEnum = "CREATING" )
Set of constants representing the allowable values for NotificationTopicLifecycleStateEnum
func GetNotificationTopicLifecycleStateEnumValues ¶
func GetNotificationTopicLifecycleStateEnumValues() []NotificationTopicLifecycleStateEnum
GetNotificationTopicLifecycleStateEnumValues Enumerates the set of values for NotificationTopicLifecycleStateEnum
type NotificationTopicSummary ¶
type NotificationTopicSummary struct { // The name of the topic. Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic. TopicId *string `mandatory:"true" json:"topicId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the topic. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The lifecycle state of the topic. LifecycleState NotificationTopicSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The time the topic was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The endpoint for managing topic subscriptions or publishing messages to the topic. ApiEndpoint *string `mandatory:"true" json:"apiEndpoint"` // The description of the topic. Description *string `mandatory:"false" json:"description"` // For optimistic concurrency control. See `if-match`. Etag *string `mandatory:"false" json:"etag"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
NotificationTopicSummary A summary of the properties that define a topic.
func (NotificationTopicSummary) String ¶
func (m NotificationTopicSummary) String() string
type NotificationTopicSummaryLifecycleStateEnum ¶
type NotificationTopicSummaryLifecycleStateEnum string
NotificationTopicSummaryLifecycleStateEnum Enum with underlying type: string
const ( NotificationTopicSummaryLifecycleStateActive NotificationTopicSummaryLifecycleStateEnum = "ACTIVE" NotificationTopicSummaryLifecycleStateDeleting NotificationTopicSummaryLifecycleStateEnum = "DELETING" NotificationTopicSummaryLifecycleStateCreating NotificationTopicSummaryLifecycleStateEnum = "CREATING" )
Set of constants representing the allowable values for NotificationTopicSummaryLifecycleStateEnum
func GetNotificationTopicSummaryLifecycleStateEnumValues ¶
func GetNotificationTopicSummaryLifecycleStateEnumValues() []NotificationTopicSummaryLifecycleStateEnum
GetNotificationTopicSummaryLifecycleStateEnumValues Enumerates the set of values for NotificationTopicSummaryLifecycleStateEnum
type PublishMessageMessageTypeEnum ¶
type PublishMessageMessageTypeEnum string
PublishMessageMessageTypeEnum Enum with underlying type: string
const ( PublishMessageMessageTypeJson PublishMessageMessageTypeEnum = "JSON" PublishMessageMessageTypeRawText PublishMessageMessageTypeEnum = "RAW_TEXT" )
Set of constants representing the allowable values for PublishMessageMessageTypeEnum
func GetPublishMessageMessageTypeEnumValues ¶
func GetPublishMessageMessageTypeEnumValues() []PublishMessageMessageTypeEnum
GetPublishMessageMessageTypeEnumValues Enumerates the set of values for PublishMessageMessageTypeEnum
type PublishMessageRequest ¶
type PublishMessageRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic. TopicId *string `mandatory:"true" contributesTo:"path" name:"topicId"` // The message to publish. MessageDetails `contributesTo:"body"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Type of message body in the request. MessageType PublishMessageMessageTypeEnum `mandatory:"false" contributesTo:"header" name:"messageType"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
PublishMessageRequest wrapper for the PublishMessage operation
func (PublishMessageRequest) HTTPRequest ¶
func (request PublishMessageRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (PublishMessageRequest) RetryPolicy ¶
func (request PublishMessageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (PublishMessageRequest) String ¶
func (request PublishMessageRequest) String() string
type PublishMessageResponse ¶
type PublishMessageResponse struct { // The underlying http response RawResponse *http.Response // The PublishResult instance PublishResult `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
PublishMessageResponse wrapper for the PublishMessage operation
func (PublishMessageResponse) HTTPResponse ¶
func (response PublishMessageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (PublishMessageResponse) String ¶
func (response PublishMessageResponse) String() string
type PublishResult ¶
type PublishResult struct { // The UUID of the message. MessageId *string `mandatory:"true" json:"messageId"` // The time that the service received the message. TimeStamp *common.SDKTime `mandatory:"false" json:"timeStamp"` }
PublishResult The response to a PublishMessage call.
func (PublishResult) String ¶
func (m PublishResult) String() string
type ResendSubscriptionConfirmationRequest ¶
type ResendSubscriptionConfirmationRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription to resend the confirmation for. Id *string `mandatory:"true" contributesTo:"path" name:"id"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ResendSubscriptionConfirmationRequest wrapper for the ResendSubscriptionConfirmation operation
func (ResendSubscriptionConfirmationRequest) HTTPRequest ¶
func (request ResendSubscriptionConfirmationRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ResendSubscriptionConfirmationRequest) RetryPolicy ¶
func (request ResendSubscriptionConfirmationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ResendSubscriptionConfirmationRequest) String ¶
func (request ResendSubscriptionConfirmationRequest) String() string
type ResendSubscriptionConfirmationResponse ¶
type ResendSubscriptionConfirmationResponse struct { // The underlying http response RawResponse *http.Response // The Subscription instance Subscription `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ResendSubscriptionConfirmationResponse wrapper for the ResendSubscriptionConfirmation operation
func (ResendSubscriptionConfirmationResponse) HTTPResponse ¶
func (response ResendSubscriptionConfirmationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ResendSubscriptionConfirmationResponse) String ¶
func (response ResendSubscriptionConfirmationResponse) String() string
type Subscription ¶
type Subscription struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated topic. TopicId *string `mandatory:"true" json:"topicId"` Protocol *string `mandatory:"true" json:"protocol"` // The endpoint of the subscription. Valid values depend on the protocol. // For EMAIL, only an email address is valid. For HTTPS, only a PagerDuty URL is valid. A URL cannot exceed 512 characters. Endpoint *string `mandatory:"true" json:"endpoint"` // The lifecycle state of the subscription. The status of a new subscription is PENDING; when confirmed, the subscription status changes to ACTIVE. LifecycleState SubscriptionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the subscription. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The time when this suscription was created. CreatedTime *int64 `mandatory:"false" json:"createdTime"` // The delivery policy of the subscription. Stored as a JSON string. DeliverPolicy *string `mandatory:"false" json:"deliverPolicy"` // For optimistic concurrency control. See `if-match`. Etag *string `mandatory:"false" json:"etag"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
Subscription The subscription's configuration.
func (Subscription) String ¶
func (m Subscription) String() string
type SubscriptionLifecycleStateEnum ¶
type SubscriptionLifecycleStateEnum string
SubscriptionLifecycleStateEnum Enum with underlying type: string
const ( SubscriptionLifecycleStatePending SubscriptionLifecycleStateEnum = "PENDING" SubscriptionLifecycleStateActive SubscriptionLifecycleStateEnum = "ACTIVE" SubscriptionLifecycleStateDeleted SubscriptionLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for SubscriptionLifecycleStateEnum
func GetSubscriptionLifecycleStateEnumValues ¶
func GetSubscriptionLifecycleStateEnumValues() []SubscriptionLifecycleStateEnum
GetSubscriptionLifecycleStateEnumValues Enumerates the set of values for SubscriptionLifecycleStateEnum
type SubscriptionSummary ¶
type SubscriptionSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated topic. TopicId *string `mandatory:"true" json:"topicId"` // The protocol used for the subscription. Valid values: EMAIL, HTTPS. Protocol *string `mandatory:"true" json:"protocol"` // The endpoint of the subscription. Valid values depend on the protocol. // For EMAIL, only an email address is valid. For HTTPS, only a PagerDuty URL is valid. A URL cannot exceed 512 characters. Endpoint *string `mandatory:"true" json:"endpoint"` // The lifecycle state of the subscription. The status of a new subscription is PENDING; when confirmed, the subscription status changes to ACTIVE. LifecycleState SubscriptionSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the subscription. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The time when this suscription was created. CreatedTime *int64 `mandatory:"false" json:"createdTime"` DeliveryPolicy *DeliveryPolicy `mandatory:"false" json:"deliveryPolicy"` // For optimistic concurrency control. See `if-match`. Etag *string `mandatory:"false" json:"etag"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
SubscriptionSummary The subscription's configuration summary.
func (SubscriptionSummary) String ¶
func (m SubscriptionSummary) String() string
type SubscriptionSummaryLifecycleStateEnum ¶
type SubscriptionSummaryLifecycleStateEnum string
SubscriptionSummaryLifecycleStateEnum Enum with underlying type: string
const ( SubscriptionSummaryLifecycleStatePending SubscriptionSummaryLifecycleStateEnum = "PENDING" SubscriptionSummaryLifecycleStateActive SubscriptionSummaryLifecycleStateEnum = "ACTIVE" SubscriptionSummaryLifecycleStateDeleted SubscriptionSummaryLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for SubscriptionSummaryLifecycleStateEnum
func GetSubscriptionSummaryLifecycleStateEnumValues ¶
func GetSubscriptionSummaryLifecycleStateEnumValues() []SubscriptionSummaryLifecycleStateEnum
GetSubscriptionSummaryLifecycleStateEnumValues Enumerates the set of values for SubscriptionSummaryLifecycleStateEnum
type TopicAttributesDetails ¶
type TopicAttributesDetails struct { // The description of the topic. Avoid entering confidential information. Description *string `mandatory:"true" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
TopicAttributesDetails The configuration details for updating the topic.
func (TopicAttributesDetails) String ¶
func (m TopicAttributesDetails) String() string
type UpdateSubscriptionDetails ¶
type UpdateSubscriptionDetails struct { // The delivery policy of the subscription. Stored as a JSON string. DeliveryPolicy *DeliveryPolicy `mandatory:"false" json:"deliveryPolicy"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateSubscriptionDetails The configuration details for updating the subscription.
func (UpdateSubscriptionDetails) String ¶
func (m UpdateSubscriptionDetails) String() string
type UpdateSubscriptionRequest ¶
type UpdateSubscriptionRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription to update. SubscriptionId *string `mandatory:"true" contributesTo:"path" name:"subscriptionId"` // The configuration details for updating the subscription. UpdateSubscriptionDetails `contributesTo:"body"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Used for optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` // parameter to the value of the etag from a previous GET or POST response for that resource. The resource // will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateSubscriptionRequest wrapper for the UpdateSubscription operation
func (UpdateSubscriptionRequest) HTTPRequest ¶
func (request UpdateSubscriptionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateSubscriptionRequest) RetryPolicy ¶
func (request UpdateSubscriptionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateSubscriptionRequest) String ¶
func (request UpdateSubscriptionRequest) String() string
type UpdateSubscriptionResponse ¶
type UpdateSubscriptionResponse struct { // The underlying http response RawResponse *http.Response // The UpdateSubscriptionDetails instance UpdateSubscriptionDetails `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
UpdateSubscriptionResponse wrapper for the UpdateSubscription operation
func (UpdateSubscriptionResponse) HTTPResponse ¶
func (response UpdateSubscriptionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateSubscriptionResponse) String ¶
func (response UpdateSubscriptionResponse) String() string
type UpdateTopicRequest ¶
type UpdateTopicRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to update. TopicId *string `mandatory:"true" contributesTo:"path" name:"topicId"` // TopicAttributes TopicAttributesDetails `contributesTo:"body"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Used for optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` // parameter to the value of the etag from a previous GET or POST response for that resource. The resource // will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateTopicRequest wrapper for the UpdateTopic operation
func (UpdateTopicRequest) HTTPRequest ¶
func (request UpdateTopicRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateTopicRequest) RetryPolicy ¶
func (request UpdateTopicRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateTopicRequest) String ¶
func (request UpdateTopicRequest) String() string
type UpdateTopicResponse ¶
type UpdateTopicResponse struct { // The underlying http response RawResponse *http.Response // The NotificationTopic instance NotificationTopic `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
UpdateTopicResponse wrapper for the UpdateTopic operation
func (UpdateTopicResponse) HTTPResponse ¶
func (response UpdateTopicResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateTopicResponse) String ¶
func (response UpdateTopicResponse) String() string
Source Files ¶
- backoff_retry_policy.go
- change_compartment_details.go
- change_subscription_compartment_request_response.go
- change_topic_compartment_request_response.go
- confirmation_result.go
- create_subscription_details.go
- create_subscription_request_response.go
- create_topic_details.go
- create_topic_request_response.go
- delete_subscription_request_response.go
- delete_topic_request_response.go
- delivery_policy.go
- get_confirm_subscription_request_response.go
- get_subscription_request_response.go
- get_topic_request_response.go
- get_unsubscription_request_response.go
- list_subscriptions_request_response.go
- list_topics_request_response.go
- message_details.go
- notification_topic.go
- notification_topic_summary.go
- ons_notificationcontrolplane_client.go
- ons_notificationdataplane_client.go
- publish_message_request_response.go
- publish_result.go
- resend_subscription_confirmation_request_response.go
- subscription.go
- subscription_summary.go
- topic_attributes_details.go
- update_subscription_details.go
- update_subscription_request_response.go
- update_topic_request_response.go