oci-go-sdk: github.com/oracle/oci-go-sdk/ons Index | Files

package ons

import "github.com/oracle/oci-go-sdk/ons"

Index

Package 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

type BackoffRetryPolicy Uses

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. For information about retry durations for subscriptions, see How Notifications Works (https://docs.cloud.oracle.com/iaas/Content/Notification/Concepts/notificationoverview.htm#how).

func (BackoffRetryPolicy) String Uses

func (m BackoffRetryPolicy) String() string

type BackoffRetryPolicyPolicyTypeEnum Uses

type BackoffRetryPolicyPolicyTypeEnum string

BackoffRetryPolicyPolicyTypeEnum Enum with underlying type: string

const (
    BackoffRetryPolicyPolicyTypeExponential BackoffRetryPolicyPolicyTypeEnum = "EXPONENTIAL"
)

Set of constants representing the allowable values for BackoffRetryPolicyPolicyTypeEnum

func GetBackoffRetryPolicyPolicyTypeEnumValues Uses

func GetBackoffRetryPolicyPolicyTypeEnumValues() []BackoffRetryPolicyPolicyTypeEnum

GetBackoffRetryPolicyPolicyTypeEnumValues Enumerates the set of values for BackoffRetryPolicyPolicyTypeEnum

type ChangeCompartmentDetails Uses

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 Uses

func (m ChangeCompartmentDetails) String() string

type ChangeSubscriptionCompartmentRequest Uses

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 Uses

func (request ChangeSubscriptionCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeSubscriptionCompartmentRequest) RetryPolicy Uses

func (request ChangeSubscriptionCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeSubscriptionCompartmentRequest) String Uses

func (request ChangeSubscriptionCompartmentRequest) String() string

type ChangeSubscriptionCompartmentResponse Uses

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"`
}

ChangeSubscriptionCompartmentResponse wrapper for the ChangeSubscriptionCompartment operation

func (ChangeSubscriptionCompartmentResponse) HTTPResponse Uses

func (response ChangeSubscriptionCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeSubscriptionCompartmentResponse) String Uses

func (response ChangeSubscriptionCompartmentResponse) String() string

type ChangeTopicCompartmentRequest Uses

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 Uses

func (request ChangeTopicCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeTopicCompartmentRequest) RetryPolicy Uses

func (request ChangeTopicCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeTopicCompartmentRequest) String Uses

func (request ChangeTopicCompartmentRequest) String() string

type ChangeTopicCompartmentResponse Uses

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"`
}

ChangeTopicCompartmentResponse wrapper for the ChangeTopicCompartment operation

func (ChangeTopicCompartmentResponse) HTTPResponse Uses

func (response ChangeTopicCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeTopicCompartmentResponse) String Uses

func (response ChangeTopicCompartmentResponse) String() string

