nas

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2019 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Overview

Package nas provides the client and types for making API requests to nas.

See https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24 for more information on this service.

See nas package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/nas/

Using the Client

To use nas with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the nas client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/nas/#New

Index

Constants

View Source
const (
	ServiceName = "nas" // Service's name
	ServiceID   = "Nas" // Service's identifier
	EndpointsID = "nas" // Service's Endpoint identifier
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizeNASSecurityGroupIngressInput

type AuthorizeNASSecurityGroupIngressInput struct {
	CIDRIP *string `locationName:"CIDRIP" type:"string"`

	NASSecurityGroupName *string `locationName:"NASSecurityGroupName" type:"string"`

	SecurityGroupName *string `locationName:"SecurityGroupName" type:"string"`
	// contains filtered or unexported fields
}

func (AuthorizeNASSecurityGroupIngressInput) String

String returns the string representation

type AuthorizeNASSecurityGroupIngressOutput

type AuthorizeNASSecurityGroupIngressOutput struct {
	NASSecurityGroup *NASSecurityGroup `type:"structure"`
	// contains filtered or unexported fields
}

func (AuthorizeNASSecurityGroupIngressOutput) String

String returns the string representation

type AuthorizeNASSecurityGroupIngressRequest

type AuthorizeNASSecurityGroupIngressRequest struct {
	*aws.Request
	Input *AuthorizeNASSecurityGroupIngressInput
	Copy  func(*AuthorizeNASSecurityGroupIngressInput) AuthorizeNASSecurityGroupIngressRequest
}

AuthorizeNASSecurityGroupIngressRequest is the request type for the AuthorizeNASSecurityGroupIngress API operation.

func (AuthorizeNASSecurityGroupIngressRequest) Send

Send marshals and sends the AuthorizeNASSecurityGroupIngress API request.

type AuthorizeNASSecurityGroupIngressResponse

type AuthorizeNASSecurityGroupIngressResponse struct {
	*AuthorizeNASSecurityGroupIngressOutput
	// contains filtered or unexported fields
}

AuthorizeNASSecurityGroupIngressResponse is the response type for the AuthorizeNASSecurityGroupIngress API operation.

func (*AuthorizeNASSecurityGroupIngressResponse) SDKResponseMetdata

func (r *AuthorizeNASSecurityGroupIngressResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AuthorizeNASSecurityGroupIngress request.

type ClearNASSessionInput

type ClearNASSessionInput struct {
	NASInstanceIdentifier *string `locationName:"NASInstanceIdentifier" type:"string"`

	SessionClearType *string `locationName:"SessionClearType" type:"string"`
	// contains filtered or unexported fields
}

func (ClearNASSessionInput) String

func (s ClearNASSessionInput) String() string

String returns the string representation

type ClearNASSessionOutput

type ClearNASSessionOutput struct {
	NASInstance *NASInstance `type:"structure"`
	// contains filtered or unexported fields
}

func (ClearNASSessionOutput) String

func (s ClearNASSessionOutput) String() string

String returns the string representation

type ClearNASSessionRequest

type ClearNASSessionRequest struct {
	*aws.Request
	Input *ClearNASSessionInput
	Copy  func(*ClearNASSessionInput) ClearNASSessionRequest
}

ClearNASSessionRequest is the request type for the ClearNASSession API operation.

func (ClearNASSessionRequest) Send

Send marshals and sends the ClearNASSession API request.

type ClearNASSessionResponse

type ClearNASSessionResponse struct {
	*ClearNASSessionOutput
	// contains filtered or unexported fields
}

ClearNASSessionResponse is the response type for the ClearNASSession API operation.

func (*ClearNASSessionResponse) SDKResponseMetdata

func (r *ClearNASSessionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ClearNASSession request.

type Client

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to nas. See this package's package overview docs for details on the service.

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config nifcloud.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := nas.New(myConfig)

func (*Client) AuthorizeNASSecurityGroupIngressRequest

func (c *Client) AuthorizeNASSecurityGroupIngressRequest(input *AuthorizeNASSecurityGroupIngressInput) AuthorizeNASSecurityGroupIngressRequest

AuthorizeNASSecurityGroupIngressRequest returns a request value for making API operation for NIFCLOUD NAS.

// Example sending a request using AuthorizeNASSecurityGroupIngressRequest.
req := client.AuthorizeNASSecurityGroupIngressRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/AuthorizeNASSecurityGroupIngress

func (*Client) ClearNASSessionRequest

func (c *Client) ClearNASSessionRequest(input *ClearNASSessionInput) ClearNASSessionRequest

ClearNASSessionRequest returns a request value for making API operation for NIFCLOUD NAS.

// Example sending a request using ClearNASSessionRequest.
req := client.ClearNASSessionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/ClearNASSession

func (*Client) CreateNASInstanceRequest

func (c *Client) CreateNASInstanceRequest(input *CreateNASInstanceInput) CreateNASInstanceRequest

CreateNASInstanceRequest returns a request value for making API operation for NIFCLOUD NAS.

// Example sending a request using CreateNASInstanceRequest.
req := client.CreateNASInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/CreateNASInstance

func (*Client) CreateNASSecurityGroupRequest

func (c *Client) CreateNASSecurityGroupRequest(input *CreateNASSecurityGroupInput) CreateNASSecurityGroupRequest

CreateNASSecurityGroupRequest returns a request value for making API operation for NIFCLOUD NAS.

// Example sending a request using CreateNASSecurityGroupRequest.
req := client.CreateNASSecurityGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/CreateNASSecurityGroup

func (*Client) DeleteNASInstanceRequest

func (c *Client) DeleteNASInstanceRequest(input *DeleteNASInstanceInput) DeleteNASInstanceRequest

DeleteNASInstanceRequest returns a request value for making API operation for NIFCLOUD NAS.

// Example sending a request using DeleteNASInstanceRequest.
req := client.DeleteNASInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/DeleteNASInstance

func (*Client) DeleteNASSecurityGroupRequest

func (c *Client) DeleteNASSecurityGroupRequest(input *DeleteNASSecurityGroupInput) DeleteNASSecurityGroupRequest

DeleteNASSecurityGroupRequest returns a request value for making API operation for NIFCLOUD NAS.

// Example sending a request using DeleteNASSecurityGroupRequest.
req := client.DeleteNASSecurityGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/DeleteNASSecurityGroup

func (*Client) DescribeNASInstancesRequest

func (c *Client) DescribeNASInstancesRequest(input *DescribeNASInstancesInput) DescribeNASInstancesRequest

DescribeNASInstancesRequest returns a request value for making API operation for NIFCLOUD NAS.

// Example sending a request using DescribeNASInstancesRequest.
req := client.DescribeNASInstancesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/DescribeNASInstances

func (*Client) DescribeNASSecurityGroupsRequest

func (c *Client) DescribeNASSecurityGroupsRequest(input *DescribeNASSecurityGroupsInput) DescribeNASSecurityGroupsRequest

DescribeNASSecurityGroupsRequest returns a request value for making API operation for NIFCLOUD NAS.

// Example sending a request using DescribeNASSecurityGroupsRequest.
req := client.DescribeNASSecurityGroupsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/DescribeNASSecurityGroups

func (*Client) GetMetricStatisticsRequest

func (c *Client) GetMetricStatisticsRequest(input *GetMetricStatisticsInput) GetMetricStatisticsRequest

GetMetricStatisticsRequest returns a request value for making API operation for NIFCLOUD NAS.

// Example sending a request using GetMetricStatisticsRequest.
req := client.GetMetricStatisticsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/GetMetricStatistics

func (*Client) ModifyNASInstanceRequest

func (c *Client) ModifyNASInstanceRequest(input *ModifyNASInstanceInput) ModifyNASInstanceRequest

ModifyNASInstanceRequest returns a request value for making API operation for NIFCLOUD NAS.

// Example sending a request using ModifyNASInstanceRequest.
req := client.ModifyNASInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/ModifyNASInstance

func (*Client) ModifyNASSecurityGroupRequest

func (c *Client) ModifyNASSecurityGroupRequest(input *ModifyNASSecurityGroupInput) ModifyNASSecurityGroupRequest

ModifyNASSecurityGroupRequest returns a request value for making API operation for NIFCLOUD NAS.

// Example sending a request using ModifyNASSecurityGroupRequest.
req := client.ModifyNASSecurityGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/ModifyNASSecurityGroup

func (*Client) RevokeNASSecurityGroupIngressRequest

func (c *Client) RevokeNASSecurityGroupIngressRequest(input *RevokeNASSecurityGroupIngressInput) RevokeNASSecurityGroupIngressRequest

RevokeNASSecurityGroupIngressRequest returns a request value for making API operation for NIFCLOUD NAS.

// Example sending a request using RevokeNASSecurityGroupIngressRequest.
req := client.RevokeNASSecurityGroupIngressRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/RevokeNASSecurityGroupIngress

type CreateNASInstanceInput

type CreateNASInstanceInput struct {
	AllocatedStorage *int64 `locationName:"AllocatedStorage" type:"integer"`

	AvailabilityZone *string `locationName:"AvailabilityZone" type:"string"`

	MasterPrivateAddress *string `locationName:"MasterPrivateAddress" type:"string"`

	MasterUserPassword *string `locationName:"MasterUserPassword" type:"string"`

	MasterUsername *string `locationName:"MasterUsername" type:"string"`

	NASInstanceDescription *string `locationName:"NASInstanceDescription" type:"string"`

	NASInstanceIdentifier *string `locationName:"NASInstanceIdentifier" type:"string"`

	NASInstanceType *int64 `locationName:"NASInstanceType" type:"integer"`

	NASSecurityGroups []string `locationName:"NASSecurityGroups" locationNameList:"member" type:"list"`

	NetworkId *string `locationName:"NetworkId" type:"string"`

	Protocol *string `locationName:"Protocol" type:"string"`
	// contains filtered or unexported fields
}

func (CreateNASInstanceInput) String

func (s CreateNASInstanceInput) String() string

String returns the string representation

type CreateNASInstanceOutput

type CreateNASInstanceOutput struct {
	NASInstance *NASInstance `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateNASInstanceOutput) String

func (s CreateNASInstanceOutput) String() string

String returns the string representation

type CreateNASInstanceRequest

type CreateNASInstanceRequest struct {
	*aws.Request
	Input *CreateNASInstanceInput
	Copy  func(*CreateNASInstanceInput) CreateNASInstanceRequest
}

CreateNASInstanceRequest is the request type for the CreateNASInstance API operation.

func (CreateNASInstanceRequest) Send

Send marshals and sends the CreateNASInstance API request.

type CreateNASInstanceResponse

type CreateNASInstanceResponse struct {
	*CreateNASInstanceOutput
	// contains filtered or unexported fields
}

CreateNASInstanceResponse is the response type for the CreateNASInstance API operation.

func (*CreateNASInstanceResponse) SDKResponseMetdata

func (r *CreateNASInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateNASInstance request.

type CreateNASSecurityGroupInput

type CreateNASSecurityGroupInput struct {
	AvailabilityZone *string `locationName:"AvailabilityZone" type:"string"`

	NASSecurityGroupDescription *string `locationName:"NASSecurityGroupDescription" type:"string"`

	NASSecurityGroupName *string `locationName:"NASSecurityGroupName" type:"string"`
	// contains filtered or unexported fields
}

func (CreateNASSecurityGroupInput) String

String returns the string representation

type CreateNASSecurityGroupOutput

type CreateNASSecurityGroupOutput struct {
	NASSecurityGroup *NASSecurityGroup `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateNASSecurityGroupOutput) String

String returns the string representation

type CreateNASSecurityGroupRequest

type CreateNASSecurityGroupRequest struct {
	*aws.Request
	Input *CreateNASSecurityGroupInput
	Copy  func(*CreateNASSecurityGroupInput) CreateNASSecurityGroupRequest
}

CreateNASSecurityGroupRequest is the request type for the CreateNASSecurityGroup API operation.

func (CreateNASSecurityGroupRequest) Send

Send marshals and sends the CreateNASSecurityGroup API request.

type CreateNASSecurityGroupResponse

type CreateNASSecurityGroupResponse struct {
	*CreateNASSecurityGroupOutput
	// contains filtered or unexported fields
}

CreateNASSecurityGroupResponse is the response type for the CreateNASSecurityGroup API operation.

func (*CreateNASSecurityGroupResponse) SDKResponseMetdata

func (r *CreateNASSecurityGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateNASSecurityGroup request.

type DeleteNASInstanceInput

type DeleteNASInstanceInput struct {
	DirectoryServiceAdministratorName *string `locationName:"DirectoryServiceAdministratorName" type:"string"`

	DirectoryServiceAdministratorPassword *string `locationName:"DirectoryServiceAdministratorPassword" type:"string"`

	NASInstanceIdentifier *string `locationName:"NASInstanceIdentifier" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteNASInstanceInput) String

func (s DeleteNASInstanceInput) String() string

String returns the string representation

type DeleteNASInstanceOutput

type DeleteNASInstanceOutput struct {
	NASInstance *NASInstance `type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteNASInstanceOutput) String

func (s DeleteNASInstanceOutput) String() string

String returns the string representation

type DeleteNASInstanceRequest

type DeleteNASInstanceRequest struct {
	*aws.Request
	Input *DeleteNASInstanceInput
	Copy  func(*DeleteNASInstanceInput) DeleteNASInstanceRequest
}

DeleteNASInstanceRequest is the request type for the DeleteNASInstance API operation.

func (DeleteNASInstanceRequest) Send

Send marshals and sends the DeleteNASInstance API request.

type DeleteNASInstanceResponse

type DeleteNASInstanceResponse struct {
	*DeleteNASInstanceOutput
	// contains filtered or unexported fields
}

DeleteNASInstanceResponse is the response type for the DeleteNASInstance API operation.

func (*DeleteNASInstanceResponse) SDKResponseMetdata

func (r *DeleteNASInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteNASInstance request.

type DeleteNASSecurityGroupInput

type DeleteNASSecurityGroupInput struct {
	NASSecurityGroupName *string `locationName:"NASSecurityGroupName" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteNASSecurityGroupInput) String

String returns the string representation

type DeleteNASSecurityGroupOutput

type DeleteNASSecurityGroupOutput struct {
	// contains filtered or unexported fields
}

func (DeleteNASSecurityGroupOutput) String

String returns the string representation

type DeleteNASSecurityGroupRequest

type DeleteNASSecurityGroupRequest struct {
	*aws.Request
	Input *DeleteNASSecurityGroupInput
	Copy  func(*DeleteNASSecurityGroupInput) DeleteNASSecurityGroupRequest
}

DeleteNASSecurityGroupRequest is the request type for the DeleteNASSecurityGroup API operation.

func (DeleteNASSecurityGroupRequest) Send

Send marshals and sends the DeleteNASSecurityGroup API request.

type DeleteNASSecurityGroupResponse

type DeleteNASSecurityGroupResponse struct {
	*DeleteNASSecurityGroupOutput
	// contains filtered or unexported fields
}

DeleteNASSecurityGroupResponse is the response type for the DeleteNASSecurityGroup API operation.

func (*DeleteNASSecurityGroupResponse) SDKResponseMetdata

func (r *DeleteNASSecurityGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteNASSecurityGroup request.

type DescribeNASInstancesInput

type DescribeNASInstancesInput struct {
	NASInstanceIdentifier *string `locationName:"NASInstanceIdentifier" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeNASInstancesInput) String

func (s DescribeNASInstancesInput) String() string

String returns the string representation

type DescribeNASInstancesOutput

type DescribeNASInstancesOutput struct {
	NASInstances []NASInstance `locationNameList:"NASInstance" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeNASInstancesOutput) String

String returns the string representation

type DescribeNASInstancesRequest

type DescribeNASInstancesRequest struct {
	*aws.Request
	Input *DescribeNASInstancesInput
	Copy  func(*DescribeNASInstancesInput) DescribeNASInstancesRequest
}

DescribeNASInstancesRequest is the request type for the DescribeNASInstances API operation.

func (DescribeNASInstancesRequest) Send

Send marshals and sends the DescribeNASInstances API request.

type DescribeNASInstancesResponse

type DescribeNASInstancesResponse struct {
	*DescribeNASInstancesOutput
	// contains filtered or unexported fields
}

DescribeNASInstancesResponse is the response type for the DescribeNASInstances API operation.

func (*DescribeNASInstancesResponse) SDKResponseMetdata

func (r *DescribeNASInstancesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeNASInstances request.

type DescribeNASSecurityGroupsInput

type DescribeNASSecurityGroupsInput struct {
	NASSecurityGroupName *string `locationName:"NASSecurityGroupName" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeNASSecurityGroupsInput) String

String returns the string representation

type DescribeNASSecurityGroupsOutput

type DescribeNASSecurityGroupsOutput struct {
	NASSecurityGroups []NASSecurityGroup `locationNameList:"NASSecurityGroup" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeNASSecurityGroupsOutput) String

String returns the string representation

type DescribeNASSecurityGroupsRequest

type DescribeNASSecurityGroupsRequest struct {
	*aws.Request
	Input *DescribeNASSecurityGroupsInput
	Copy  func(*DescribeNASSecurityGroupsInput) DescribeNASSecurityGroupsRequest
}

DescribeNASSecurityGroupsRequest is the request type for the DescribeNASSecurityGroups API operation.

func (DescribeNASSecurityGroupsRequest) Send

Send marshals and sends the DescribeNASSecurityGroups API request.

type DescribeNASSecurityGroupsResponse

type DescribeNASSecurityGroupsResponse struct {
	*DescribeNASSecurityGroupsOutput
	// contains filtered or unexported fields
}

DescribeNASSecurityGroupsResponse is the response type for the DescribeNASSecurityGroups API operation.

func (*DescribeNASSecurityGroupsResponse) SDKResponseMetdata

func (r *DescribeNASSecurityGroupsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeNASSecurityGroups request.

type DomainController

type DomainController struct {
	Hostname *string `type:"string"`

	IPAddress *string `type:"string"`
	// contains filtered or unexported fields
}

func (DomainController) String

func (s DomainController) String() string

String returns the string representation

type Endpoint

type Endpoint struct {
	Address *string `type:"string"`

	PrivateAddress *string `type:"string"`
	// contains filtered or unexported fields
}

func (Endpoint) String

func (s Endpoint) String() string

String returns the string representation

type GetMetricStatisticsInput

type GetMetricStatisticsInput struct {
	Dimensions []RequestDimensionsStruct `locationName:"Dimensions" locationNameList:"member" type:"list"`

	EndTime *time.Time `locationName:"EndTime" type:"timestamp"`

	MetricName *string `locationName:"MetricName" type:"string"`

	StartTime *time.Time `locationName:"StartTime" type:"timestamp"`
	// contains filtered or unexported fields
}

func (GetMetricStatisticsInput) String

func (s GetMetricStatisticsInput) String() string

String returns the string representation

type GetMetricStatisticsOutput

type GetMetricStatisticsOutput struct {
	Datapoints []Member `locationNameList:"member" type:"list"`

	Label *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetMetricStatisticsOutput) String

func (s GetMetricStatisticsOutput) String() string

String returns the string representation

type GetMetricStatisticsRequest

type GetMetricStatisticsRequest struct {
	*aws.Request
	Input *GetMetricStatisticsInput
	Copy  func(*GetMetricStatisticsInput) GetMetricStatisticsRequest
}

GetMetricStatisticsRequest is the request type for the GetMetricStatistics API operation.

func (GetMetricStatisticsRequest) Send

Send marshals and sends the GetMetricStatistics API request.

type GetMetricStatisticsResponse

type GetMetricStatisticsResponse struct {
	*GetMetricStatisticsOutput
	// contains filtered or unexported fields
}

GetMetricStatisticsResponse is the response type for the GetMetricStatistics API operation.

func (*GetMetricStatisticsResponse) SDKResponseMetdata

func (r *GetMetricStatisticsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetMetricStatistics request.

type IPRange

type IPRange struct {
	CIDRIP *string `type:"string"`

	Status *string `type:"string"`
	// contains filtered or unexported fields
}

func (IPRange) String

func (s IPRange) String() string

String returns the string representation

type Member

type Member struct {
	SampleCount *string `type:"string"`

	Sum *string `type:"string"`

	TargetName *string `type:"string"`

	Timestamp *string `type:"string"`
	// contains filtered or unexported fields
}

func (Member) String

func (s Member) String() string

String returns the string representation

type ModifyNASInstanceInput

type ModifyNASInstanceInput struct {
	AllocatedStorage *int64 `locationName:"AllocatedStorage" type:"integer"`

	AuthenticationType *int64 `locationName:"AuthenticationType" type:"integer"`

	DirectoryServiceAdministratorName *string `locationName:"DirectoryServiceAdministratorName" type:"string"`

	DirectoryServiceAdministratorPassword *string `locationName:"DirectoryServiceAdministratorPassword" type:"string"`

	DirectoryServiceDomainName *string `locationName:"DirectoryServiceDomainName" type:"string"`

	DomainControllers []RequestDomainControllersStruct `locationName:"DomainControllers" locationNameList:"member" type:"list"`

	MasterPrivateAddress *string `locationName:"MasterPrivateAddress" type:"string"`

	MasterUserPassword *string `locationName:"MasterUserPassword" type:"string"`

	NASInstanceDescription *string `locationName:"NASInstanceDescription" type:"string"`

	NASInstanceIdentifier *string `locationName:"NASInstanceIdentifier" type:"string"`

	NASSecurityGroups []string `locationName:"NASSecurityGroups" locationNameList:"member" type:"list"`

	NetworkId *string `locationName:"NetworkId" type:"string"`

	NewNASInstanceIdentifier *string `locationName:"NewNASInstanceIdentifier" type:"string"`

	NoRootSquash *string `locationName:"NoRootSquash" type:"string"`
	// contains filtered or unexported fields
}

func (ModifyNASInstanceInput) String

func (s ModifyNASInstanceInput) String() string

String returns the string representation

type ModifyNASInstanceOutput

type ModifyNASInstanceOutput struct {
	NASInstance *NASInstance `type:"structure"`
	// contains filtered or unexported fields
}

func (ModifyNASInstanceOutput) String

func (s ModifyNASInstanceOutput) String() string

String returns the string representation

type ModifyNASInstanceRequest

type ModifyNASInstanceRequest struct {
	*aws.Request
	Input *ModifyNASInstanceInput
	Copy  func(*ModifyNASInstanceInput) ModifyNASInstanceRequest
}

ModifyNASInstanceRequest is the request type for the ModifyNASInstance API operation.

func (ModifyNASInstanceRequest) Send

Send marshals and sends the ModifyNASInstance API request.

type ModifyNASInstanceResponse

type ModifyNASInstanceResponse struct {
	*ModifyNASInstanceOutput
	// contains filtered or unexported fields
}

ModifyNASInstanceResponse is the response type for the ModifyNASInstance API operation.

func (*ModifyNASInstanceResponse) SDKResponseMetdata

func (r *ModifyNASInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ModifyNASInstance request.

type ModifyNASSecurityGroupInput

type ModifyNASSecurityGroupInput struct {
	NASSecurityGroupDescription *string `locationName:"NASSecurityGroupDescription" type:"string"`

	NASSecurityGroupName *string `locationName:"NASSecurityGroupName" type:"string"`

	NewNASSecurityGroupName *string `locationName:"NewNASSecurityGroupName" type:"string"`
	// contains filtered or unexported fields
}

func (ModifyNASSecurityGroupInput) String

String returns the string representation

type ModifyNASSecurityGroupOutput

type ModifyNASSecurityGroupOutput struct {
	NASSecurityGroup *NASSecurityGroup `type:"structure"`
	// contains filtered or unexported fields
}

func (ModifyNASSecurityGroupOutput) String

String returns the string representation

type ModifyNASSecurityGroupRequest

type ModifyNASSecurityGroupRequest struct {
	*aws.Request
	Input *ModifyNASSecurityGroupInput
	Copy  func(*ModifyNASSecurityGroupInput) ModifyNASSecurityGroupRequest
}

ModifyNASSecurityGroupRequest is the request type for the ModifyNASSecurityGroup API operation.

func (ModifyNASSecurityGroupRequest) Send

Send marshals and sends the ModifyNASSecurityGroup API request.

type ModifyNASSecurityGroupResponse

type ModifyNASSecurityGroupResponse struct {
	*ModifyNASSecurityGroupOutput
	// contains filtered or unexported fields
}

ModifyNASSecurityGroupResponse is the response type for the ModifyNASSecurityGroup API operation.

func (*ModifyNASSecurityGroupResponse) SDKResponseMetdata

func (r *ModifyNASSecurityGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ModifyNASSecurityGroup request.

type NASInstance

type NASInstance struct {
	AllocatedStorage *string `type:"string"`

	AuthenticationType *int64 `type:"integer"`

	AvailabilityZone *string `type:"string"`

	CreateTime *string `type:"string"`

	DirectoryServiceDomainName *string `type:"string"`

	DomainControllers []DomainController `locationNameList:"DomainController" type:"list"`

	Endpoint *Endpoint `type:"structure"`

	MasterUsername *string `type:"string"`

	NASInstanceClass *string `type:"string"`

	NASInstanceDescription *string `type:"string"`

	NASInstanceErrorInfo *NASInstanceErrorInfo `type:"structure"`

	NASInstanceIdentifier *string `type:"string"`

	NASInstanceStatus *string `type:"string"`

	NASInstanceType *int64 `type:"integer"`

	NASSecurityGroups []NASSecurityGroup `locationNameList:"NASSecurityGroup" type:"list"`

	NetworkId *string `type:"string"`

	NoRootSquash *string `type:"string"`

	Protocol *string `type:"string"`

	StorageType *int64 `type:"integer"`
	// contains filtered or unexported fields
}

func (NASInstance) String

func (s NASInstance) String() string

String returns the string representation

type NASInstanceErrorInfo

type NASInstanceErrorInfo struct {
	NASInstanceErrorCode *string `type:"string"`

	NASInstanceErrorMessage *string `type:"string"`
	// contains filtered or unexported fields
}

func (NASInstanceErrorInfo) String

func (s NASInstanceErrorInfo) String() string

String returns the string representation

type NASSecurityGroup

type NASSecurityGroup struct {
	AvailabilityZone *string `type:"string"`

	IPRanges []IPRange `locationNameList:"IPRange" type:"list"`

	NASSecurityGroupDescription *string `type:"string"`

	NASSecurityGroupName *string `type:"string"`

	OwnerId *string `type:"string"`

	SecurityGroups []SecurityGroup `locationNameList:"SecurityGroup" type:"list"`
	// contains filtered or unexported fields
}

func (NASSecurityGroup) String

func (s NASSecurityGroup) String() string

String returns the string representation

type RequestDimensionsStruct

type RequestDimensionsStruct struct {
	Name *string `locationName:"Name" type:"string"`

	Value *string `locationName:"Value" type:"string"`
	// contains filtered or unexported fields
}

func (RequestDimensionsStruct) String

func (s RequestDimensionsStruct) String() string

String returns the string representation

type RequestDomainControllersStruct

type RequestDomainControllersStruct struct {
	Hostname *string `locationName:"Hostname" type:"string"`

	IPAddress *string `locationName:"IPAddress" type:"string"`
	// contains filtered or unexported fields
}

func (RequestDomainControllersStruct) String

String returns the string representation

type RevokeNASSecurityGroupIngressInput

type RevokeNASSecurityGroupIngressInput struct {
	CIDRIP *string `locationName:"CIDRIP" type:"string"`

	NASSecurityGroupName *string `locationName:"NASSecurityGroupName" type:"string"`

	SecurityGroupName *string `locationName:"SecurityGroupName" type:"string"`
	// contains filtered or unexported fields
}

func (RevokeNASSecurityGroupIngressInput) String

String returns the string representation

type RevokeNASSecurityGroupIngressOutput

type RevokeNASSecurityGroupIngressOutput struct {
	NASSecurityGroup *NASSecurityGroup `type:"structure"`
	// contains filtered or unexported fields
}

func (RevokeNASSecurityGroupIngressOutput) String

String returns the string representation

type RevokeNASSecurityGroupIngressRequest

type RevokeNASSecurityGroupIngressRequest struct {
	*aws.Request
	Input *RevokeNASSecurityGroupIngressInput
	Copy  func(*RevokeNASSecurityGroupIngressInput) RevokeNASSecurityGroupIngressRequest
}

RevokeNASSecurityGroupIngressRequest is the request type for the RevokeNASSecurityGroupIngress API operation.

func (RevokeNASSecurityGroupIngressRequest) Send

Send marshals and sends the RevokeNASSecurityGroupIngress API request.

type RevokeNASSecurityGroupIngressResponse

type RevokeNASSecurityGroupIngressResponse struct {
	*RevokeNASSecurityGroupIngressOutput
	// contains filtered or unexported fields
}

RevokeNASSecurityGroupIngressResponse is the response type for the RevokeNASSecurityGroupIngress API operation.

func (*RevokeNASSecurityGroupIngressResponse) SDKResponseMetdata

func (r *RevokeNASSecurityGroupIngressResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RevokeNASSecurityGroupIngress request.

type SecurityGroup

type SecurityGroup struct {
	SecurityGroupName *string `type:"string"`

	SecurityGroupOwnerId *string `type:"string"`

	Status *string `type:"string"`
	// contains filtered or unexported fields
}

func (SecurityGroup) String

func (s SecurityGroup) String() string

String returns the string representation

Directories

Path Synopsis
Package nasiface provides an interface to enable mocking the NIFCLOUD NAS service client for testing your code.
Package nasiface provides an interface to enable mocking the NIFCLOUD NAS service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL