// Returns the state of a specific instance. Works on one instance at a time.
Returns the state of a specific instance. Works on one instance at a time.
// Returns the state of a specific instance . Works on one instance at a time .
func (c *Client) GetInstanceState(ctx context.Context, params *GetInstanceStateInput, optFns ...func(*Options)) (*GetInstanceStateOutput, error) {
	if params == nil {
		params = &GetInstanceStateInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetInstanceState", params, optFns, addOperationGetInstanceStateMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetInstanceStateOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetInstanceState ( ctx context . Context , params * GetInstanceStateInput , optFns ... func ( * Options ) ) ( * GetInstanceStateOutput , error ) { if params == nil { params = & GetInstanceStateInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetInstanceStateMiddlewares ) if err != nil { return nil , err } out := result . ( * GetInstanceStateOutput ) out . ResultMetadata = metadata return out , nil }
Returns the state of a specific instance.
Returns the state of a specific instance .