import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IVSRealTimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IVSRealTimeClient"; import type { CreateStorageConfigurationRequest, CreateStorageConfigurationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateStorageConfigurationCommand}. */ export interface CreateStorageConfigurationCommandInput extends CreateStorageConfigurationRequest { } /** * @public * * The output of {@link CreateStorageConfigurationCommand}. */ export interface CreateStorageConfigurationCommandOutput extends CreateStorageConfigurationResponse, __MetadataBearer { } declare const CreateStorageConfigurationCommand_base: { new (input: CreateStorageConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CreateStorageConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Creates a new storage configuration, used to enable recording to Amazon S3. * When a StorageConfiguration is created, IVS will modify the S3 bucketPolicy of the provided bucket. * This will ensure that IVS has sufficient permissions to write content to the provided bucket.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IVSRealTimeClient, CreateStorageConfigurationCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import * // const { IVSRealTimeClient, CreateStorageConfigurationCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import * // import type { IVSRealTimeClientConfig } from "@aws-sdk/client-ivs-realtime"; * const config = {}; // type is IVSRealTimeClientConfig * const client = new IVSRealTimeClient(config); * const input = { // CreateStorageConfigurationRequest * name: "STRING_VALUE", * s3: { // S3StorageConfiguration * bucketName: "STRING_VALUE", // required * }, * tags: { // Tags * "": "STRING_VALUE", * }, * }; * const command = new CreateStorageConfigurationCommand(input); * const response = await client.send(command); * // { // CreateStorageConfigurationResponse * // storageConfiguration: { // StorageConfiguration * // arn: "STRING_VALUE", // required * // name: "STRING_VALUE", * // s3: { // S3StorageConfiguration * // bucketName: "STRING_VALUE", // required * // }, * // tags: { // Tags * // "": "STRING_VALUE", * // }, * // }, * // }; * * ``` * * @param CreateStorageConfigurationCommandInput - {@link CreateStorageConfigurationCommandInput} * @returns {@link CreateStorageConfigurationCommandOutput} * @see {@link CreateStorageConfigurationCommandInput} for command's `input` shape. * @see {@link CreateStorageConfigurationCommandOutput} for command's `response` shape. * @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

* * @throws {@link ConflictException} (client fault) *

* * @throws {@link InternalServerException} (server fault) *

* * @throws {@link PendingVerification} (client fault) *

* * @throws {@link ResourceNotFoundException} (client fault) *

* * @throws {@link ServiceQuotaExceededException} (client fault) *

* * @throws {@link ValidationException} (client fault) *

* * @throws {@link IVSRealTimeServiceException} *

Base exception class for all service exceptions from IVSRealTime service.

* * * @public */ export declare class CreateStorageConfigurationCommand extends CreateStorageConfigurationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateStorageConfigurationRequest; output: CreateStorageConfigurationResponse; }; sdk: { input: CreateStorageConfigurationCommandInput; output: CreateStorageConfigurationCommandOutput; }; }; }