LOS ANGELES — Taylor Swift was crowned artist of the year at the American Music Awards for a second time.

“This is so crazy!” the country superstar said after beat such contenders as Adele, Lady Gaga and Katy Perry to capture all three awards that she was nominated for at Sunday’s ceremony, including artist of the year, the show’s highest accolade that she previously claimed in 2009.

“I ended up writing the record by myself, so the fact that you would honor it this way, you have no idea what this means to me,” said Swift after winning the trophy for favorite country album for “Speak Now.” She was also awarded the prize for favorite country female artist.

Nicki Minaj, the pink-loving hip-hop diva, won two awards Sunday. She kicked off the 39th annual fan-favorite ceremony by sporting a pair of speakers on her much-talked about posterior and was later honored as favorite rap/hip-hop artist, besting a group that included mentor Lil Wayne, and won favorite rap/hip-hop album for “Pink Friday.”

“There’s so much love in this room,” beamed the pink-haired Minaj.

Adele had been the night’s leading nominee with four nods, but didn’t have much of a presence at the show: She was absent from the ceremony because she is recovering from recent throat surgery. Adele tied Swift with three awards: favorite pop/rock female artist, adult contemporary artist and pop/rock album for “21.”

Other winners included Maroon 5 as favorite pop-rock band/duo/group, Blake Shelton as favorite country male artist, Lady Antebellum as favorite country band/duo/group, Beyonce as favorite soul/R&B female artist, Rihanna for favorite soul/R&B album for “Loud” and Hot Chelle Rae as new artist of the year.

The ceremony inside the Nokia Theatre in an unusually rainy Los Angeles was drenched with 17 musical performances.

List of winners at the American Music Awards

— Adult Contemporary Artist: Adele

— Alternative Rock Artist: Foo Fighters

— Contemporary Inspirational Artist: Casting Crowns

— Country Female Artist: Taylor Swift

— Country Male Artist: Blake Shelton

— Country Band, Duo or Group: Lady Antebellum

— Country Album: Taylor Swift, “Speak Now”

— Latin Music Artist: Jennifer Lopez

— Pop/Rock Female Artist: Adele

— Pop/Rock Male Artist: Bruno Mars

— Pop/Rock Band, Duo or Group: Maroon 5

— Pop/Rock Album: Adele, “21”

— Rap/Hip-Hop Artist: Nicki Minaj

— Rap/Hip-Hop Album: Nicki Minaj, “Pink Friday”

— Soul/R&B Female Artist: Beyonce

— Soul/R&B Male Artist: Usher

— Soul/R&B Album: Rihanna, “Loud.”

— Artist of the Year: Taylor Swift

— New Artist of the Year: Hot Chelle Rae