// Creates a gateway, which is a virtual or edge device that delivers industrial
// data streams from local servers to AWS IoT SiteWise. For more information, see
// Ingesting data using a gateway
// (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/gateway-connector.html)
// in the AWS IoT SiteWise User Guide.
Creates a gateway, which is a virtual or edge device that delivers industrial
data streams from local servers to AWS IoT SiteWise. For more information, see
Ingesting data using a gateway

in the AWS IoT SiteWise User Guide.
// Creates a gateway which is a virtual or edge device that delivers industrial // data streams from local servers to AWS IoT SiteWise . For more information see // Ingesting data using a gateway // ( https : // docs . aws . amazon . com / iot - sitewise / latest / userguide / gateway - connector . html ) // in the AWS IoT SiteWise User Guide .
func (c *Client) CreateGateway(ctx context.Context, params *CreateGatewayInput, optFns ...func(*Options)) (*CreateGatewayOutput, error) {
	if params == nil {
		params = &CreateGatewayInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateGateway", params, optFns, addOperationCreateGatewayMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateGatewayOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateGateway ( ctx context . Context , params * CreateGatewayInput , optFns ... func ( * Options ) ) ( * CreateGatewayOutput , error ) { if params == nil { params = & CreateGatewayInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateGatewayMiddlewares ) if err != nil { return nil , err } out := result . ( * CreateGatewayOutput ) out . ResultMetadata = metadata return out , nil }
Creates a gateway, which is a virtual or edge device that delivers industrial
data streams from local servers to AWS IoT SiteWise.
Creates a gateway which is a virtual or edge device that delivers industrial data streams from local servers to AWS IoT SiteWise .