Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(opts ...ClientOption) (*Client, error)
func (*Client) Handshake ¶
func (c *Client) Handshake(req HandshakeRequest) error
type ClientOption ¶
func WithTimeout ¶
func WithTimeout(timeout time.Duration) ClientOption
func WithURL ¶
func WithURL(url string) ClientOption
type HandshakeAction ¶
type HandshakeAction string
const ( HandshakeCreate HandshakeAction = "CREATE" HandshakeDelete HandshakeAction = "DELETE" )
type HandshakeRequest ¶
type HandshakeRequest struct { Action HandshakeAction `json:"action"` HandshakeID string `json:"handshake_id"` ExternalID string `json:"external_id"` RoleARN string `json:"role_arn"` }
Click to show internal directories.
Click to hide internal directories.