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 |
Create a lens share.
The owner of a lens can share it with other Amazon Web Services accounts, IAM users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Shared access to a lens is not removed until the lens invitation is deleted.
Disclaimer
By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your custom lenses available to those other accounts. Those other accounts may continue to access and use your shared custom lenses even if you delete the custom lenses from your own Amazon Web Services account or terminate your Amazon Web Services account.
Synopsis
- data CreateLensShare = CreateLensShare' {}
- newCreateLensShare :: Text -> Text -> Text -> CreateLensShare
- createLensShare_lensAlias :: Lens' CreateLensShare Text
- createLensShare_sharedWith :: Lens' CreateLensShare Text
- createLensShare_clientRequestToken :: Lens' CreateLensShare Text
- data CreateLensShareResponse = CreateLensShareResponse' {
- shareId :: Maybe Text
- httpStatus :: Int
- newCreateLensShareResponse :: Int -> CreateLensShareResponse
- createLensShareResponse_shareId :: Lens' CreateLensShareResponse (Maybe Text)
- createLensShareResponse_httpStatus :: Lens' CreateLensShareResponse Int
Creating a Request
:: Text | |
-> Text | |
-> Text | |
-> CreateLensShare |
Create a value of CreateLensShare
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:
CreateLensShare
, createLensShare_lensAlias
- Undocumented member.
CreateLensShare
, createLensShare_sharedWith
- Undocumented member.
$sel:clientRequestToken:CreateLensShare'
, createLensShare_clientRequestToken
- Undocumented member.
Request Lenses
createLensShare_lensAlias :: Lens' CreateLensShare Text Source #
Undocumented member.
createLensShare_sharedWith :: Lens' CreateLensShare Text Source #
Undocumented member.
createLensShare_clientRequestToken :: Lens' CreateLensShare Text Source #
Undocumented member.
Destructuring the Response
data CreateLensShareResponse Source #
See: newCreateLensShareResponse
smart constructor.
CreateLensShareResponse' | |
|
Instances
newCreateLensShareResponse Source #
Create a value of CreateLensShareResponse
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:
CreateLensShareResponse
, createLensShareResponse_shareId
- Undocumented member.
$sel:httpStatus:CreateLensShareResponse'
, createLensShareResponse_httpStatus
- The response's http status code.
Response Lenses
createLensShareResponse_shareId :: Lens' CreateLensShareResponse (Maybe Text) Source #
Undocumented member.
createLensShareResponse_httpStatus :: Lens' CreateLensShareResponse Int Source #
The response's http status code.