Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Creates a signing profile. A signing profile is a code signing template that can be used to carry out a pre-defined signing job. For more information, see http://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html
Synopsis
- data PutSigningProfile = PutSigningProfile' {}
- newPutSigningProfile :: Text -> Text -> PutSigningProfile
- putSigningProfile_overrides :: Lens' PutSigningProfile (Maybe SigningPlatformOverrides)
- putSigningProfile_signingMaterial :: Lens' PutSigningProfile (Maybe SigningMaterial)
- putSigningProfile_signatureValidityPeriod :: Lens' PutSigningProfile (Maybe SignatureValidityPeriod)
- putSigningProfile_signingParameters :: Lens' PutSigningProfile (Maybe (HashMap Text Text))
- putSigningProfile_tags :: Lens' PutSigningProfile (Maybe (HashMap Text Text))
- putSigningProfile_profileName :: Lens' PutSigningProfile Text
- putSigningProfile_platformId :: Lens' PutSigningProfile Text
- data PutSigningProfileResponse = PutSigningProfileResponse' {
- arn :: Maybe Text
- profileVersion :: Maybe Text
- profileVersionArn :: Maybe Text
- httpStatus :: Int
- newPutSigningProfileResponse :: Int -> PutSigningProfileResponse
- putSigningProfileResponse_arn :: Lens' PutSigningProfileResponse (Maybe Text)
- putSigningProfileResponse_profileVersion :: Lens' PutSigningProfileResponse (Maybe Text)
- putSigningProfileResponse_profileVersionArn :: Lens' PutSigningProfileResponse (Maybe Text)
- putSigningProfileResponse_httpStatus :: Lens' PutSigningProfileResponse Int
Creating a Request
data PutSigningProfile Source #
See: newPutSigningProfile
smart constructor.
PutSigningProfile' | |
|
Instances
:: Text | |
-> Text | |
-> PutSigningProfile |
Create a value of PutSigningProfile
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:overrides:PutSigningProfile'
, putSigningProfile_overrides
- A subfield of platform
. This specifies any different configuration
options that you want to apply to the chosen platform (such as a
different hash-algorithm
or signing-algorithm
).
$sel:signingMaterial:PutSigningProfile'
, putSigningProfile_signingMaterial
- The AWS Certificate Manager certificate that will be used to sign code
with the new signing profile.
$sel:signatureValidityPeriod:PutSigningProfile'
, putSigningProfile_signatureValidityPeriod
- The default validity period override for any signature generated using
this signing profile. If unspecified, the default is 135 months.
$sel:signingParameters:PutSigningProfile'
, putSigningProfile_signingParameters
- Map of key-value pairs for signing. These can include any information
that you want to use during signing.
$sel:tags:PutSigningProfile'
, putSigningProfile_tags
- Tags to be associated with the signing profile that is being created.
$sel:profileName:PutSigningProfile'
, putSigningProfile_profileName
- The name of the signing profile to be created.
$sel:platformId:PutSigningProfile'
, putSigningProfile_platformId
- The ID of the signing platform to be created.
Request Lenses
putSigningProfile_overrides :: Lens' PutSigningProfile (Maybe SigningPlatformOverrides) Source #
A subfield of platform
. This specifies any different configuration
options that you want to apply to the chosen platform (such as a
different hash-algorithm
or signing-algorithm
).
putSigningProfile_signingMaterial :: Lens' PutSigningProfile (Maybe SigningMaterial) Source #
The AWS Certificate Manager certificate that will be used to sign code with the new signing profile.
putSigningProfile_signatureValidityPeriod :: Lens' PutSigningProfile (Maybe SignatureValidityPeriod) Source #
The default validity period override for any signature generated using this signing profile. If unspecified, the default is 135 months.
putSigningProfile_signingParameters :: Lens' PutSigningProfile (Maybe (HashMap Text Text)) Source #
Map of key-value pairs for signing. These can include any information that you want to use during signing.
putSigningProfile_tags :: Lens' PutSigningProfile (Maybe (HashMap Text Text)) Source #
Tags to be associated with the signing profile that is being created.
putSigningProfile_profileName :: Lens' PutSigningProfile Text Source #
The name of the signing profile to be created.
putSigningProfile_platformId :: Lens' PutSigningProfile Text Source #
The ID of the signing platform to be created.
Destructuring the Response
data PutSigningProfileResponse Source #
See: newPutSigningProfileResponse
smart constructor.
PutSigningProfileResponse' | |
|
Instances
newPutSigningProfileResponse Source #
Create a value of PutSigningProfileResponse
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:arn:PutSigningProfileResponse'
, putSigningProfileResponse_arn
- The Amazon Resource Name (ARN) of the signing profile created.
$sel:profileVersion:PutSigningProfileResponse'
, putSigningProfileResponse_profileVersion
- The version of the signing profile being created.
$sel:profileVersionArn:PutSigningProfileResponse'
, putSigningProfileResponse_profileVersionArn
- The signing profile ARN, including the profile version.
$sel:httpStatus:PutSigningProfileResponse'
, putSigningProfileResponse_httpStatus
- The response's http status code.
Response Lenses
putSigningProfileResponse_arn :: Lens' PutSigningProfileResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the signing profile created.
putSigningProfileResponse_profileVersion :: Lens' PutSigningProfileResponse (Maybe Text) Source #
The version of the signing profile being created.
putSigningProfileResponse_profileVersionArn :: Lens' PutSigningProfileResponse (Maybe Text) Source #
The signing profile ARN, including the profile version.
putSigningProfileResponse_httpStatus :: Lens' PutSigningProfileResponse Int Source #
The response's http status code.