Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.Nimble.CreateStudioComponent
Description
Creates a studio component resource.
Synopsis
- data CreateStudioComponent = CreateStudioComponent' {
- clientToken :: Maybe Text
- configuration :: Maybe StudioComponentConfiguration
- description :: Maybe (Sensitive Text)
- ec2SecurityGroupIds :: Maybe [Text]
- initializationScripts :: Maybe [StudioComponentInitializationScript]
- runtimeRoleArn :: Maybe Text
- scriptParameters :: Maybe (Sensitive [ScriptParameterKeyValue])
- secureInitializationRoleArn :: Maybe Text
- subtype :: Maybe StudioComponentSubtype
- tags :: Maybe (HashMap Text Text)
- name :: Sensitive Text
- studioId :: Text
- type' :: StudioComponentType
- newCreateStudioComponent :: Text -> Text -> StudioComponentType -> CreateStudioComponent
- createStudioComponent_clientToken :: Lens' CreateStudioComponent (Maybe Text)
- createStudioComponent_configuration :: Lens' CreateStudioComponent (Maybe StudioComponentConfiguration)
- createStudioComponent_description :: Lens' CreateStudioComponent (Maybe Text)
- createStudioComponent_ec2SecurityGroupIds :: Lens' CreateStudioComponent (Maybe [Text])
- createStudioComponent_initializationScripts :: Lens' CreateStudioComponent (Maybe [StudioComponentInitializationScript])
- createStudioComponent_runtimeRoleArn :: Lens' CreateStudioComponent (Maybe Text)
- createStudioComponent_scriptParameters :: Lens' CreateStudioComponent (Maybe [ScriptParameterKeyValue])
- createStudioComponent_secureInitializationRoleArn :: Lens' CreateStudioComponent (Maybe Text)
- createStudioComponent_subtype :: Lens' CreateStudioComponent (Maybe StudioComponentSubtype)
- createStudioComponent_tags :: Lens' CreateStudioComponent (Maybe (HashMap Text Text))
- createStudioComponent_name :: Lens' CreateStudioComponent Text
- createStudioComponent_studioId :: Lens' CreateStudioComponent Text
- createStudioComponent_type :: Lens' CreateStudioComponent StudioComponentType
- data CreateStudioComponentResponse = CreateStudioComponentResponse' {}
- newCreateStudioComponentResponse :: Int -> CreateStudioComponentResponse
- createStudioComponentResponse_studioComponent :: Lens' CreateStudioComponentResponse (Maybe StudioComponent)
- createStudioComponentResponse_httpStatus :: Lens' CreateStudioComponentResponse Int
Creating a Request
data CreateStudioComponent Source #
See: newCreateStudioComponent
smart constructor.
Constructors
CreateStudioComponent' | |
Fields
|
Instances
newCreateStudioComponent Source #
Arguments
:: Text | |
-> Text | |
-> StudioComponentType | |
-> CreateStudioComponent |
Create a value of CreateStudioComponent
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientToken:CreateStudioComponent'
, createStudioComponent_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. If you don’t specify a client token, the
Amazon Web Services SDK automatically generates a client token and uses
it for the request to ensure idempotency.
CreateStudioComponent
, createStudioComponent_configuration
- The configuration of the studio component, based on component type.
CreateStudioComponent
, createStudioComponent_description
- The description.
CreateStudioComponent
, createStudioComponent_ec2SecurityGroupIds
- The EC2 security groups that control access to the studio component.
CreateStudioComponent
, createStudioComponent_initializationScripts
- Initialization scripts for studio components.
CreateStudioComponent
, createStudioComponent_runtimeRoleArn
- An IAM role attached to a Studio Component that gives the studio
component access to Amazon Web Services resources at anytime while the
instance is running.
CreateStudioComponent
, createStudioComponent_scriptParameters
- Parameters for the studio component scripts.
CreateStudioComponent
, createStudioComponent_secureInitializationRoleArn
- An IAM role attached to Studio Component when the system initialization
script runs which give the studio component access to Amazon Web
Services resources when the system initialization script runs.
CreateStudioComponent
, createStudioComponent_subtype
- The specific subtype of a studio component.
CreateStudioComponent
, createStudioComponent_tags
- A collection of labels, in the form of key-value pairs, that apply to
this resource.
CreateStudioComponent
, createStudioComponent_name
- The name for the studio component.
CreateStudioComponent
, createStudioComponent_studioId
- The studio ID.
CreateStudioComponent
, createStudioComponent_type
- The type of the studio component.
Request Lenses
createStudioComponent_clientToken :: Lens' CreateStudioComponent (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
createStudioComponent_configuration :: Lens' CreateStudioComponent (Maybe StudioComponentConfiguration) Source #
The configuration of the studio component, based on component type.
createStudioComponent_description :: Lens' CreateStudioComponent (Maybe Text) Source #
The description.
createStudioComponent_ec2SecurityGroupIds :: Lens' CreateStudioComponent (Maybe [Text]) Source #
The EC2 security groups that control access to the studio component.
createStudioComponent_initializationScripts :: Lens' CreateStudioComponent (Maybe [StudioComponentInitializationScript]) Source #
Initialization scripts for studio components.
createStudioComponent_runtimeRoleArn :: Lens' CreateStudioComponent (Maybe Text) Source #
An IAM role attached to a Studio Component that gives the studio component access to Amazon Web Services resources at anytime while the instance is running.
createStudioComponent_scriptParameters :: Lens' CreateStudioComponent (Maybe [ScriptParameterKeyValue]) Source #
Parameters for the studio component scripts.
createStudioComponent_secureInitializationRoleArn :: Lens' CreateStudioComponent (Maybe Text) Source #
An IAM role attached to Studio Component when the system initialization script runs which give the studio component access to Amazon Web Services resources when the system initialization script runs.
createStudioComponent_subtype :: Lens' CreateStudioComponent (Maybe StudioComponentSubtype) Source #
The specific subtype of a studio component.
createStudioComponent_tags :: Lens' CreateStudioComponent (Maybe (HashMap Text Text)) Source #
A collection of labels, in the form of key-value pairs, that apply to this resource.
createStudioComponent_name :: Lens' CreateStudioComponent Text Source #
The name for the studio component.
createStudioComponent_studioId :: Lens' CreateStudioComponent Text Source #
The studio ID.
createStudioComponent_type :: Lens' CreateStudioComponent StudioComponentType Source #
The type of the studio component.
Destructuring the Response
data CreateStudioComponentResponse Source #
See: newCreateStudioComponentResponse
smart constructor.
Constructors
CreateStudioComponentResponse' | |
Fields
|
Instances
newCreateStudioComponentResponse Source #
Create a value of CreateStudioComponentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:studioComponent:CreateStudioComponentResponse'
, createStudioComponentResponse_studioComponent
- Information about the studio component.
$sel:httpStatus:CreateStudioComponentResponse'
, createStudioComponentResponse_httpStatus
- The response's http status code.
Response Lenses
createStudioComponentResponse_studioComponent :: Lens' CreateStudioComponentResponse (Maybe StudioComponent) Source #
Information about the studio component.
createStudioComponentResponse_httpStatus :: Lens' CreateStudioComponentResponse Int Source #
The response's http status code.