type ConfirmationResult Uses

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"`

    // A locator that corresponds to the subscription protocol.
    // For example, an email address for a subscription that uses the `EMAIL` protocol, or a URL for a subscription that uses an HTTP-based protocol.
    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:"true" json:"subscriptionId"`
}

ConfirmationResult The confirmation details for the specified subscription. For information about confirming subscriptions, see To confirm a subscription (https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#confirmSub).

func (ConfirmationResult) String Uses

func (m ConfirmationResult) String() string

type CreateSubscriptionDetails Uses

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 used for the subscription.
    // Allowed values:
    //   * `CUSTOM_HTTPS`
    //   * `EMAIL`
    //   * `HTTPS` (deprecated; for PagerDuty endpoints, use `PAGERDUTY`)
    //   * `PAGERDUTY`
    //   * `SLACK`
    //   * `ORACLE_FUNCTIONS`
    // For information about subscription protocols, see
    // To create a subscription (https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#createSub).
    Protocol *string `mandatory:"true" json:"protocol"`

    // A locator that corresponds to the subscription protocol.
    // For example, an email address for a subscription that uses the `EMAIL` protocol, or a URL for a subscription that uses an HTTP-based protocol.
    // HTTP-based protocols use URL endpoints that begin with "http:" or "https:".
    // A URL cannot exceed 512 characters.
    // Avoid entering confidential information.
    // For protocol-specific endpoint formats and steps to get or create endpoints, see
    // To create a subscription (https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#createSub).
    Endpoint *string `mandatory:"true" json:"endpoint"`

    // Metadata for the subscription.
    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 Uses

func (m CreateSubscriptionDetails) String() string

type CreateSubscriptionRequest Uses

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 Uses

func (request CreateSubscriptionRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateSubscriptionRequest) RetryPolicy Uses

func (request CreateSubscriptionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateSubscriptionRequest) String Uses

func (request CreateSubscriptionRequest) String() string

type CreateSubscriptionResponse Uses

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 Uses

func (response CreateSubscriptionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateSubscriptionResponse) String Uses

func (response CreateSubscriptionResponse) String() string

type CreateTopicDetails Uses

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 Uses

func (m CreateTopicDetails) String() string

type CreateTopicRequest Uses

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 Uses

func (request CreateTopicRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateTopicRequest) RetryPolicy Uses

func (request CreateTopicRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateTopicRequest) String Uses

func (request CreateTopicRequest) String() string

type CreateTopicResponse Uses

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 Uses

func (response CreateTopicResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateTopicResponse) String Uses

func (response CreateTopicResponse) String() string

type DeleteSubscriptionRequest Uses

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 Uses

func (request DeleteSubscriptionRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteSubscriptionRequest) RetryPolicy Uses

func (request DeleteSubscriptionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteSubscriptionRequest) String Uses

func (request DeleteSubscriptionRequest) String() string

type DeleteSubscriptionResponse Uses

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 Uses

func (response DeleteSubscriptionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteSubscriptionResponse) String Uses

func (response DeleteSubscriptionResponse) String() string

type DeleteTopicRequest Uses

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 Uses

func (request DeleteTopicRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteTopicRequest) RetryPolicy Uses

func (request DeleteTopicRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteTopicRequest) String Uses

func (request DeleteTopicRequest) String() string

type DeleteTopicResponse Uses

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 Uses

func (response DeleteTopicResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteTopicResponse) String Uses

func (response DeleteTopicResponse) String() string

type DeliveryPolicy Uses

type DeliveryPolicy struct {
    BackoffRetryPolicy *BackoffRetryPolicy `mandatory:"false" json:"backoffRetryPolicy"`
}

DeliveryPolicy The subscription delivery policy.

func (DeliveryPolicy) String Uses

func (m DeliveryPolicy) String() string

type GetConfirmSubscriptionRequest Uses

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 protocol used for the subscription.
    // Allowed values:
    //   * `CUSTOM_HTTPS`
    //   * `EMAIL`
    //   * `HTTPS` (deprecated; for PagerDuty endpoints, use `PAGERDUTY`)
    //   * `PAGERDUTY`
    //   * `SLACK`
    //   * `ORACLE_FUNCTIONS`
    // For information about subscription protocols, see
    // To create a subscription (https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#createSub).
    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 Uses

func (request GetConfirmSubscriptionRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetConfirmSubscriptionRequest) RetryPolicy Uses

func (request GetConfirmSubscriptionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetConfirmSubscriptionRequest) String Uses

func (request GetConfirmSubscriptionRequest) String() string

type GetConfirmSubscriptionResponse Uses

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 Uses

func (response GetConfirmSubscriptionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetConfirmSubscriptionResponse) String Uses

func (response GetConfirmSubscriptionResponse) String() string

type GetSubscriptionRequest Uses

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 Uses

func (request GetSubscriptionRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSubscriptionRequest) RetryPolicy Uses

func (request GetSubscriptionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSubscriptionRequest) String Uses

func (request GetSubscriptionRequest) String() string

type GetSubscriptionResponse Uses

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 Uses

func (response GetSubscriptionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSubscriptionResponse) String Uses

func (response GetSubscriptionResponse) String() string

type GetTopicRequest Uses

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 Uses

func (request GetTopicRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTopicRequest) RetryPolicy Uses

func (request GetTopicRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTopicRequest) String Uses

func (request GetTopicRequest) String() string

type GetTopicResponse Uses

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 Uses

func (response GetTopicResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetTopicResponse) String Uses

func (response GetTopicResponse) String() string

type GetUnsubscriptionRequest Uses

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 protocol used for the subscription.
    // Allowed values:
    //   * `CUSTOM_HTTPS`
    //   * `EMAIL`
    //   * `HTTPS` (deprecated; for PagerDuty endpoints, use `PAGERDUTY`)
    //   * `PAGERDUTY`
    //   * `SLACK`
    //   * `ORACLE_FUNCTIONS`
    // For information about subscription protocols, see
    // To create a subscription (https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#createSub).
    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 Uses

func (request GetUnsubscriptionRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetUnsubscriptionRequest) RetryPolicy Uses

func (request GetUnsubscriptionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetUnsubscriptionRequest) String Uses

func (request GetUnsubscriptionRequest) String() string

type GetUnsubscriptionResponse Uses

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 Uses

func (response GetUnsubscriptionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetUnsubscriptionResponse) String Uses

func (response GetUnsubscriptionResponse) String() string

type ListSubscriptionsRequest Uses

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 Uses

func (request ListSubscriptionsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSubscriptionsRequest) RetryPolicy Uses

func (request ListSubscriptionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSubscriptionsRequest) String Uses

func (request ListSubscriptionsRequest) String() string

type ListSubscriptionsResponse Uses

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 Uses

func (response ListSubscriptionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSubscriptionsResponse) String Uses

func (response ListSubscriptionsResponse) String() string

type ListTopicsRequest Uses

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 Uses

func (request ListTopicsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTopicsRequest) RetryPolicy Uses

func (request ListTopicsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTopicsRequest) String Uses

func (request ListTopicsRequest) String() string

type ListTopicsResponse Uses

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 Uses

func (response ListTopicsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTopicsResponse) String Uses

func (response ListTopicsResponse) String() string

type ListTopicsSortByEnum Uses

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 Uses

func GetListTopicsSortByEnumValues() []ListTopicsSortByEnum

GetListTopicsSortByEnumValues Enumerates the set of values for ListTopicsSortByEnum

type ListTopicsSortOrderEnum Uses

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 Uses

func GetListTopicsSortOrderEnumValues() []ListTopicsSortOrderEnum

GetListTopicsSortOrderEnumValues Enumerates the set of values for ListTopicsSortOrderEnum

type MessageDetails Uses

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 Uses

func (m MessageDetails) String() string

type NotificationControlPlaneClient Uses

type NotificationControlPlaneClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

NotificationControlPlaneClient a client for NotificationControlPlane

func NewNotificationControlPlaneClientWithConfigurationProvider Uses

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 NewNotificationControlPlaneClientWithOboToken Uses

func NewNotificationControlPlaneClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client NotificationControlPlaneClient, err error)

NewNotificationControlPlaneClientWithOboToken Creates a new default NotificationControlPlane client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (NotificationControlPlaneClient) ChangeTopicCompartment Uses

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 Uses

func (client *NotificationControlPlaneClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (NotificationControlPlaneClient) CreateTopic Uses

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 Uses

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 Uses

func (client NotificationControlPlaneClient) GetTopic(ctx context.Context, request GetTopicRequest) (response GetTopicResponse, err error)

GetTopic Gets the specified topic's configuration information.

func (NotificationControlPlaneClient) ListTopics Uses

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 Uses

func (client *NotificationControlPlaneClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (NotificationControlPlaneClient) UpdateTopic Uses

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 Uses

type NotificationDataPlaneClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

NotificationDataPlaneClient a client for NotificationDataPlane

func NewNotificationDataPlaneClientWithConfigurationProvider Uses

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 NewNotificationDataPlaneClientWithOboToken Uses

func NewNotificationDataPlaneClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client NotificationDataPlaneClient, err error)

NewNotificationDataPlaneClientWithOboToken Creates a new default NotificationDataPlane client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (NotificationDataPlaneClient) ChangeSubscriptionCompartment Uses

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 Uses

func (client *NotificationDataPlaneClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (NotificationDataPlaneClient) CreateSubscription Uses

func (client NotificationDataPlaneClient) CreateSubscription(ctx context.Context, request CreateSubscriptionRequest) (response CreateSubscriptionResponse, err error)

CreateSubscription Creates a subscription for the specified topic and sends a subscription confirmation URL to the endpoint. The subscription remains in "Pending" status until it has been confirmed. For information about confirming subscriptions, see To confirm a subscription (https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#confirmSub). Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.

func (NotificationDataPlaneClient) DeleteSubscription Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (client NotificationDataPlaneClient) PublishMessage(ctx context.Context, request PublishMessageRequest) (response PublishMessageResponse, err error)

PublishMessage Publishes a message to the specified topic. The topic endpoint is required for this operation. To get the topic endpoint, use GetTopic and review the `apiEndpoint` value in the response (NotificationTopic). Limits information follows. Message size limit per request: 64KB. Message delivery rate limit per endpoint: 60 messages per minute for HTTP-based protocols, 10 messages per minute for the `EMAIL` protocol. HTTP-based protocols use URL endpoints that begin with "http:" or "https:". 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). For steps to request a limit increase, see Requesting a Service Limit Increase (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm#three).

func (NotificationDataPlaneClient) ResendSubscriptionConfirmation Uses

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 Uses

func (client *NotificationDataPlaneClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (NotificationDataPlaneClient) UpdateSubscription Uses

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 Uses

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 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. For general information about topics, see Notifications Overview (https://docs.cloud.oracle.com/iaas/Content/Notification/Concepts/notificationoverview.htm).

func (NotificationTopic) String Uses

func (m NotificationTopic) String() string

type NotificationTopicLifecycleStateEnum Uses

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 Uses

func GetNotificationTopicLifecycleStateEnumValues() []NotificationTopicLifecycleStateEnum

GetNotificationTopicLifecycleStateEnumValues Enumerates the set of values for NotificationTopicLifecycleStateEnum

type NotificationTopicSummary Uses

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 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 Uses

func (m NotificationTopicSummary) String() string

type NotificationTopicSummaryLifecycleStateEnum Uses

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 Uses

func GetNotificationTopicSummaryLifecycleStateEnumValues() []NotificationTopicSummaryLifecycleStateEnum

GetNotificationTopicSummaryLifecycleStateEnumValues Enumerates the set of values for NotificationTopicSummaryLifecycleStateEnum

type PublishMessageMessageTypeEnum Uses

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 Uses

func GetPublishMessageMessageTypeEnumValues() []PublishMessageMessageTypeEnum

GetPublishMessageMessageTypeEnumValues Enumerates the set of values for PublishMessageMessageTypeEnum

type PublishMessageRequest Uses

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 Uses

func (request PublishMessageRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PublishMessageRequest) RetryPolicy Uses

func (request PublishMessageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (PublishMessageRequest) String Uses

func (request PublishMessageRequest) String() string

type PublishMessageResponse Uses

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 Uses

func (response PublishMessageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (PublishMessageResponse) String Uses

func (response PublishMessageResponse) String() string

type PublishResult Uses

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 Uses

func (m PublishResult) String() string

type ResendSubscriptionConfirmationRequest Uses

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 Uses

func (request ResendSubscriptionConfirmationRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ResendSubscriptionConfirmationRequest) RetryPolicy Uses

func (request ResendSubscriptionConfirmationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ResendSubscriptionConfirmationRequest) String Uses

func (request ResendSubscriptionConfirmationRequest) String() string

type ResendSubscriptionConfirmationResponse Uses

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 Uses

func (response ResendSubscriptionConfirmationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ResendSubscriptionConfirmationResponse) String Uses

func (response ResendSubscriptionConfirmationResponse) String() string

type Subscription Uses

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"`

    // The protocol used for the subscription.
    // For information about subscription protocols, see
    // To create a subscription (https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#createSub).
    Protocol *string `mandatory:"true" json:"protocol"`

    // A locator that corresponds to the subscription protocol.
    // For example, an email address for a subscription that uses the `EMAIL` protocol, or a URL for a subscription that uses an HTTP-based protocol.
    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. For general information about subscriptions, see Notifications Overview (https://docs.cloud.oracle.com/iaas/Content/Notification/Concepts/notificationoverview.htm).

func (Subscription) String Uses

func (m Subscription) String() string

type SubscriptionLifecycleStateEnum Uses

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 Uses

func GetSubscriptionLifecycleStateEnumValues() []SubscriptionLifecycleStateEnum

GetSubscriptionLifecycleStateEnumValues Enumerates the set of values for SubscriptionLifecycleStateEnum

type SubscriptionSummary Uses

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.
    // For information about subscription protocols, see
    // To create a subscription (https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#createSub).
    Protocol *string `mandatory:"true" json:"protocol"`

    // A locator that corresponds to the subscription protocol.
    // For example, an email address for a subscription that uses the `EMAIL` protocol, or a URL for a subscription that uses an HTTP-based protocol.
    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 Uses

func (m SubscriptionSummary) String() string

type SubscriptionSummaryLifecycleStateEnum Uses

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 Uses

func GetSubscriptionSummaryLifecycleStateEnumValues() []SubscriptionSummaryLifecycleStateEnum

GetSubscriptionSummaryLifecycleStateEnumValues Enumerates the set of values for SubscriptionSummaryLifecycleStateEnum

type TopicAttributesDetails Uses

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 Uses

func (m TopicAttributesDetails) String() string

type UpdateSubscriptionDetails Uses

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 Uses

func (m UpdateSubscriptionDetails) String() string

type UpdateSubscriptionRequest Uses

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 Uses

func (request UpdateSubscriptionRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSubscriptionRequest) RetryPolicy Uses

func (request UpdateSubscriptionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSubscriptionRequest) String Uses

func (request UpdateSubscriptionRequest) String() string

type UpdateSubscriptionResponse Uses

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 Uses

func (response UpdateSubscriptionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSubscriptionResponse) String Uses

func (response UpdateSubscriptionResponse) String() string

type UpdateTopicRequest Uses

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 Uses

func (request UpdateTopicRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTopicRequest) RetryPolicy Uses

func (request UpdateTopicRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTopicRequest) String Uses

func (request UpdateTopicRequest) String() string

type UpdateTopicResponse Uses

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 Uses

func (response UpdateTopicResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateTopicResponse) String Uses

func (response UpdateTopicResponse) String() string

Package ons imports 4 packages (graph) and is imported by 2 packages. Updated 2020-04-02. Refresh now. Tools for package owners.